问题描述
I am currently using Google's (deprecated) consent-library to request consent for personalized ads from European users. The documentation specifies that if a user's consent status is already set to PERSONALIZED or NON_PERSONALIZED, you can forward consent to the Google Mobile Ads SDK with:
Bundle extras = new Bundle();
extras.putString("npa", "1");
AdRequest request = new AdRequest.Builder()
.addNetworkExtrasBundle(AdMobAdapter.class, extras)
.build();
Now I want to migrate to the new Unified Messaging Platform SDK for Android. The documentation is pretty straightforward, but it only explains how to get consent, not how to use the consent. Does this mean that when using the new UMP SDK for Android, we no longer have to set the "npa"
is "1"
when requesting an AdMob ad for a user that did not consent to personalized ads?
EDIT 25 Aug 2020
Yesterday I found this conversation where somebody from the Mobile Ads SDK team responded to the same question I asked here. He says that:
The legacy "Passing of consent" through npa=1 will be honored by our SDK until further notice.
EDIT 31 Aug 2020
I started a new conversation where I ask the same question as the one in this post, but I am not getting any response.
With the new Unified Messaging Platform, Google is working as a Consent Managing Platform. These CMP's use a TCF string to store the user consent preferences. Google checks this TCF string to see which ads can be shown;
As per the Google documentation:
Google will serve personalized ads when all of the following criteria are met:
- The end user grants Google consent to Store and/or access information on a device
- Create a personalized ads profile
- Select personalized ads
And legitimate interest (or consent, where a publisher configures their CMP to request it) is established for Google to:
- Select basic ads
- Measure ad performance
- Apply market research to generate audience insights
- Develop and improve products
If the consent requirements for personalized ads are not met, Google will serve non-personalized ads when all of the following criteria are met:
- Store and/or access information on a device
Legitimate interest (or consent, where a publisher configures their CMP to request it) is established for Google to:
- Select basic ads
Measure ad performanceApply market research to generate audience insightsDevelop and improve products- Enable Google in the vendor list.
Update 20 October: Apparently 3,4,5 are not needed anymore to show non-personal ads SO @Georg for providing this information.
If none of the conditions above are met Google won't be showing ads..
I hope this answers your question but if you need more information please let me know!
这篇关于如何使用新的 Android 统一消息平台 SDK 请求非个性化 AdMob 广告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!