AdMob EU Consent Error: consent form can be used with custom provider selection only

AdMob EU Consent Error: consent form can be used with custom provider selection only

我是 android 的 Google consent SDK,我已执行 documentation 中列出的所有步骤。当我加载表单时,我在 onConsentFormError 中收到此错误:

同意书只能用于自定义提供商选择。

我在 AdMob 控制台上选择了一组常用的广告技术提供商

所以我的问题是:

1.对于此选项,我需要征得用户的同意吗? 根据 Google 开发者网站上的文档:

Important: The Google-rendered consent form is not supported if any of your publisher IDs use the commonly used set of ad technology providers. Attempting to load the Google-rendered consent form will always fail in this case.

我是否可能因为上述限制而收到此错误消息?

2。如果我必须征得同意,在这种情况下该怎么办?我应该显示我自己的自定义同意对话框还是什么?

您的选项有误,要使用 consent sdk,您必须选择选项 "Custom set..." 并选择 12 或以下,因为 sdk 不支持超过 12 个提供商。阅读更多 https://developers.google.com/admob/android/eu-consent

我今天也在处理这个 GDPR 的烂摊子,并设法让 Google 呈现的表格显示出来,如下所示:

根据我目前的理解,您可以使用 Google-呈现形式的唯一情况是:

  1. 使用自定义广告技术提供商集
  2. 并且不要使用中介

否则你需要自己渲染一个对话框来征求同意,我决定不这样做,因为根据我的感觉,大多数最终用户在处理AD相关问题时都会做出否定选择,所以我觉得直接设置为非个性化广告在某种程度上比用大量文本和不可取消的对话框打扰用户要好。

您需要 select 最多 12 个 AdMob 欧盟用户同意的提供商。您可以在 GitHub 线程的 this 上阅读更多相关信息。

您可以从 600 个中选择这 12 个作为开始,然后调整它们以获得更多收入

所以实际上,如果广告提供者的数量超过 11,那么我们就不能使用 Admob 同意书。所以我们要么只选择 12 个自定义广告提供者,要么创建我们自己的自定义对话框。或者使用某种库做同样的...

如果需要,您可以使用这个简单的库来生成自定义同意书,这样可以简化事情

https://github.com/saiakhil90/ConsentDialog