admob getting an ad response. ErrorCode: 0 Failed to load ad:0

后端 未结 21 1035
余生分开走
余生分开走 2020-11-29 04:12

I have followed many answers about that error here, but my problem is not solved. Every time I run my app no ads appear and I get this error message in Logcat:

相关标签:
21条回答
  • 2020-11-29 04:46

    Solution:

    1. If your account is new, that might be the problem. Wait 2-3 hours, after that it will automatically start showing ads.
    2. If it still doesn't show ads, maybe you forgot to setup a payment method.

    How to setup payment methods in AdMob:

    • Login into AdMob
    • Navigate to "Payments" tab on the left side of your screen
    • Type in your real address, name and account type
    • Put the ads (ad unit) into the application
    • Wait for 2-3 Hours
    • There you go!

    If you are still experiencing problems, feel free to contact me via email: ashkaushik0007@gmail.com

    0 讨论(0)
  • 2020-11-29 04:46

    i found the error from the emulator after i install the app on real device the ads shown perfectly thanks everyone and i hope my answer being useful for others ..

    0 讨论(0)
  • 2020-11-29 04:47

    One more reason can be: Missing payment information

    Your ad units aren't serving ads because your payment information is missing. Add your payment information now. Learn More

    0 讨论(0)
  • 2020-11-29 04:52

    Make sure your ads not violate Google Ads rule, otherwise you have to fill appeal form first to contact AdMob support and after they re-enable your ads serving, ads should appear.

    0 讨论(0)
  • 2020-11-29 04:53

    I added the code below for the testing environment

     AdRequest adRequest = new AdRequest.Builder().addTestDevice(your device id)
     //When you testing on emulator
    .addTestDevice(AdRequest.DEVICE_ID_EMULATOR).build();
    
    0 讨论(0)
  • 2020-11-29 04:54

    If you are using live admob ads id in development mode application , it will show this error.

    Use debug mode admob ads id during development and live admob ids in release mode app

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