When you use the SDK to set the maximum ad content rating, you’re setting it on a per-request basis. This means you can customize the ad experience for different segments within your audience.
Use max_ad_content_rating for ad requests
When a user generates an ad request in your app, you can apply the max_ad_content_rating setting to the request to specify the maximum content rating of the ads used to fill it. This means that the digital content label of the ad used to fill the request should be limited to ads that are at or below the specified maximum content rating.
Examples
- An ad request with a max_ad_content_rating set to T could be filled with ads labeled T, PG, or G.
- An ad request with a max_ad_content_rating set to G could only be filled by ads labeled G.
Tagging ad requests
The digital content label of the ads shown in your app can also be affected by the other ways in which the requests are tagged. Each tag has its own default value. Regardless of the max_ad_content_rating, an ad request won’t be filled with an ad above the default value.
If the request is from an app in | The default value is | The available values for max_ad_content_rating are |
---|---|---|
Families (primarily child-directed) |
G | G |
Families (mixed audience) |
PG | G, PG |
Not tagged/default | MA | G, PG, T, MA |
Implementation
Review the instructions on the Google Developers site to implement max_ad_content_rating in your ad requests: