AdConsent

sealed class AdConsent(source)

The user's consent for ad measurement, forwarded with the conversions Superwall uploads to Google Ads and Meta.

Inheritors

Types

Link copied to clipboard
data class Custom(val adUserData: AdConsentStatus = AdConsentStatus.Granted, val adPersonalization: AdConsentStatus = AdConsentStatus.Granted) : AdConsent

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

Link copied to clipboard

The app hasn't set consent. The SDK uses the consent stored by an IAB TCF consent banner when GDPR applies, and otherwise reports both as AdConsentStatus.Granted.