Google 广告 ID 退出机制

Google Advertising ID Opt Out Mechanism

在 Android 设备上,我相信您知道,用户可以选择退出基于兴趣的广告,可以从 Google 访问设置。

我刚刚在 Google Play Developer Programme Policies 上看到了这句话:

Usage. The Android advertising identifier must only be used for advertising and user analytics. The status of the “Opt-out of Interest-based Advertising” setting must be verified on each access of the ID.

接着说

Respecting users' selections. Upon reset, a new advertising identifier must not be connected to a previous advertising identifier or data derived from a previous advertising identifier without the explicit consent of the user. Furthermore, you must abide by a user’s “Opt out of Interest-based Advertising” setting. If a user has enabled this setting, you may not use the advertising identifier for creating user profiles for advertising purposes or for targeting users with interest-based advertising. Allowed activities include contextual advertising, frequency capping, conversion tracking, reporting and security and fraud detection.

我只想使用 AdMob 和其他广告网络展示广告。上述条款似乎 表明我有责任从我的代码中手动检查此选择退出设置,然后禁用基于兴趣的广告(如果它已启用)。

我真的需要主动自己检查吗?如果我确实需要,任何人都可以举例说明我是如何做到这一点的(以及我如何将我的广告网络设置为不使用基于兴趣的广告),因为我似乎无法在任何地方找到此信息。

我希望 Ad Netorks SDK 为我们开发人员完成所有这些工作?或者这些条款可能是针对广告网络本身的?

广告网络应该这样做。 AdMob 确实如此。

如果你想自己检查它,你首先需要通过调用 AdvertisingIdClient.getAdvertisingIdInfo() 获得一个 AdvertisingIdClient.Info 对象(不在主线程中)。 获得 Info 对象后,您可以调用 info.isLimitAdTrackingEnabled() 来检查用户的首选项。