Custom

data class Custom(val adUserData: AdConsentStatus = AdConsentStatus.Granted, val adPersonalization: AdConsentStatus = AdConsentStatus.Granted) : AdConsent(source)

Consent the app collected itself, which takes precedence over an IAB TCF consent banner.

  • adUserData: consent to send user data to ad networks for advertising.

  • adPersonalization: consent for them to use that data for personalized advertising.

Both default to AdConsentStatus.Granted.

Constructors

Link copied to clipboard
constructor(adUserData: AdConsentStatus = AdConsentStatus.Granted, adPersonalization: AdConsentStatus = AdConsentStatus.Granted)

Properties

Link copied to clipboard
Link copied to clipboard