选择用于通知的 CPID
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
向用户发送方案状态通知时,必须考虑以下因素:
- 用户的 CPID 是否已向 GTAF 注册?在 CPID 向 GTAF 注册之前,GTAF 不知道该 CPID,因此无法发送针对该 CPID 推送的通知。
- 用户是否已同意 DPA 与 GTAF 分享方案状态信息?
如注册 CPID 部分中所述,GTAF 仅代表条款允许其这样做的客户注册 CPID。这意味着,CPID 的注册符合 Google Play 服务中移动数据流量方案模块的意见征求要求。
当 DPA 从后端收到有关用户方案状态发生变化的触发信号时,可以使用以下方法之一来查找用于发送通知的 CPID:
- 使用用户的最新注册 CPID。
- 如果用户已表示同意,则使用用户最新注册的 CPID。
- 使用最新生成的 CPID。
已注册的 CPID
DPA 会查找最新注册的 CPID,并使用该 CPID 发送通知。如果 DPA 选择此方法,则必须实现 Register CPID API 并存储每个用户的最新注册 CPID。请注意,GTAF 只会注册符合 Google Play 服务中“移动数据流量方案”模块服务条款的 CPID。
已表示同意的用户的注册 CPID
DPA 会查找最新注册的 CPID,并且仅在用户已授予同意声明的情况下发送通知。如果 DPA 选择此方法,则必须实现 Register CPID 和 Consent API,并存储每个用户的最新注册 CPID 和同意情况。
最新生成的 CPID
DPA 可以存储每个用户的最新生成的 CPID,并使用该 CPID 向用户发送通知。这是最不理想的方法,因为这会涉及向可能已同意或可能未同意客户条款的所有用户发送通知,并使用可能未纳入 GTAF 的 CPID。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-26。"],[],["To send plan status notifications, the DPA must consider if the user's CPID is registered with GTAF and if the user consented to share plan status. The DPA can use the latest registered CPID, but this requires implementing the CPID registration API. Alternatively, they can use the registered CPID only for users who granted consent, requiring both CPID registration and consent APIs. A less desirable method is using the latest generated CPID.\n"]]