Is ads initialization after consent bugged?

340 views
Skip to first unread message

andrea...@gmail.com

unread,
Sep 1, 2023, 8:35:29 PM9/1/23
to Google Mobile Ads SDK Developers
Implemented UMP in the start of August and initialize the ads after consent info update in this way

ConsentRequestParameters params = new ConsentRequestParameters
                .Builder()
                .setTagForUnderAgeOfConsent(false)
                .build();

consentInformation = UserMessagingPlatform.getConsentInformation(this);
        consentInformation.requestConsentInfoUpdate(
                this,
                params,
                new ConsentInformation.OnConsentInfoUpdateSuccessListener() {
                    @Override
                    public void onConsentInfoUpdateSuccess() {
                        createAds()
                    }
                },


Ads visualization dropped badly, and this not just in Europe (where you may think it could be caused by user refused consent), but in ALL countries with a sharp drop in USA that are our main market. Could be the fact we create ads onConsentInfoUpdateSuccess the cause of the issue?

P. S.

unread,
Sep 2, 2023, 2:04:26 AM9/2/23
to Google Mobile Ads SDK Developers
Same problem here. After implementing User Messaging Platform the app visualization dropped badly.

If a user consents ads will be show. But if the user does not consents or only partitially consents no ads appear anymore.

P. S.

unread,
Sep 2, 2023, 3:05:24 AM9/2/23
to Google Mobile Ads SDK Developers
I've now added an await at MobileAds.initialize(). So that MobileAds is initialized before anything is done to get or obtain user consents. Because here it says:

2. Should I ask GDPR consent before Admob.init() or after? Does sequence matter or not?
  • You should initialize the Mobile Ads SDK first
I hope this to help. 

Future<void> main() async {
    WidgetsFlutterBinding.ensureInitialized();
    await MobileAds.instance.initialize();
    // ...
    await UmpContext.instance.initialize();
    // ...
}

andrea...@gmail.com

unread,
Sep 2, 2023, 5:08:21 AM9/2/23
to Google Mobile Ads SDK Developers
Thanks for the reply, but if ads SDK is initialized before UMP, doesn't this work outside GPDR rules because it hasn't consent info at moment of the loading?

diablins...@gmail.com

unread,
Sep 3, 2023, 5:03:32 PM9/3/23
to Google Mobile Ads SDK Developers
I think it is bugged, same problem here

diablins...@gmail.com

unread,
Sep 3, 2023, 6:05:43 PM9/3/23
to Google Mobile Ads SDK Developers
After reading a lot of threads... it's not a bug, it's they way it works. If a user rejects to store cookies (both, "No consent option" or  default "Manage options" switches) then google will not serve ads because he needs to set cookies in their ads. And no consent means no ads displayed. Since 2020 this is working like that, and EEE is forcing now to show consent dialog.

I only find 2 fixes for this:

- Find another ad provider that doesn't work like this.
- Force users to consent or deny them to use the app.

My app will die soon

Mobile Ads SDK Forum Advisor

unread,
Sep 4, 2023, 6:46:40 AM9/4/23
to diablins...@gmail.com, google-adm...@googlegroups.com
Hello,

Thank you for reaching out to us. Please do note that there are condition that needs to meet before ads shows to your app via consent. Detailed information can be found here: https://support.google.com/admob/answer/9760862?hl=en&ref_topic=9756841.
 
This message is in relation to case "ref:_00D1U1174p._5004Q2oAaeA:ref"

Thanks,
 
Google Logo Mobile Ads SDK Team


FraG

unread,
Sep 4, 2023, 8:01:52 AM9/4/23
to Google Mobile Ads SDK Developers
Won't "most" apps die, then? I'm in the same boat.

- Did you find another ad provider? 
- Do you know of any app that did implement the "Forced consent" without getting tons of negative reviews?



diablins...@gmail.com

unread,
Sep 4, 2023, 10:27:54 AM9/4/23
to Google Mobile Ads SDK Developers
Hi FraG,

No, i still use the old way until someone release a fix for that. I don't understand why "no consent" means "no ads". I don't care users don't see personalized ads, but seems google can't show ads if they don't allow to store cookies on the device.

So yes... i think many free apps with ads will die, mine included.

Mobile Ads SDK Forum Advisor

unread,
Sep 4, 2023, 2:11:02 PM9/4/23
to guibert....@gmail.com, google-adm...@googlegroups.com

Hi Frag,

Thank you for reaching out to us.

Can you provide us more information with regard to your concern? Based on the subject itself, have you experience any implementation concern for the consent? Can you confirm if you're using the UMP SDK?

This message is in relation to case "ref:_00D1U1174p._5004Q2oAgyt:ref"


Thanks,
 
Google Logo Mobile Ads SDK Team


P. S.

unread,
Sep 5, 2023, 12:43:37 AM9/5/23
to Google Mobile Ads SDK Developers
A "declined consent" or "partitially declined consent" may result in an empty app with a decision screen to either accept the consent or buy the premium version via in-app-billing. So that it is a "soft forced consent".

But there is currently no way to check what the user has selected. Or did I saw it wrong? In this case using another ad provider could be a good option. Or is Google planning to add a solution here?

P. S.

unread,
Sep 5, 2023, 1:07:24 AM9/5/23
to Google Mobile Ads SDK Developers
Using https://support.google.com/admob/answer/9760862?hl=en&ref_topic=9756841 there should be an app option for the publisher to see whether the end user has accepted the consents for purpose 1, 2, 7, 9 and 10 to check if the user agrees to see at least non-personalized ads.

Something like this...

ConsentInformation.instance.userAcceptedConsentForPersonalizedAds(); // true/false
ConsentInformation.instance.userAcceptedConsentToSeeAtLeastNonPersonalizedAds(); // true/false
ConsentInformation.instance.userAcceptedNotEnoughConsentToSeeAnyAds(); // true/false

spyNet Camera

unread,
Nov 17, 2023, 5:42:13 PM11/17/23
to Google Mobile Ads SDK Developers
Reply all
Reply to author
Forward
0 new messages