Admob No fill from ad server - failed to load ad: 3

前端 未结 17 2191
失恋的感觉
失恋的感觉 2020-12-17 07:59

My issue is that ads are not being displayed at all in my app, test mode or not. I am going to keep this question specific to test mode, and once I get that working I will w

相关标签:
17条回答
  • 2020-12-17 08:45

    In my case I found that my billing address was not verified and ads were blocked. Verify billing address it will automatically get fixed. https://www.google.com/adsense/

    0 讨论(0)
  • 2020-12-17 08:45

    try this:

    MobileAds.initialize(this, getString(R.string.admob_app_id));
    AdView mAdView = findViewById(R.id.adView);
    AdRequest adRequest = new AdRequest.Builder().build();      
    mAdView.loadAd(adRequest);
    
    0 讨论(0)
  • 2020-12-17 08:51

    I had this issue as well today. My app was not suspended, but the apk name change did work. We had renamed a test app to release it to production; we changed the apk name as a result. This screwed up our ad fill on both MoPub and Admob.

    0 讨论(0)
  • 2020-12-17 08:54

    In my case this was the error as result of requesting a geo-restricted ad from a region that's not supported for that ad. If I hardcoded the location for the ad request bundle to be inside the acceptable region, or not include a location in the request at all, the ad was rendered just fine; otherwise I had the same error as OP in console.

    0 讨论(0)
  • 2020-12-17 08:54

    It might be because you're not waiting for the ad to load.

    For me implementing the AdLoaded method of the AdListener did the job.

        mAdInterstitial.loadAd(AdRequest.Builder().addTestDevice("XXXXXXX").build())
        mAdInterstitial.adListener = object : AdListener() {
            override fun onAdLoaded() {
                mAdInterstitial.show()
            }
        }
    
    0 讨论(0)
提交回复
热议问题