Unity - No Fill in Test and Live mode on Android

1,359 views
Skip to first unread message

Daniel Theunissen

unread,
Jul 28, 2016, 5:16:22 AM7/28/16
to Google Mobile Ads SDK Developers
Hi,
i've encountered a wierd problem. A couple of weeks ago we've noticed that there weren't any interstitials shown on the Andoid app. The app itself wasn't updated or changed. So i've checked the app and noticed that admob returns a "No Fill" with testmode enabled. On iOS everything seems fine, i haven't tested it because the live version shows ads.

Has anyone experience the same or has ideas how to solve this or can point me in a general direction where the problem could be?


Additional Info:
Unity 5.3.4p6
PlayServices 9.0.2
Admob for Unity 3.0.4

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Jul 28, 2016, 7:05:11 AM7/28/16
to Google Mobile Ads SDK Developers
Hi Daniel,

There can be a number of reasons why Ad Requests return a No Fill error. To help us investigate further, may we request the following information by using Reply privately to author:
  • Can you provide us your Ad Unit ID? 
  • Do you receive ads when you try it using our sample app
  • Perhaps you can also provide a small code snippet on how you are requesting and showing your ads? 
  • Can you also provide us a complete error log, as well as Charles logs?
These information would be helpful to us in investigating your issue.

Regards,
Joshua Lagonera
Mobile Ads SDK Team

Daniel Theunissen

unread,
Aug 1, 2016, 3:21:14 AM8/1/16
to Google Mobile Ads SDK Developers
Hi Joshua,

It is strange that this happened during a period where the app hasn't changed at all. We recently upgraded to Win10 an setting up everything took some time which means i haven't tested the sample app nor do i have an error log since everything works and the No Fill is handled. It seems i can't answer directly to an author in this group so sending you the AdUnitID might be a problem.

This is a part of our Wrapper class. It loads the ads on start and after an ad is shown and a timer has finished. However it always ends with an AdFailedToLoad message "AdmobWrapper: AdFailedToLoad - No Fill".

public class AdmobWrapper : MonoBehaviour 
{
public string keyGoogle;

    private float lastIntertitial = 0.0f;
#if ADMOB
private string key;

private InterstitialAd interstitial;



void Awake() 
{
instance = this;
lastIntertitial = -minDelayInSeconds;

key = keyGoogle;


Debug.Log("AdmobWrapper: Start() - key: " + key);
interstitial = new InterstitialAd(instance.key);

interstitial.OnAdClosed += HandleAdClosed;
interstitial.OnAdLoaded += AdLoaded;
interstitial.OnAdFailedToLoad += AdFailedToLoad;

LoadNew();
    }
private void LoadNew()
{
#if TEST
AdRequest request = new AdRequest.Builder()
.AddTestDevice("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")
.Build();
#else
        AdRequest request = new AdRequest.Builder()
.Build();        
#endif

if (request != null) {
try {
instance.interstitial.LoadAd(request);
} catch (Exception ex) {
Debug.LogError (ex.ToString ());
}


//Debug.Log("AdmobWrapper: request = " + request.ToString());
}
else
Debug.Log ("AdmobWrapper: request == null");
    }

public void AdFailedToLoad(object sender, AdFailedToLoadEventArgs args)
{
Debug.Log("AdmobWrapper: AdFailedToLoad - " + args.Message);
}
}


Joshua Lagonera (Mobile Ads SDK Team)

unread,
Aug 1, 2016, 4:05:26 AM8/1/16
to Google Mobile Ads SDK Developers
Hi Daniel,

Your implementation seems to be correct, but we cannot further investigate your issue without your Ad Unit ID. Can you provide it here instead?

Regards,
Joshua Lagonera
Mobile Ads SDK Team

Message has been deleted

Jeff King

unread,
Aug 1, 2016, 6:15:01 PM8/1/16
to Google Mobile Ads SDK Developers
Hi Guys,

I wanted to just chime in here and say I'm seeing the same thing.  My android device using Admob and UnityAds (for reward video) is not working.  I keep getting 3_ERROR_CODE_NO_FILL.  I have double checked all my numbers, game code, zone code, ca-app-pub id's... all are valid.  The interstitial works using admob only.

I was going to create a new post, but thought it sounded the same as this issue so I'm curious if others are having the same issue.  I have not tested on iOS yet.

Thanks
Jeff.

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Aug 1, 2016, 10:12:50 PM8/1/16
to Google Mobile Ads SDK Developers
Hi Daniel,

Thanks for providing me your Ad Unit ID. I've tried using it using our sample app and I have successfully received ads on several of our devices.
Is it possible for you to provide me the APK of your app for us to investigate it further?

Regards,
Joshua Lagonera
Mobile Ads SDK Team

Daniel Theunissen

unread,
Aug 2, 2016, 3:06:41 AM8/2/16
to Google Mobile Ads SDK Developers
Hi Joshua,


Admob will be instantiated after you've entered the gym.
Ads should be displayed after you quit one of the mini games or every 90 seconds once you've completed one of the games.

Thank you for your help :)

Regards,
Daniel Theunissen

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Aug 2, 2016, 12:54:01 PM8/2/16
to Google Mobile Ads SDK Developers
Hi Daniel,

Thank you for the app link. I was able to reproduce the issue and you need to contact the AdMob Product Support team to get this sorted. Make sure to provide your Bundle ID along with your Ad Unit ID when you contact them. 

@Jeff
Can you provide us your Ad Unit ID? Also, first try to reproduce the issue with our sample apps and let us know.

Thanks,
Veer Busani
Mobile Ads SDK Team

Shweta

unread,
Oct 21, 2016, 6:11:26 AM10/21/16
to Google Mobile Ads SDK Developers
Hi,

I have got same issue of No fill message on android device.
After i published the game it showed ad in 1 or 2 devices once but after game restart it disappeared and no ads in rest of the devices..

Thanks

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Oct 21, 2016, 10:58:12 AM10/21/16
to Google Mobile Ads SDK Developers
Hi Shweta,

This is a serving issue and I would suggest you to contact our AdMob Product Support team to get this sorted. If it's a different ad network, then do contact them directly about this. Since you were able to load ads, even if it's once, this does not sound like an SDK issue.

Thanks,
Arjun Busani
Mobile Ads SDK Team

Shweta Jobanputra

unread,
Oct 22, 2016, 1:05:45 AM10/22/16
to google-adm...@googlegroups.com
Hi Arjun,
Thanks for your reply.
But if i replace with my other admob ad unit id then it shows ads all the time so i am a bit confused, whether it is implementation issue or anything else.

I have submitted my issue few days back to support but yet not heard back from them.

Thanks
Shweta

--

---
You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/8quHT1QEyOE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Oct 24, 2016, 9:53:06 AM10/24/16
to Google Mobile Ads SDK Developers
Hi Shweta,

Like I have mentioned, if you are able to load ads with a different Ad Unit ID but having issue with yours, it does sound like a serving issue. The AdMob Product Support team will get back to you and I would suggest to wait for a few days.

Thanks,
Arjun Busani
Mobile Ads SDK Team

On Saturday, October 22, 2016 at 1:05:45 AM UTC-4, Shweta wrote:
Hi Arjun,
Thanks for your reply.
But if i replace with my other admob ad unit id then it shows ads all the time so i am a bit confused, whether it is implementation issue or anything else.

I have submitted my issue few days back to support but yet not heard back from them.

Thanks
Shweta

Shweta Jobanputra

unread,
Oct 25, 2016, 1:30:33 AM10/25/16
to google-adm...@googlegroups.com
Hi Arjun,

Sure, i am waiting for reply from AdMob Product Support team.

Thanks
Reply all
Reply to author
Forward
0 new messages