RequestConfiguration
The RequestConfiguration class aggregates global ad request settings applied to every ad load.
Constants
Device ID Emulator
Use this constant to enable test ads on emulators.
Max Ad Content Ratings
Configure content filters for ads loaded by the app.
RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIEDRequestConfiguration.MAX_AD_CONTENT_RATING_GRequestConfiguration.MAX_AD_CONTENT_RATING_PGRequestConfiguration.MAX_AD_CONTENT_RATING_TRequestConfiguration.MAX_AD_CONTENT_RATING_MA
RequestConfiguration.MaxAdContentRatingUnspecifiedRequestConfiguration.MaxAdContentRatingGRequestConfiguration.MaxAdContentRatingPGRequestConfiguration.MaxAdContentRatingTRequestConfiguration.MaxAdContentRatingMA
Properties
max_ad_content_rating / MaxAdContentRating
The maximum ad content rating allowed for ads served to the app.
tag_for_child_directed_treatment / ChildDirectedTreatment
Configures the child-directed treatment setting for COPPA compliance.
tag_for_under_age_of_consent / UnderAgeOfConsent
Configures the under age of consent setting for GDPR compliance.
test_device_ids / TestDeviceIds
A list of test device IDs to receive test ads.