Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
ConsentSettings
classepubblica
Varie impostazioni dell'SDK PAL relative a privacy e normative. Le
impostazioni possono aiutare a prendere decisioni sulla scelta degli identificatori
utilizzati durante la generazione di indicatori nonce.
Costruttore
ConsentSettings
new
ConsentSettings()
Proprietà
allowStorage
boolean
Indica se la PAL ha il consenso per lo scopo 1 per l'utilizzo di identificatori e archiviazione. Il valore deve essere determinato mediante l'integrazione con la CMP (fornitore di servizi di gestione del consenso). Il valore predefinito è false. Se specificato come true, PAL ha
il consenso dell'utente a utilizzare informazioni come i cookie, gli ID dispositivo
e gli ID pubblicità. Questo valore deve essere impostato per essere conforme alla versione 2 del TCF di IAB (Transparency and Consent Framework).
[null,null,["Ultimo aggiornamento 2025-08-21 UTC."],[[["\u003cp\u003e\u003ccode\u003eConsentSettings\u003c/code\u003e manages privacy and regulation options within the PAL SDK, influencing identifier choices for nonce signals.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eallowStorage\u003c/code\u003e property, defaulting to false, dictates whether PAL has user consent (requiring CMP integration and IAB TCFv2 compliance) to utilize identifiers like cookies and device/advertising IDs for data storage.\u003c/p\u003e\n"]]],[],null,["# Class: ConsentSettings\n\nConsentSettings\n===============\n\nclass public\n\nVarious settings to the PAL SDK related to privacy and regulations. The\nsettings can help make decisions about the choice regarding the identifiers\nused while generating nonce signals.\n\nConstructor\n-----------\n\n### ConsentSettings\n\nnew\nConsentSettings()\n\nProperty\n--------\n\n### allowStorage\n\nboolean\n\nWhether PAL has purpose 1 consent to use identifiers and storage. The\nvalue needs to be determined by integrating with CMP (Consent Management\nProvider). This is set to false by default. If specified as true, PAL has\nconsent from the user to use information like cookies, device IDs\nand advertising IDs. This value needs to be set to be IAB TCFv2\n(Transparency and Consent Framework) compliant."]]