When to serve non-personalized ads? (UMP)

358 views
Skip to first unread message

Mobile K

unread,
Dec 17, 2022, 5:18:08 AM12/17/22
to Google Mobile Ads SDK Developers
Hi team,
When working with UMP (iOS), and since Admob shows personalized ads by default, when should we manually specify in the ad loading request that the ads should be non-personalized (using the npa=1 parameter)?

Before creating our GADRequest, we currently read UMPConsentInformation.sharedInstance.consentStatus:

1. When it's .notRequired, we think that means we can serve personalized ads, we do not have to add that npa=1 parameter. Is our assumption correct?
2. When it's .required.unknown, or @unknown default, we think we should request NON-personalized ads, by manually adding that npa=1 parameter to the GAQRequest. Is that correct?
3. But what about when it's .obtained? This tells us that the user has answered the required user consent forms, but it doesn't tell us what type of consent the user has given (there is a type called UMPConsentType but it doesn't seem to be used/readable anymore in the current version of the SDK).
Should we NOT add the npa=1 parameter, and Admob will figure out whether personalized ads can be shown or not?

We are really lost on this and couldn't find the answer in the documentation. So we would really appreciate your help!

Thank you very much in advance

Mobile Ads SDK Forum Advisor

unread,
Dec 19, 2022, 2:35:18 AM12/19/22
to kevinq.d...@gmail.com, google-adm...@googlegroups.com

Hello,

 

Michael here from Mobile Ads SDK support team. Thank you for reaching out to us.

 

It appears that your concern revolves around UMP SDK. It is correct that Admob shows personalized ads by default, thus should you want to request for non-personalized ads, you may follow this step in the documentation. You assumption is also correct in not declaring npa=1 when requesting for personalized ads. Generally, if you do not request for non personalized ads as show in this step then the request would be for personalized ones.

 

Let us know should you need further clarifications.

Regards,

Google Logo
Michael Angelo
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2h4BDm:ref

Mobile K

unread,
Dec 19, 2022, 5:05:12 AM12/19/22
to Google Mobile Ads SDK Developers
Hello Michael, thank you.
I think we are saying the same thing: when we want to request non-personalized ads, we add the parameter npa=1. The link to the documentation we linked to is the same as the link you sent.

Our question is about when to request non-personalized ads, depending on UMPConsentInformation.sharedInstance.consentStatus.
Could you please check our original message again and let me know if the question needs clarification?
We can reformulate but we feel like our 3 sub-questions explain the issue really well. 

Thank you very much in advance

Mobile Ads SDK Forum Advisor

unread,
Dec 19, 2022, 2:26:13 PM12/19/22
to kevinq.d...@gmail.com, google-adm...@googlegroups.com
Hello,

I work along with Michael. Allow me to assist you in this.

The ConsentStatus will have the following values which will determine what will be user next steps. Below are the details and reference for your app flow.
  • UNKNOWN - For unknown reason, the SDK wasn't able to obtain the consent status of your user. In this instance, you may continue to load ad, however, non personalized ad will be served
  • NOT_REQUIRED - This is to determine that your user is outside European Economic Area (EEA) or not along with the UK. You may continue to load/request ad. Personalize ad will be served unless you've set NPA=1 on your ad request which will force to load non personalize ad
  • REQUIRED - This means that the SDK didn't get yet the content status (This usually happens on first installs), so you will need to display the consent form as per our guide
  • OBTAINED - This means that the SDK already get the consent from the users and will serve personalize ads if your user allow it and non-personalized ads if they didn't allow it
Given the information mentioned above, here are my answer to your questions
  1. When it's .notRequired, we think that means we can serve personalized ads, we do not have to add that npa=1 parameter. Is our assumption correct?
    • You are correct.
  1. When it's .required.unknown, or @unknown default, we think we should request NON-personalized ads, by manually adding that npa=1 parameter to the GAQRequest. Is that correct?
    • You don't have to set your npa=1 in your ad request as the UMP SDK will handle this for you automatically
  1. But what about when it's .obtained? This tells us that the user has answered the required user consent forms, but it doesn't tell us what type of consent the user has given (there is a type called UMPConsentType but it doesn't seem to be used/readable anymore in the current version of the SDK).
    • This is also automatically handles by the UMP SDK. It will served personalized or non-personalized ads depending on what your user chooses.
  1. Should we NOT add the npa=1 parameter, and Admob will figure out whether personalized ads can be shown or not?
    • Yes, you will only need to use NPA=1 if you want to force your app to request for non personalize ad to your users.
I hope this clears everything on your end. However, if you have further concern, please do let us know. We'll be happy to answer them.

Regards,
Google Logo
Teejay Wennie
Mobile Ads SDK Team
 

 

ref:_00D1U1174p._5004Q2h4BDm:ref

Mobile K

unread,
Dec 20, 2022, 9:17:44 AM12/20/22
to Google Mobile Ads SDK Developers
What a wonderful answer, thank you so much for your time Teejay.
This clarifies all our doubts.

Have a great day,
Kevin

Reply all
Reply to author
Forward
0 new messages