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

Global ad audio muting. Null = unspecified.

Link copied to clipboard

Global ad audio volume (0.0–1.0). Null = use system volume.

Link copied to clipboard

Maximum ad content rating filter.

Link copied to clipboard

Enable publisher first-party ID. Null = unspecified.

Link copied to clipboard
Link copied to clipboard

Test device IDs that receive test ads.