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.
If you use the SDK to set a maximum ad content rating for each ad request, that rating will override any rating set in the AdMob user interface.
For example, if the maximum ad content rating in the SDK is set to T, and the maximum ad content rating in AdMob is set to PG, the ad content will include ads rated T.
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. These settings will override any existing app-level or account-level maximum ad content rating settings.
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.
Tag 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 Google Developers instructions to implement max_ad_content_rating in your ad requests: