Consent Management
Boldwin SDK retrieves consent data from CMPs stored in User Defaults and includes it in the ad request. Alternatively,
these values can be set directly using the corresponding API in the BoldwinSDK core class.
| Storage Key | Description | ORTB | |
|---|---|---|---|
| TCF v2 | |||
IABTCF_gdprApplies |
Number: 1 = GDPR applies, 0 = GDPR does not apply, Unset = unknown | regs.ext.gdpr |
|
IABTCF_TCString |
Full encoded TCF consent string | user.ext.consent |
|
IABTCF_PurposeConsents |
Binary string: each index n = consent for purpose ID n+1 | SDK device data collection permission | |
| CCPA | |||
IABUSPrivacy_String |
Encoded string per IAB CCPA standard | regs.ext.us_privacy |
|
| GPP | |||
IABGPP_HDR_GppString |
Full encoded consent string | regs.gpp |
|
IABGPP_GppSID |
Active section IDs, joined by underscore (e.g., "2_3") | regs.gpp_sid |