Class ConsentSettings

User consent and privacy settings. These settings help PAL make decisions about the identifiers used while generating nonce signals.
Constructors
constructor
Properties
forceLimitedAds
Whether to force limited ads mode for the ad request.

Constructors


constructor

new ConsentSettings(): ConsentSettings
Returns
ConsentSettings

Properties


forceLimitedAds

forceLimitedAds: boolean
Whether to force limited ads mode for the ad request. When unset or set to a false value, PAL determines the limited ads status from Transparency & Consent Framework (TCF) data set in a Consent Management Platform (CMP). When set to the true value, PAL uses limited ads mode regardless of TCF signals. In limited ads mode, PAL doesn't store, access, or send user identifiers for ad serving. When the app enables programmatic limited ads, the app might still use invalid traffic detection-only storage. For details on limited ads, see Limited ads.