Admob ads not loading - Failed to load ad: 0

后端 未结 14 977
猫巷女王i
猫巷女王i 2020-11-30 08:13

I am trying to load Admob Native ads. Previously (before app was updated) ads used to show but now they are not showing. I have posted the code, xml and the Logcat below.

相关标签:
14条回答
  • 2020-11-30 09:07

    I had this issues because of AVD settings. Try to change AVD for debug or try to use real device.

    0 讨论(0)
  • 2020-11-30 09:08

    It also happened to me that error"fail to load ad 0" but there is no problem just wait for sometimes like an hour or 2 or even 5 hours just wait you will get the ads.

    0 讨论(0)
  • 2020-11-30 09:12

    In my case missing payment information was an issue. When you login to Admob dashboard you will see notice over there which says ads won't work until we add payment details.

    0 讨论(0)
  • 2020-11-30 09:13

    It also happens when trying to request an ad from a placement with different type. For example, banner from interstitial and so on. I hope this will help somenone.

    0 讨论(0)
  • 2020-11-30 09:14

    Open the build.gradle file inside your application module directory:

    and add this dependency

    dependencies {
    ......
    ......
      implementation 'com.google.android.gms:play-services-ads:19.2.0'
    }
    
    0 讨论(0)
  • 2020-11-30 09:16

    Constant Value: 0

    This error generally occurs in newly created ads. So wait for few hours for the ads to be loaded.

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