Ads are loading, but not showing?

前端 未结 3 1230
一整个雨季
一整个雨季 2020-12-02 03:06

TL;DR: My interstitial ads are successfully loading, but when I call .show() on them, they don\'t show up!

I have followed these directions, and the a

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-02 03:28

    Please add .addTestDevice("SEE_YOUR_LOGCAT_TO_GET_YOUR_DEVICE_ID") to your AdRequestBuilder

    AdRequest adRequest = new AdRequest.Builder()
                  .addTestDevice("SEE_YOUR_LOGCAT_TO_GET_YOUR_DEVICE_ID")
                  .build();
    

    Because in development step, if you made too many request on AdMob sometimes it starts to not showing ads. So on development process work with test ads. If it is work without any problem, when you publish your app on Play Store, your users also will see your ads without any problem

提交回复
热议问题