Login
Welcome
Login

Privacy consent management (GDPR & CCPA)

Through the General Data Protection Regulation Policy (GDPR) applicable in the European economic area
and the California Consumer Privacy Act (CCPA)
and to support publishers in meeting their duties under this policy,
Teads inApp SDK offers different ways to provide the user consent during the ad server request.

CMP IAB Compliant

If you have a consent management platform (CMP) compliant with the IAB GDPR specifications
and IAB CCPA specifications, good news,
Teads inApp SDK is able to recover the user status and consent by itself through the iOS UserDefaults.

GDPR

TCFv1

Make sure that IABConsent_SubjectToGDPR and IABConsent_ConsentString are correctly implemented.

TCFv2

Make sure all these keys are correctly implemented:

  • IABTCF_CmpSdkID
  • IABTCF_gdprApplies
  • IABTCF_TCString
  • IABTCF_PolicyVersion

CCPA

Make sure that IABUSPrivacy_String is correctly implemented.

CMP Non IAB Compliant

If your CMP is not IAB compliant (or not installed), you'll need to manually provide the status and user consent at every load of an Ad.

GDPR

Use the userConsent method in the TeadsAdPlacementSettings Builder.

TCFv1

The param subjectToGDPR should be:

  • 1 if the traffic or the publisher is in the EEA (European Economic Area),
  • 0 if it is not, null if it's unknown.
let teadsAdPlacementSettings = TeadsAdPlacementSettings { settings in
    settings.userConsent(subjectToGDPR: self.subjectToGDPR, consent: self.consent) // The user consent following the IAB specifications :https://github.com/InteractiveAdvertisingBureau/GDPR-Transparency-and-Consent-Framework/blob/master/Mobile%20In-App%20Consent%20APIs%20v1.0%20Final.md
}

TCFv2

The param subjectToGDPR should be:

  • 1 if the traffic or the publisher is in the EEA (European Economic Area),
  • 0 if it is not, null if it's unknown.
let teadsAdPlacementSettings = TeadsAdPlacementSettings { settings in
    settings.userConsent(subjectToGDPR: self.subjectToGDPR, consent: self.consent, .v2, self.cmpSdkId) // The user consent following the IAB specifications :https://github.com/InteractiveAdvertisingBureau/GDPR-Transparency-and-Consent-Framework/blob/master/TCFv2/IAB%20Tech%20Lab%20-%20CMP%20API%20v2.md
}

CCPA

Use the setUsPrivacy method in the TeadsAdPlacementSettings Builder:

let teadsAdPlacementSettings = TeadsAdPlacementSettings { settings in
    settings.setUsPrivacy(consent: yourUsPrivacyString) // e.g. 1YNN
}

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.