-
Notifications
You must be signed in to change notification settings - Fork 885
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement state level ads delivery #5602
Conversation
6d4d418
to
6a4e169
Compare
components/services/bat_ads/public/cpp/ads_client_mojo_bridge.cc
Outdated
Show resolved
Hide resolved
components/services/bat_ads/public/cpp/ads_client_mojo_bridge.cc
Outdated
Show resolved
Hide resolved
components/services/bat_ads/public/cpp/ads_client_mojo_bridge.cc
Outdated
Show resolved
Hide resolved
components/services/bat_ads/public/cpp/ads_client_mojo_bridge.cc
Outdated
Show resolved
Hide resolved
vendor/bat-native-ads/src/bat/ads/internal/country_subdivision.cc
Outdated
Show resolved
Hide resolved
vendor/bat-native-ads/src/bat/ads/internal/country_subdivision.h
Outdated
Show resolved
Hide resolved
.../src/bat/ads/internal/frequency_capping/exclusion_rules/country_subdivision_frequency_cap.cc
Outdated
Show resolved
Hide resolved
a3ec561
to
38d3c38
Compare
311c519
to
b69174c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't see a filter to prevent WY targeting. Is that because the filter is actually on the Ads Platform side? (i.e. we don't create campaigns with WY-level targeting)
Also, are the two state-selection UI preferences visible to users outside of the USA?
vendor/bat-native-ads/src/bat/ads/internal/country_subdivision.h
Outdated
Show resolved
Hide resolved
228132f
to
59e6ba7
Compare
a5dfb29
to
9814678
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving for Moritz for my work and for me for Moritiz work
7fa920d
to
22fed70
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rewards code looks good
@@ -66,6 +66,82 @@ class AdsBox extends React.Component<Props, State> { | |||
) | |||
} | |||
|
|||
getAdsSubdivisions = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anyway we can merge this the getAdsSubdivisions()
method in components/brave_rewards/resources/android_page/components/adsBox.tsx
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have just seen this, and in a future update we will move the list from adsBox to the ads lib. Thanks
d60e7f5
to
d2a91f5
Compare
Resolves brave/brave-browser#9200
Submitter Checklist:
npm run lint
)git rebase master
(if needed).git rebase -i
to squash commits (if needed).Test Plan:
Reviewer Checklist:
After-merge Checklist:
changes has landed on.