Admob ad request always return code 3

后端 未结 1 851
借酒劲吻你
借酒劲吻你 2020-12-11 12:43

I implement Admob in one of my android application. First time it has a banner add bellow of my application. But after adding banner ad in RecylearView after 8 item

相关标签:
1条回答
  • 2020-12-11 13:08

    Here my 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.

    According to documentation :-

     public static final int ERROR_CODE_NO_FILL
    
    The ad request was successful, but no ad was returned due to lack of ad inventory.
    
    Constant Value: 3
    

    Which means:-

    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.

    Thanks :)

    0 讨论(0)
提交回复
热议问题