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

Solution 1:

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

Solution 2:

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