Class: ConsentSettings
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
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.
ConsentSettings
classpublic
Various settings to the PAL SDK related to privacy and regulations. The
settings can help make decisions about the choice regarding the identifiers
used while generating nonce signals.
Constructor
ConsentSettings
new
ConsentSettings()
Property
allowStorage
boolean
Whether PAL has purpose 1 consent to use identifiers and storage. The
value needs to be determined by integrating with CMP (Consent Management
Provider). This is set to false by default. If specified as true, PAL has
consent from the user to use information like cookies, device IDs
and advertising IDs. This value needs to be set to be IAB TCFv2
(Transparency and Consent Framework) compliant.
[[["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 2025-08-20 UTC."],[],["The `ConsentSettings` class in the PAL SDK manages privacy and regulation settings, particularly regarding identifier usage for nonce signal generation. It includes a `allowStorage` property, a boolean that defaults to `false`. Setting `allowStorage` to `true` indicates user consent for PAL to utilize identifiers like cookies, device IDs, and advertising IDs, and is required for IAB TCFv2 compliance. This consent should be determined via integration with a Consent Management Provider (CMP).\n"]]