Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

onFailedToReceiveAd(Ad request successful, but no ad returned due to lack of ad inventory when using admob with adwhirl

i just want to know if this problem is server side...or i must fix something in my code...

onFailedToReceiveAd(Ad request successful, but no ad returned due to lack of ad inventory

I'm using admob with adwhirl to show ads in my android application.

like image 523
Reham Avatar asked Jan 08 '12 15:01

Reham


3 Answers

If you are getting this error, then your code is correct. The issue is that AdMob does not always have an ad to return for every request. This may happen particularly if you have just registered your AdMob publisher ID, as it takes some time and multiple requests before the new ID starts returning ads.

Another reason your fill rate may be low is that you don't have AdSense backfill enabled, or you have filtered out some ads. Check your app settings to see if that is the case.

Finally, a test you can run to see if your AdWhirl code is implemented correctly is to request a test ad. You can do this by specifying test mode in AdWhirl:

AdWhirlTargeting.setTestMode(true);

If you get back a test ad, you'll know your code is working as intended.

like image 159
Eric Leichtenschlag Avatar answered Nov 14 '22 05:11

Eric Leichtenschlag


One of the solutions you could try:

Some times this will happened if you changed language of your Android device to exotic language (Russian for example). Try to change it back to English and AdMob will find appropriate ad for you. Or you could go to the Google Settings->Ads->Reset advertising ID

like image 39
higsBozone Avatar answered Nov 14 '22 04:11

higsBozone


I've just found that such error is shown if your AdMob account has been banned. But it works with a test device ID.

like image 2
WindRider Avatar answered Nov 14 '22 06:11

WindRider