Global Privacy Policy
info
- Starting from NAM SDK 6.1.0, parameters have been added to support global privacy policies such as GDPR and CCPA.
- Starting from NAM SDK 8.12.0, GPP (Global Privacy Platform) is supported.
- The user consent process must be completed before making an ad request.
GDPR
- To comply with GDPR (General Data Protection Regulation), you must obtain user consent through a CMP (Consent Management Platform).
- The SDK will automatically request the information set in the CMP from the server based on the IAB TCF v2.0 specification.
GPP (Global Privacy Platform)
Starting from NAM SDK 8.12.0, the IAB GPP specification is supported. The SDK automatically reads GPP values stored in SharedPreferences by the CMP and sends them to the server.
| SharedPreferences Key | Description |
|---|---|
IABGPP_HDR_GppString | GPP String |
IABGPP_GppSID | GPP Section ID |
info
GPP values are automatically read and processed by the SDK once the CMP stores them in SharedPreferences, so no separate API call is required.
COPPA Example Configuration
- Kotlin
- Java
GfpSdk.setUserProperties(
GfpSdk.getUserProperties()
.buildUpon()
.childDirectedTreatment(true)
.underAgeOfConsent(true)
// ... Set other user information such as gender, country, etc.
.build()
)
GfpSdk.setUserProperties(
GfpSdk.getUserProperties()
.buildUpon()
.childDirectedTreatment(true)
.underAgeOfConsent(true)
// ... 성별 국가 등 기타 유저 정보 설정
.build()
);
- underAgeOfConsent (Tag For Under Age)
Indicates whether ad requests are for users who are not adults.
- childDirectedTreatment (Tag For Child Directed Treatment)
Indicates whether the page or app should be treated as a child-directed service under the Children's Online Privacy Protection Act (COPPA).