GlobalRequestConfiguration
data class GlobalRequestConfiguration(val testDeviceIds: List<String> = emptyList(), val maxAdContentRating: MaxAdContentRating = MaxAdContentRating.Unspecified, val ageRestrictedTreatment: AgeRestrictedTreatment = AgeRestrictedTreatment.Unspecified, val publisherPrivacyPersonalizationState: PublisherPrivacyPersonalizationState = PublisherPrivacyPersonalizationState.Default, val publisherFirstPartyIdEnabled: Boolean? = null, val appMuted: Boolean? = null, val appVolume: Float? = null)(source)
Global request configuration applied to every ad request made through the SDK. Fields mirror the GMA SDK request configuration.
Constructors
Link copied to clipboard
constructor(testDeviceIds: List<String> = emptyList(), maxAdContentRating: MaxAdContentRating = MaxAdContentRating.Unspecified, ageRestrictedTreatment: AgeRestrictedTreatment = AgeRestrictedTreatment.Unspecified, publisherPrivacyPersonalizationState: PublisherPrivacyPersonalizationState = PublisherPrivacyPersonalizationState.Default, publisherFirstPartyIdEnabled: Boolean? = null, appMuted: Boolean? = null, appVolume: Float? = null)
Properties
Link copied to clipboard
Age treatment applied to all GMA ad requests.
Link copied to clipboard
Maximum ad content rating filter.
Link copied to clipboard
Enable publisher first-party ID. Null = unspecified.
Link copied to clipboard
Publisher privacy personalization state.
Link copied to clipboard
Test device IDs that receive test ads.