Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在我的应用中使用 AdMob。我想知道如何在 admob SDK 中禁用 IDFA。是否有可能做到这一点?
Google 移动广告 SDK 的默认行为是提供个性化广告。如果用户已同意仅接收非个性化广告,您可以使用以下代码配置 AdRequest 对象以指定仅应请求非个性化广告:
AdRequest request = new AdRequest.Builder() .AddExtra("npa", "1") .Build();
它适用于 Unity,但您可以为您的平台找到解决方案。
https://developers.google.com/admob/unity/eu-consent