admob getting an ad response. ErrorCode: 0 Failed to load ad:0 admob getting an ad response. ErrorCode: 0 Failed to load ad:0 android android

admob getting an ad response. ErrorCode: 0 Failed to load ad:0


This is what google says

"It could be that you have only recently created a new Ad Unit ID and requesting for live ads. It could take a few hours for ads to start getting served if that is that case. If you are receiving test ads then your implementation is fine. Just wait a few hours and see if you are able to receive live ads then. If not, can send us your Ad Unit ID for us to look into."

so basically you have to wait for a few hours :)

https://groups.google.com/forum/#!category-topic/google-admob-ads-sdk/android/fBe3YL3ffpo


If you are using live admob ads id in development mode application , it will show this error.

Use debug mode admob ads id during development and live admob ids in release mode app


Solution:

  1. If your account is new, that might be the problem. Wait 2-3 hours, after that it will automatically start showing ads.
  2. If it still doesn't show ads, maybe you forgot to setup a payment method.

How to setup payment methods in AdMob:

  • Login into AdMob
  • Navigate to "Payments" tab on the left side of your screen
  • Type in your real address, name and account type
  • Put the ads (ad unit) into the application
  • Wait for 2-3 Hours
  • There you go!

If you are still experiencing problems, feel free to contact me via email: ashkaushik0007@gmail.com