UMP issue when user is Not EEA country

750 views
Skip to first unread message

arna...@gmail.com

unread,
Feb 11, 2022, 4:34:48 PM2/11/22
to Google Mobile Ads SDK Developers
Hi Sirs,
I have a problem since use UMP Sdk.
When on onConsentInfoUpdateSuccess(i also try on onConsentFormLoadSuccess ) i check if ConsentInformation.ConsentStatus.NOT_REQUIRED is true(the user consent is not required) and make AdRequest(banner ad), in my device(using DEBUG_GEOGRAPHY_NOT_EEA), the adrequest and impresion work fine.
But when release the app, in the admod stats the adrequest of Not EEA countris are near to 0(before implement UMP, it was the majority).
I do not know if the SDK is qualifying these users as NOT_REQUIRED or C or calling onConsentInfoUpdateFailure. 
I try to call loadform() if  ConsentInformation.ConsentStatus.UNKNOW, but still without see apreciable adrequest in admob stats from Not EEA countrys.
Anyone know what might be happening?
Anyone in the same case?
Thanks

Mobile Ads SDK Forum Advisor

unread,
Feb 14, 2022, 2:03:26 AM2/14/22
to arna...@gmail.com, google-adm...@googlegroups.com

Hi Arnauegea,

Thank you for reaching out to us.

With regard to your concern, can you confirm if you're able to get ads properly? If yes, then your implementation is correct. Then, for the 0 status, can you confirm if this is the ads activity mainly the request? If this is what you're referring to, I would suggest reaching out to the Product Support Team as it seems that it has something to do with what the ad inventory has.

Regards,

Google Logo
Princess Pamela
Mobile Ads SDK Team
 

 



ref:_00D1U1174p._5004Q2W6aMz:ref

arna...@gmail.com

unread,
Feb 14, 2022, 3:08:16 AM2/14/22
to Google Mobile Ads SDK Developers
Hi Princess,
Thanks for your answer.
My account work fine, if don't use UPM show ads normally, and using UMP in EEA serve ads normally.
The probles is using UPM with the users are NOT EEA, don't appear ad request in Admob stats.
I think, if this was an inventory issue, I would see ad reques(but not responses or impressions)t in Admob stats.
I think there must be some programming error (probably mine) and the NOT EEA users are not being identified by the SDK or are being identified with such a delay that the user has changed/closed the activity.
I will contact the Product Support Team.
Thanks

Mobile Ads SDK Forum Advisor

unread,
Feb 14, 2022, 10:02:52 AM2/14/22
to arna...@gmail.com, google-adm...@googlegroups.com

Hi Arnauegea,

Thank you for your response.

If you're unable to get non personalized ads when it is not EEA, I would suggest checking this Forward consent to the Google Mobile Ads SDK. The default behavior of the Google Mobile Ads SDK is to serve personalized ads. If a user has consented to receive only non-personalized ads, you can configure an AdRequest object to specify that only non-personalized ads should be requested. 

arna...@gmail.com

unread,
Feb 14, 2022, 4:40:39 PM2/14/22
to Google Mobile Ads SDK Developers
Hi Princess,
I talk with mi Admob account manager and don't have any problem in account.
The account manager tell me that the ad request from outside EEA are not reaching admob.
I think that the problem is at the moment in which the ad request must be made.
This is not specified (or I have not found it) in the developer guide to UMP.
Can you provide us with an example of how and wich point to do the ad request in admob after implementing the UMP sdk?
Especially in the case that the user is NOT EEA.
Thanks

Mobile Ads SDK Forum Advisor

unread,
Feb 15, 2022, 1:48:55 AM2/15/22
to arna...@gmail.com, google-adm...@googlegroups.com

Hi Arnauegea,

Thank you for your response.

Can you confirm if you're asking for an example on where you should put the ad request after the consent of UMP is used? If yes, you can refer to this sample code implementation to get non personalized ads that usually display for user's that are not eea. Then, you just need to add it inside your implementation in configuring if UMPConsentStatusNotRequired.

arna...@gmail.com

unread,
Feb 15, 2022, 4:05:20 AM2/15/22
to Google Mobile Ads SDK Developers
Hi Princess,
I followed this documentation to implement the UMP SDK.
This is my code to call ad requests(I have deleted the part of Required and Unknow, to facilitate reading).
public void loadForm(){
UserMessagingPlatform.loadConsentForm(
this,
new UserMessagingPlatform.OnConsentFormLoadSuccessListener() {
@Override
public void onConsentFormLoadSuccess(ConsentForm consentForm) {
MainActivity.this.consentForm = consentForm;

if(consentInformation.getConsentStatus() == ConsentInformation.ConsentStatus.NOT_REQUIRED) {
AdRequest request;
request = new AdRequest.Builder().build();
adView.loadAd(request);

}
if(consentInformation.getConsentStatus() == ConsentInformation.ConsentStatus.OBTAINED) {
AdRequest request;
request = new AdRequest.Builder().build();
adView.loadAd(request);
}
}
},
new UserMessagingPlatform.OnConsentFormLoadFailureListener() {
@Override
public void onConsentFormLoadFailure(FormError formError) {
/// Handle Error.
}
}
);
}
 And also added inside onCreate :
consentInformation.requestConsentInfoUpdate(
this,
params,
new ConsentInformation.OnConsentInfoUpdateSuccessListener() {
@Override
public void onConsentInfoUpdateSuccess() {
// The consent information state was updated.
// You are now ready to check if a form is available.

if(consentInformation.getConsentStatus() == ConsentInformation.ConsentStatus.NOT_REQUIRED) {


MainActivity.this.runOnUiThread(new Runnable() {
public void run() {
AdRequest request;
request = new AdRequest.Builder().build();
adView.loadAd(request);
});
}

}
}
if (consentInformation.isConsentFormAvailable()) {
loadForm();
}
}
},
new ConsentInformation.OnConsentInfoUpdateFailureListener() {
@Override
public void onConsentInfoUpdateFailure(FormError formError) {
// Handle the error.
}
});

Mobile Ads SDK Forum Advisor

unread,
Feb 15, 2022, 10:08:25 AM2/15/22
to arna...@gmail.com, google-adm...@googlegroups.com

Hi Arnauegea,

Thank you for your response.

As I mentioned previously, if you want to display only non personalized ads, you need to enforce the request that only requests non personalized ads. You can check this sample code and implement it under your ConsentInformation.ConsentStatus.NOT_REQUIRED. You may try the following details below. 

if(consentInformation.getConsentStatus() == ConsentInformation.ConsentStatus.NOT_REQUIRED) {

From this


AdRequest request;
request = new AdRequest.Builder().build();
adView.loadAd(request);

To something like this

Bundle extras = new Bundle();
extras.putString("npa", "1");

AdRequest request = new AdRequest.Builder()
.addNetworkExtrasBundle(AdMobAdapter.class, extras)
.build();
adView.loadAd(request);

}

Let me know if this works for you, and if this is what you want to accomplish in your end.

arna...@gmail.com

unread,
Feb 15, 2022, 12:44:23 PM2/15/22
to Google Mobile Ads SDK Developers

Hi Princess,
I don't want display non personalized ads to this users.
I want display personalized ads to NOT EEA users.

Mobile Ads SDK Forum Advisor

unread,
Feb 16, 2022, 4:59:58 AM2/16/22
to arna...@gmail.com, google-adm...@googlegroups.com
Hi Arnauegea,

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

With regard to your concern, please do note that the default behavior of the SDK is to serve personalized ads. If the consent status is NOT_REQUIRED, then this means that the user is not in the EEA or the UK. With this, the Mobile Ads SDK will request for personalized ads automatically.

Regards,
Google Logo
Teejay Wennie
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2W6aMz:ref

arna...@gmail.com

unread,
Feb 16, 2022, 5:48:16 AM2/16/22
to Google Mobile Ads SDK Developers
Hi Teejay,
Thanks for your response.
The problem(i think) is that this users(NOT EEA) don't enter in if NOT_REQUIRED.
When i test with .DEBUG_GEOGRAPHY_NOT_EEA , works fine, but when release the app update, the ad request in users NOT EEA practically disappear

Mobile Ads SDK Forum Advisor

unread,
Feb 17, 2022, 3:49:24 AM2/17/22
to arna...@gmail.com, google-adm...@googlegroups.com

Hi Arnauegea,

Thank you for your response.

Can you provide us a screen recording of what is happening in your app while using the .DEBUG_GEOGRAPHY_NOT_EEA and without it? So that we can have a better look of the behavior that is happening. You may follow the guide below on where you can send it.

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:

1. Navigate to https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=5004Q00002W6aMzQAJ&entry.80707362=00094052
2. Fill out all fields, and attach your file(s).
3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.

Regards,

Google Logo
Princess Pamela
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2W6aMz:ref
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages