title: Android AdMob - Requesting Consent from European Users
body: <p>I implemented <strong>EU User Consent Policy</strong> with <strong>Android</strong> + <strong>AdMob</strong> according to <a href="https://developers.google.com/admob/ump/android/quick-start" rel="noreferrer">this article</a>.</p>
  <p><strong>The Problem</strong>: <code>UserMessagingPlatform</code> always failed on <code>onConsentInfoUpdateFailure</code> either on real device (with HashedId) or on simulators.</p>
  <p><strong>The error</strong>: <em>Invalid response from server: Failed to read publisher's account configuration; try again later.</em></p>
  <p>I have debug settings enabled:</p>
  <pre><code>ConsentDebugSettings debugSettings = new ConsentDebugSettings.Builder(activity)
          .setDebugGeography(ConsentDebugSettings.DebugGeography.DEBUG_GEOGRAPHY_EEA)
          //.addTestDeviceHashedId(&quot;CC3EBF623628DAA1E3AD2124AE690FBD&quot;)
          .build();
  
  ConsentRequestParameters params = new ConsentRequestParameters.Builder()
          .setTagForUnderAgeOfConsent(false)
          .setConsentDebugSettings(debugSettings)
          .build();
  </code></pre>
  <p>Please let me know why it fails? May be I should consider using <a href="https://developers.google.com/admob/android/eu-consent" rel="noreferrer">Legacy version</a> instead?</p>