Functionality
The function setSignedLSPA
is used to signal that the publisher has signed the Limited Service Provider Agreement (LSPA) from the IAB. AdConsent uses this signal to reflect the signature in the CCPA consent string.
Syntax
function adconsent.ccpa()
argument name | type | optional | value | description |
---|---|---|---|---|
command | string |
| ||
parameter | boolean |
| True if the publisher has signed the LSPA, false otherwise. | |
callback | function | ✔️ |
| The callback function that is called with the function call result. |
parameter
This should be set to true
if the publisher has signed the LSPA. The default value, as well as the default configuration for this option is false
.
Description
If a publisher has signed the Limited Service Provider Agreement from the IAB, it should signal it in AdConsent through the configuration function setSignedLSPA
. AdConsent then sets the according consent flags in order to reflect them in the CCPA consent string.
Scope
The function must be called before AdConsent starts. Calls after AdConsent has started will be ignored.
Example
Setting LSPA status to 'signed'
adconsent.ccpa('setSignedLSPA', true);