PIPL 合规性
从 2021 年 11 月 1 日起,中国个人信息保护法 (PIPL) 政策将对中国大陆的用户实施。
实施 Unity 的内置同意解决方案
建议的最佳实践是更新到最新版本的 Unity Ads SDK,但这不是必需的,但这不是 PIPL 合规性所必需的。
旧版本(早于 2.0 版本)的 SDK 现在只向用户提供情境广告,严格基于地理位置和应用内操作。
SDK 版本 2.0 及更高版本会自动为受影响的用户提供一个机会,让他们选择加入定向广告,发布者无需进行任何实施。在每个应用的基础上,Unity 广告首次显示时,横幅将提供选择加入行为定向广告的选项。此后,用户可以选择信息按钮来管理其隐私选择。
实施自定义同意解决方案
如果发布者或中介手动要求用户选择加入,方法是让其帐户管理员在 Unity Ads 货币化仪表盘 中启用“开发者同意”,则 Unity 选择加入将不会出现。
Note: that users can still request opt-out or data deletion, and access their data at any time by tapping the Unity Data Privacy icon when or after an ad appears.
使用开发者同意 API 实施自定义同意
使用以下 API 将适当的同意标志传递给 Unity Ads SDK
Unity (C#)
// If the user opts in to sending their personal identifiable information outside of China:
MetaData piplMetaData = new MetaData("pipl");
piplMetaData.Set("consent", "true");
Advertisement.SetMetaData(piplMetaData);
// If the user opts in to targeted advertising:
MetaData privacyMetaData = new MetaData("privacy");
privacyMetaData.Set("consent", "true");
Advertisement.SetMetaData(privacyMetaData);
// If the user opts out of sending their personal identifiable information outside of China:
MetaData piplMetaData = new MetaData("pipl");
piplMetaData.Set("consent", "false");
Advertisement.SetMetaData(piplMetaData);
// If the user opts out of targeted advertising:
MetaData privacyMetaData = new MetaData(this);
privacyMetaData.set("privacy.consent", false);
privacyMetaData.commit();
Note: You must commit the changes to the MetaData
object for each value before trying to set another value. You must also provide consent for sending a user's personal identifiable information outside of China and to targeted advertising for PIPL. The second parameter is an object (a string in this example); using a boolean value will result in an error.
iOS (Objective-C)
// If the user opts in to sending their personal identifiable information outside of China:
UADSMetaData *piplConsentMetaData = [[UADSMetaData alloc] init];
[piplConsentMetaData set:@"pipl.consent" value:@YES];
[piplConsentMetaData commit];
// If the user opts in to targeted advertising:
UADSMetaData *privacyConsentMetaData = [[UADSMetaData alloc] init];
[privacyConsentMetaData set:@"privacy.consent" value:@YES];
[privacyConsentMetaData commit];
// If the user opts out of sending their personal identifiable information outside of China:
UADSMetaData *piplConsentMetaData = [[UADSMetaData alloc] init];
[piplConsentMetaData set:@"pipl.consent" value:@NO];
[piplConsentMetaData commit];
// If the user opts out of targeted advertising:
UADSMetaData *privacyConsentMetaData = [[UADSMetaData alloc] init];
[privacyConsentMetaData set:@"privacy.consent" value:@NO];
[privacyConsentMetaData commit];
Note: You must commit the changes to the MetaData
object for each value before trying to set another value. You must also provide consent for sending their personal identifiable information outside of China and to targeted advertising for PIPL.
Android (Java)
// If the user opts in to sending their personal identifiable information outside of China:
MetaData piplMetaData = new MetaData(this);
piplMetaData.set("pipl.consent", true);
piplMetaData.commit();
// If the user opts in to targeted advertising:
MetaData privacyMetaData = new MetaData(this);
privacyMetaData.set("privacy.consent", true);
privacyMetaData.commit();
// If the user opts out of sending their personal identifiable information outside of China:
MetaData piplMetaData = new MetaData(this);
piplMetaData.set("pipl.consent", false);
piplMetaData.commit();
// If the user opts out of targeted advertising:
MetaData privacyMetaData = new MetaData(this);
privacyMetaData.set("privacy.consent", false);
privacyMetaData.commit();
Note: You must commit the changes to the MetaData for each value before trying to set another value. You must also provide consent for sending their personal identifiable information outside of China and to targeted advertising for PIPL.
处理不采取行动
如果用户没有采取任何行动来同意或不同意定向广告(例如,关闭提示),Unity 建议稍后再次提示他们。
访问 Unity 的法律网站,以获取有关 Unity 对 PIPL 的方法 的更多信息。