I have followed many answers about that error here, but my problem is not solved. Every time I run my app no ads appear and I get this error message in Logcat:
If you have just opened your admob account, Fill the payment details first, else you will not get the ad impression even in the test mode.
I was getting this error because admob has blocked my app to serve ads. So I changed the package name and everything started to work perfectly fine
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
Open your adMob account and create new sets of keys,and put this keys(banner/interstitial)in your project.this is happens to me once i fixed like this,try this solution. or still issues create new app (just change the name) in adMob and create new keys
May not apply to all, but my personal problem was turning off my Pi-hole
And yes for those wondering, I like to regularly shoot myself in the foot.
In my case, It worked on switching to another internet connection. Earlier I was using my company's wifi and changing the connection to my personal wifi hotspot it worked!