Banner ads not showing up nor on Unity or on my mobile phone

197 views
Skip to first unread message

Paul F.

unread,
Feb 1, 2019, 5:23:02 PM2/1/19
to google-adm...@googlegroups.com
I've set my AdMob account a few days ago and my account is already active on apps.admob.com, I followed a few guides
on the internet and of course the official guide to get started on Unity however there is no way to make the ad appear on any
of my project scenes, all I get is:

Dummy LoadAd
UnityEngine.Debug:Log(Object)
GoogleMobileAds.Common.DummyClient:LoadAd(AdRequest) (at Assets/GoogleMobileAds/Common/DummyClient.cs:100)
GoogleMobileAds.Api.BannerView:LoadAd(AdRequest) (at Assets/GoogleMobileAds/Api/BannerView.cs:68)
AdmobHelper:RequestBanner() (at Assets/Scripts/AdmobHelper.cs:45)
AdmobHelper:Start() (at Assets/Scripts/AdmobHelper.cs:10)



 BannerView bannerView = new BannerView(adUnitId, AdSize.Banner, AdPosition.Bottom);

// Create an empty ad request.
AdRequest request = new AdRequest.Builder().Build();

 
Using the latest version from here:


I'm using my Android app id under UNITY_ANDROID and a test id under UNITY_EDITOR: ca-app-pub-3940256099942544/6300978111.

I don't know what else to do since there are not error messages that output on my end but still the banner doesn't seem to show up.


mobileadssdk...@google.com

unread,
Feb 4, 2019, 12:47:44 AM2/4/19
to Paul F., Google Mobile Ads SDK Developers
Hi Paul,

Thank you for the details provided.

For testing purposes, have you tried testing with our sample app? Make sure that you are testing this on a real actual Android device.

On the other hand, for us to test on our end, could you provide to us the Ad Unit Id/s in question using Reply privately to author option?

Regards,
Ivan Bautista
Mobile Ads SDK Team




On 02/02/19 06:23:02 pcfa...@gmail.com wrote:
I've set my AdMob account a few days ago and my account is already active on apps.admob.com, I followed a few guides
on the internet and of course the official guide to get started on Unity however there is no way to make the ad appear on any
of my project scenes, all I get is:

Dummy LoadAd
UnityEngine.Debug:Log(Object)
GoogleMobileAds.Common.DummyClient:LoadAd(AdRequest) (at Assets/GoogleMobileAds/Common/DummyClient.cs:100)
GoogleMobileAds.Api.BannerView:LoadAd(AdRequest) (at Assets/GoogleMobileAds/Api/BannerView.cs:68)
AdmobHelper:RequestBanner() (at Assets/Scripts/AdmobHelper.cs:45)
AdmobHelper:Start() (at Assets/Scripts/AdmobHelper.cs:10)



 BannerView bannerView = new BannerView(adUnitId, AdSize.Banner, AdPosition.Bottom);

// Create an empty ad request.
AdRequest request = new AdRequest.Builder().Build();

 


I'm using my Android app id under UNITY_ANDROID and a test id under UNITY_EDITOR: ca-app-pub-3940256099942544/6300978111.

I don't know what else to do since there are not error messages that output on my end but still the banner doesn't seem to show up.


--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/6b41e962-d2dc-4f7e-8134-57a42ac0cbf3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

mobileadssdk...@google.com

unread,
Feb 5, 2019, 2:47:13 AM2/5/19
to Paul F., Google Mobile Ads SDK Developers
Hi Paul,

Looking at your code snippets, I don't see anything that would prevent your Ads from showing, however, I don't think you have to call Destroy() everytime you want to send a new Ad Request as it is best to call it only when you are finsihed using it. Nevertheless, this shouldn't prevent your Banner Ads from showing. We can also confirm that your code implementation is working given that test ads were loading when you test the sample Ad Unit Id in your app.

That said, I tested your Ad Unit Id with our sample app and I was able to load ads successfully.

As an option, you can also try to mediate to supported 3rd party Ad Networks to increase the number of Ad sources where you can pull ads from.


Regards,
Ivan Bautista
Mobile Ads SDK Team
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsubscrib...@googlegroups.com.

Paul F.

unread,
Feb 5, 2019, 9:32:04 AM2/5/19
to Google Mobile Ads SDK Developers
Hi Ivan, if you test my ad unit id with the sample app it will only load interstitial and reward videos, the banners won't
work and that's specifically what I need to work, can you test the banner ads on your end to see if shows up using my
app Id and add unit Id?

I added a debug message for the failed event and now it displays "No fill" when it fails to load the banner, how is it possible
that not even one banner ad is available even when I add a test device to the AdRequest builder, can you explain to me how
to correctly setup an AdRequest in order to get the banner ads working?

I expected that at least a test device would display banner ads:

return new AdRequest.Builder()
            .AddTestDevice(AdRequest.TestDeviceSimulator)
            .AddTestDevice(SystemInfo.deviceUniqueIdentifier)
            .Build();


mobileadssdk...@google.com

unread,
Feb 6, 2019, 1:26:57 AM2/6/19
to Paul F., Google Mobile Ads SDK Developers
Hi Paul,

Thank you for your patience on this.

I was able to load ads using your Banner Ad Unit Id with our sample app so the possible explanation to the No fill error you encountered is possibly because there are no available ads on your end during those times. I understand that this might seem odd but this is more of an Ad serving concern rather than something specific to the Mobile Ads SDK. We can confirm that your code implementation is working correctly since you were able to load test ads earlier.

On the other hand, when setting an enabled test device, please refer to this guide on how you can correctly get alphanumeric test device ID from the logcat output. Try that guide then test again with your enabled test device or an Android emulator and let us know your findings.

Regards,
Ivan Bautista
Mobile Ads SDK Team



--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, 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.
Reply all
Reply to author
Forward
0 new messages