Class: ConsentSettings

  • ConsentSettings provides various privacy and regulation settings for the PAL SDK.

  • These settings help in making decisions about the identifiers used for generating nonce signals.

  • The allowStorage property indicates if PAL has consent to use identifiers and storage, which needs to be determined by integrating with a CMP for IAB TCFv2 compliance.

Constructor

ConsentSettings

new ConsentSettings()

Property

forceLimitedAds

public

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 TCF data set in a 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 purposes. When the app enables programmatic limited ads, the app might still use invalid traffic detection-only storage. For details, see GoogleAdManagerSettings.disableLimitedAdsStorage. For details on limited ads, see Limited ads and Limited ads and first party identifier settings.