Admob ads not loading - Failed to load ad: 0

后端 未结 14 979
猫巷女王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:01

    When it works with the sample ad unit Ids your account probably just is not approved yet. Have you created it just now?

    Test ads worked right away for me. I had to wait several hours for the "Great news – your account is now approved" mail until my ads worked too. Do not use your own ads for development anyway - you can get your AdMob account blocked for that!

    So as soon as the test ads work and you have confirmed that the correct IDs are used for release build you most probably have done everything right and just have to wait

    There is also an test App ID "ca-app-pub-3940256099942544~3347511713" but I had no problem to use my own App ID right after creating it.

提交回复
热议问题