Interface RequestConfiguration

Global configuration used for every ad request.
Properties
ageRestrictedTreatment?
The age-restricted treatment configuration.
maxAdContentRating?
The maximum ad content rating.
publisherPrivacyPersonalizationState?
The publisher privacy treatment personalization state.
testDeviceIds?
A list of test device IDs corresponding to test devices that always request test ads.

Properties


Optional Readonly ageRestrictedTreatment

ageRestrictedTreatment?: AgeRestrictedTreatment
The age-restricted treatment configuration.

Consult your own legal counsel to determine the age treatment settings for your users based on your legal and regulatory requirements. For more information about this setting, see Set the age treatment.

Warning: By setting this property, you certify that this notification is accurate and you're authorized to act on behalf of the owner of the app. You understand that abuse of this setting can result in termination of your Google account.

Optional Readonly maxAdContentRating

maxAdContentRating?: MaxAdContentRating
The maximum ad content rating. Ads returned for your app have a content rating at or below that level.

Optional Readonly publisherPrivacyPersonalizationState

publisherPrivacyPersonalizationState?: PublisherPrivacyPersonalizationState
The publisher privacy treatment personalization state.

Optional Readonly testDeviceIds

testDeviceIds?: readonly string[]
A list of test device IDs corresponding to test devices that always request test ads.

The test device ID for the current device is logged when the first ad request is made.