Skip to main content

Global Privacy Policy Support

Notes

  • Starting from version 6.1.0, parameters have been added to support global privacy policies such as GDPR and CCPA.
  • The user consent process must be completed prior to requesting an ad.

GDPR

  • To comply with the General Data Protection Regulation (GDPR), user consent must be obtained through the Consent Management Platform (CPM).
  • Through the IAB TCF v2.0 specifications, the SDK will automatically request the server for the information set in the CPM.

Setting Parameters

GfpSdk.setUserProperties(
GfpSdk.getUserProperties()
.buildUpon()
.childDirectedTreatment(true)
.underAgeOfConsent(true)
.build()
)
  • underAgeOfConsent (Tag For Under Age)

Indicates if an ad request is necessary for non-adult users.

  • childDirectedTreatment (Tag For Child Directed Treatment)

Indicates if a page or app should be treated as a child-directed service under the Children's Online Privacy Protection Act (COPPA)