我刚刚收到来自 Google 的电子邮件:
有关加州消费者隐私法 (CCPA) 的重要更新
基本上,这是the GDPR
欧洲规则的精简版,但对于加利福尼亚居民来说,它将开始使用Jan 1, 2020
。谷歌说:
以下产品需要采取措施才能启用受限数据处理:AdMob
当我点击AdMob 链接时,它显示:
一些出版商可能会选择不在其财产上显示“请勿出售我的个人信息”链接。
或者,其他出版商可能会选择显示“请勿出售我的个人信息”链接
使用Google GDPR 同意书 SDK让我的生活变得非常轻松。sdk 可以使用以下代码确定用户是否在 GDPR 区域内:
import PersonalizedAdConsent
PACConsentInformation.sharedInstance.debugGeography = .EEA
if PACConsentInformation.sharedInstance.isRequestLocationInEEAOrUnknown { ... }
如果用户在该区域内,我可以向他们展示以下表格:
iOS 页面的 CCPA 代码说要添加此代码:
let request = DFPRequest()
let adNetworkExtras = GADExtras()
adNetworkExtras.additionalParameters = [ "rdp" : "1" ]
request.register(adNetworkExtras)
我可以通过是/否选项向用户显示“请勿出售我的个人信息”的警报,如果他们想退出,则设置上述代码。与 GDPR 同意书不同,这里的大问题是确定用户是否是CA 州居民。
The law establishes various rights for California state residents. I only want to present the form to users who are California state residents but there is a dilemma.
1- the user is located IN CA and IS a CA state resident (present them the alert)
2- the user is located OUTSIDE CA and IS a CA state resident (present them the alert)
3- the user is located IN CA and IS NOT a CA state resident (don't present anything)
4- the user is located OUTSIDE CA and IS NOT a CA state resident (don't present anything)
How can I determine if the user is located in CA vs them being a resident of CA so I know who to present the “Do Not Sell My Personal Information” alert to?
These are 4 very real situations that I cannot figure out how to parse.