高级设置 - GDPR/CCPA

GDPR

《通用数据保护条例》(GDPR) 将于 5 月 25 日在欧盟生效。为了遵守 GDPR,Vungle提供了如下方法。 The consentMessageVersion indicates publisher controlled consent policy version to allow publisher getting consent again when GDPR policy changes by pooling users by the message version.


// Usage example of GDPR API
// Vungle.Consent.OPTED_IN To set the user's consent status to opted in
Vungle.updateConsentStatus(Vungle.Consent.OPTED_IN, “1.0.0”);
// Vungle.Consent.OPTED_OUT To set the user's consent status to opted out
Vungle.updateConsentStatus(Vungle.Consent.OPTED_OUT, “1.0.0”);

// To find out what the user's current consent status is:
// This will return null if the GDPR Consent status has not been set
// Otherwise, it will return Vungle.Consent.OPTED_IN or Vungle.Consent.OPTED_OUT
Vungle.Consent currentStatus = Vungle.getConsentStatus();
String consentMessageVersion = Vungle.getConsentMessageVersion();

CCPA

2020年7月1日,California Consumer Privacy Act (CCPA)要求开发者遵守CCPA相关协议。这就要求开发者更新到SDK6.7.0。


// Usage example of CCPA API
// To allow Vungle use user's data, set the user's CCPA status to opted in:
Vungle.updateCCPAStatus(Consent.OPTED_IN);

// To  denied Vungle use user's data, set the user's CCPA status to opted out:
Vungle.updateCCPAStatus(Consent.OPTED_OUT);

// To find out what the user's current consent status is:
Consent currentCCPAStatus = Vungle.getCCPAStatus();
Powered by Creativity Driven by Performance Sign Up Here

Questions?

Need further assistance, feel free to reach out to us, we’re here to help!

这篇文章有帮助吗?