Skip to content

[ads] Add enable Sponsored Ads setting to privacy settings on iOS - #39419

Open
aseren wants to merge 1 commit into
masterfrom
issues/57204-sponsored_ads_toggle_ios
Open

[ads] Add enable Sponsored Ads setting to privacy settings on iOS#39419
aseren wants to merge 1 commit into
masterfrom
issues/57204-sponsored_ads_toggle_ios

Conversation

@aseren

@aseren aseren commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

The PR adds an Enable Sponsored Ads toggle to the Other privacy settings section of Brave Shields & Privacy settings page on iOS.

Screenshot of "Brave Shields & Privacy" settings page on iOS:
image

The PR adds an `Enable Sponsored Ads` toggle to the
`Other privacy settings` section of `Brave Shields & Privacy`
settings page on iOS.
title: Strings.Settings.sponsoredAdsEnabledTitle,
subtitle: Strings.Settings.sponsoredAdsEnabledDescription,
toggle: Binding(
get: { Preferences.NewTabPage.backgroundMediaType.isSponsored },

@aseren aseren Aug 26, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Preferences.NewTabPage.backgroundMediaType is a Swift preference which controls brave_ads.sponsored.enabled chromium pref under the hood.
I will migrate it to a new Preferences.SponsoredAds.enabled Swift preference in a follow-up.

@kylehickinson

Copy link
Copy Markdown
Collaborator

This doesn't seem like a good place for this preference

@aseren

aseren commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator Author

This doesn't seem like a good place for this preference

@kylehickinson, for desktop it is added to "Data collection" section of Privacy settings, along with P3A, diagnostic report and daily usage ping which are placed under Other privacy settings on iOS. The current PR places new preference to the same section.

Corresponding section in spec: https://docs.google.com/document/d/1AVrttOOaUe3jCbW9qqVVflAbq5A3KrXONPdyENAEb4o/edit?tab=t.2vdgigrj6db2#heading=h.yh5idlhcvlzn

Desktop looks like:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants