Test ad not showing

219 views
Skip to first unread message

Thye Chean Lim

unread,
Jun 14, 2018, 9:28:07 AM6/14/18
to Google Mobile Ads SDK Developers
Hi, I am converting one of my apps to Interstitial Ad and I am facing issue:

      MobileAds.initialize(this, "ca-app-pub-3940256099942544~3347511713");

mInterstitialAd = new InterstitialAd(this);
mInterstitialAd.setAdUnitId("ca-app-pub-3940256099942544/1033173712");

AdRequest request = new AdRequest.Builder()
.addTestDevice("987774B8E2B275080B561327B9FB656D")
.build();

mInterstitialAd.loadAd(request);

mInterstitialAd.setAdListener(new AdListener() {
@Override
public void onAdClosed() {
// Load the next interstitial.
mInterstitialAd.loadAd(new AdRequest.Builder().build());
}
});

...

      if (mInterstitialAd.isLoaded()) {
mInterstitialAd.show();
} else {
Log.d("TAG", "The interstitial wasn't loaded yet.");
}

But even just using test ads, I got nothing:

I/Ads: Trying mediation network: 
I/Ads: Instantiating mediation adapter: com.google.DummyAdapter
I/Ads: No fill from any mediation ad networks.
W/Ads: Failed to load ad: 3
D/TAG: The interstitial wasn't loaded yet.

What could go wrong? I have tried this on ALL our other apps and work except for this particular one.

Thanks and please help!

mobileadssdk-a...@google.com

unread,
Jun 14, 2018, 3:32:15 PM6/14/18
to Thye Chean Lim, Google Mobile Ads SDK Developers
Hi there,

This sounds like an it is an Ad serving issue with your package name. Are you able to load ads with your Ad unit Id/ test Ad unit Id using our sample apps? If yes, then it is a serving issue and you would have to reach out to Product Support Team via this Help Forum and share your Ad unit Ids, Package name and they will be able to help you out.

Regards,
Deepika Uragayala
Mobile Ads SDK Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--

---
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/687ed7b2-66ad-42d8-8c43-eb05b78ae857%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Thye Chean Lim

unread,
Jun 14, 2018, 10:55:21 PM6/14/18
to mobileadssdk-a...@google.com, Google Mobile Ads SDK Developers
Hi,

This is very strange - I can't use the test ad, but I just tested the interstitial ad I set up in AdMob, and it works!

Should I be concerned as test ad does not work (but real ads work)?

Lim Thye Chean
General Manager, Virtual GS





mobileadssdk-a...@google.com

unread,
Jun 15, 2018, 3:01:39 PM6/15/18
to Thye Chean Lim, Google Mobile Ads SDK Developers
Hi Thye,

Thanks for getting back to us. This seems to be more of an Ad serving issue because I was able to load test Ads when I tested our sample Ad Unit Ids with our sample apps without any issues. Can you confirm us again whether you are still having the issue with our test Ad unit Ids?

Regards,
Deepika Uragayala
Mobile Ads SDK Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsubscrib...@googlegroups.com.

Thye Chean Lim

unread,
Jun 15, 2018, 8:43:00 PM6/15/18
to mobileadssdk-a...@google.com, Google Mobile Ads SDK Developers
Yes, test ads does not show, but real ads work.

Does not make sense to us. Should I be concerned?

Test ads work on our other apps except for this particular one.

mobileadssdk-a...@google.com

unread,
Jun 18, 2018, 3:31:23 PM6/18/18
to Thye Chean Lim, Google Mobile Ads SDK Developers
Hi Thye,

It is definitely a strange behavior. But, I have tested all our test Ad units on our end again on my device and I haven't seen any issues. Can you test your app on a different device or just try to reset your current test device and see if you are able to load test ads? Meanwhile, I'll discuss with my other teammates as well and will update you if I get any information from the team.

Regards,
Deepika Uragayala
Mobile Ads SDK Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Thye Chean Lim

unread,
Jun 19, 2018, 4:55:43 AM6/19/18
to mobileadssdk-a...@google.com, Google Mobile Ads SDK Developers
Hi,

I did submitted the app with real ads, and did see some revenue coming (not a lot), even though I didn't see the test ads, should I still be concerned and retest?

mobileadssdk-a...@google.com

unread,
Jun 19, 2018, 3:07:41 PM6/19/18
to Thye Chean Lim, Google Mobile Ads SDK Developers
Hi Thye,

If you don't have any issues with your own Ad unit Ids then this is not something to worry about and you are good to go. But, we always recommend the publishers to use test Ad units until the app goes into production and for more rigorous testing to see production-looking ads, you can configure your device as a test device and use your own ad unit IDs that you've created in the AdMob UI.

Feel free to get back to us if you have any other issues. We will be happy to assist you.

Regards,
Deepika Uragayala
Mobile Ads SDK Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Reply all
Reply to author
Forward
0 new messages