ads/ads_privacy library
Classes
- AdsConsentClient
- Small abstraction around UMP so consent decisions are testable without a platform channel. Most applications never need to implement this type.
- AdsConsentManager
- Coordinates UMP and exposes the safe decision used by AdsService.
- AdsConsentOptions
- Configuration for Google's UMP consent flow.
- AdsPolicyOptions
- Optional global request restrictions for the Google Mobile Ads SDK.
- GoogleAdsConsentClient
- UMP-backed implementation used by AdsConsentManager.
Enums
- AdsAgeTreatment
- The age treatment applied to future ad requests.
- AdsConsentDebugGeography
- Debug geographies supported by Google's User Messaging Platform (UMP).
- AdsConsentStatus
- Consent status exposed without requiring callers to depend on UMP types.
- AdsMaxAdContentRating
- Maximum ad content rating allowed for future ad requests.
Exceptions / Errors
- AdsConsentException
- Error raised by the package's UMP adapter.