Admob real ads not showing after publishing it [closed] Admob real ads not showing after publishing it [closed] android android

Admob real ads not showing after publishing it [closed]


According to Google

"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."

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

so wait for a few hours.


In my case, I have to submit the payment details first to show ads in app. Just visit admob and read the warning at top.


I had the same issue
spent 1/2 days of analysis
because of an innocent looking/clever bug:

It was due to 2 things mainly:

  1. I removed all default test ids from all plugins
    this helped me to know what is the issue
    we know different types of ads will have different default test ids given in AdMob
    .
    troubleshooting I did is below:

    • a) test ad id - test ad should load
    • b) wrong ad id - no ad should on load (nothing should show), wrong id can be '1111111'
    • c) real ad id - real ad should NOT load locally (nothing should show, since it not uploaded)
    • d) real ad id - real ad should load after uploading to google play (after 4 hours or so, after upload)
  2. using above point, I fixed the bug in the code
    innocent looking copied code from the internet worked great for test adssince it loaded test ads correctly, have assumed it was correct code as other said both test & real ads are from same channel (real ads won't show until uploaded to play console, acc. to point d) above)

when the ad id was given incorrect, a plugin was taking default test id so showing test ads

just before uploading apk to play console, changed to real id, built and released apk

after uploading to play store, initially showed a blank screen for a few hours (maybe 2-4 hours), then real ads started showing.

hope that was detailed & helps others, else ping below.