-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
State level ads delivery #9200
Comments
Would it be possible to set at the city or county level as well? I occasionally get some ads for Chicago Cubs gear despite living in a different city. This is most likely caused by my use of a VPN. |
Not just yet @cwmke, we did a privacy analysis and right now, state is all we are comfortable with to keep large anonymity sets. But hopefully in the not too distant future as Brave grows. |
Verified passed using
Second attempt:
Third attempt:
Verification passed on
Second attempt:
Third attempt:
Verification is in progress
Second attempt:
Third attempt:
|
Verification passed on OnePlus 6T with Android 10 running 1.12.112 x64 build
|
Description
Some advertisers need to run their campaigns in specific states/provinces, either because what they are advertising is of regional interest, or because they are not allowed to sell items in specific states. After some extensive privacy analysis, we have determined we can run campaigns at state level in the United States, for most states (excluding Wyoming and territories for now) while keeping a very high anonymity set (k=1000).
Determining Location
Upon sign up for Brave Ads, and on exponentially random 24 hour time periods thereafter, the browser should call out to https://ads-serve.brave.com/v5/getstate and store the state and country code provided in its local store, example
{ “country_code”: “US”, “state_province_code”: “FL” }
Values will only be returned for either if it is in the given list provided in the above section. Otherwise, the value will be an empty string “”.
Ad Catalog Changes
The browser will read the new version of the catalog at /v5/catalog. This new version of the catalog will allow additional state levels in certain cases. If multiple targets are listed, the catalog will be eligible for any of the given geo-targets. Campaigns with specific geo-targeting defined will only be eligible to serve if the client has successfully defined a value for state and it matches.
`"geoTargets": [
{
"code": "US-FL",
"name": "United States-Florida"
}
]
`
New Settings
For browsers in the US, Brave Ads settings should have the ability to choose state, including the full list of 50 states. There should also be a setting for “Do not use state to determine ads”, which would result in no state level campaigns. Once a state is specifically set, it should not be updated by state endpoint.
The text was updated successfully, but these errors were encountered: