Hi there! I try to show ads by admob, and test show works, but not real. It throws OnAdFailedToLoad event with message "No fill". What is wrong ? Here how i prepare ads Code (CSharp): public void PrepareInterstitialAdMob() { Debug.Log("PrepareInterstitialAdMob"); interstitial = new InterstitialAd(AdMobInterstitialBlockID); // Called when an ad request has successfully loaded. interstitial.OnAdLoaded += HandleOnAdLoaded; // Called when an ad request failed to load. interstitial.OnAdFailedToLoad += HandleOnAdFailedToLoad; // Called when an ad is shown. interstitial.OnAdOpening += HandleOnAdOpened; // Called when the ad is closed. interstitial.OnAdClosed += HandleOnAdClosed; // Called when the ad click caused the user to leave the application. interstitial.OnAdLeavingApplication += HandleOnAdLeavingApplication; AdRequest request; if (Debug.isDebugBuild) { request = new AdRequest.Builder() .AddTestDevice(TestDeviceID) .Build(); } else { request = new AdRequest.Builder() .Build(); } interstitial.LoadAd(request); } And then show Code (CSharp): private IEnumerator<float> ShowInterstitialAdMob() { if (interstitial == null) { Debug.Log("ShowInterstitialAdMob, interstitial == null"); PrepareInterstitialAdMob(); } while (!interstitial.IsLoaded()) { yield return Timing.WaitForOneFrame; } interstitial.Show(); if (Debug.isDebugBuild) Debug.Log("====SHOW ADMOB INTERSTITIAL===="); EventManager.TriggerEvent("AdsIsLoadedAndShow"); }
My unity ads working when I don't use admob perfectly, but when i use admob mediation, I get "no fill" sms.
Just gonna say my experience with AdMob is terrible. For starters they don't have any kind of support, I couldn't find anywhere how to contact them regarding this issue, they only direct you to their terrible forum where you'll see hundreds of threads with this exact issue and no definitive answer from anybody. After days I found a support form, I submitted my issue and never got any reply (this was months ago). I think that one of the issues is that they will simply not send you any ads (and throw the no fill error message) until your game has enough downloads and their "AI" can learn about your game to send the proper ads. There's no information anywhere on how long this will take or how to improve this or even if this is actually the issue. Another issue appears to be that you now need to link the admob ID with your game ID, if you don't do this you will never see any ads (again, this is not confirmed, as nothing is, because there is no support at all from anyone at admob), the problem is that Google is incredibly fast on banning you for the weirdest reasons, and extremely slow to unban you, and when your admob accounts and google play accounts are linked, a ban on either of them will result in a ban on both, this means you can take a long time to fix everything up just because they take weeks to verify you did nothing wrong. If you use their mediation they will not send you ads even from other services. Gladly there's a way out, massive thanks to Unity: Unity Ads and Admob Question Just use Unity Monetization 3.0 pack from the AssetStore, it just works better, and has the same ads from admob without the admob issues, it's much better, and I get about 80% fill rate.
i had the same problem, if your Test ads are working then your code is OK. try to put your APK as a beta version on GooglePlay and link your GoogleServices.xml ("From your Firebase project") to your unity project and then download it from Google play as a tester and check again. this solved my problem.