10

I implemented EU User Consent Policy with Android + AdMob according to this article.

The Problem: UserMessagingPlatform always failed on onConsentInfoUpdateFailure either on real device (with HashedId) or on simulators.

The error: Invalid response from server: Failed to read publisher's account configuration; try again later.

I have debug settings enabled:

ConsentDebugSettings debugSettings = new ConsentDebugSettings.Builder(activity)
        .setDebugGeography(ConsentDebugSettings.DebugGeography.DEBUG_GEOGRAPHY_EEA)
        //.addTestDeviceHashedId("CC3EBF623628DAA1E3AD2124AE690FBD")
        .build();

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

Please let me know why it fails? May be I should consider using Legacy version instead?

Mike Keskinov
  • 11,614
  • 6
  • 59
  • 87
  • 1
    is correct publisher id provided? e.g. String[] publisherIds = {"pub-0123456789012345"}; – Amod Gokhale Jan 13 '21 at 05:48
  • 1
    I'm trying to use a new version - https://developers.google.com/admob/ump/android/quick-start (not LEGACY). New version doesn't have `publisherIds` parameter anywhere. – Mike Keskinov Jan 13 '21 at 12:42

2 Answers2

6

You need to set up a Funding Choices account as described here https://support.google.com/admanager/answer/9770970

faizksen
  • 189
  • 1
  • 4
6

I have just had this response after setting up for the first time. I solved it by changing some settings in Admob itself.

Google Admob -> Privacy & messaging -> GDPR (card)

Create a message that actually gets displayed to the user (consent/do not consent/manage options etc.), I believe this is what is not actually found when this error appears. There are a number of toggle buttons to determine which message gets displayed (personalised ads/basic ads/etc.).

There is also the ability to age restrict ads which will be useful if you're releasing your app for children.

StephenL
  • 122
  • 1
  • 11
  • *There is also the ability to age restrict ads which will be useful if you're releasing your app for children.* I would like to know where it is. – hata May 25 '22 at 11:40
  • I "believe" it may have been the 'Admob->Blocking Controls->Ad content rating' section of your general admob account and also the 'Admob->Blocking Controls->Sensitive categories' section. – StephenL Jun 23 '22 at 21:30