Class ConsentSettings
Stay organized with collections
Save and categorize content based on your preferences.
User consent and privacy settings. These settings help PAL SDK make decisions about the
identifiers used while generating nonce signals.
| Properties |
forceLimitedAds
|
Whether to force limited ads mode for the ad request. |
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 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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-12 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-05-12 UTC."],[],[]]