reward test ads - Code 9 - No Ad returned from any ad server

2,199 views
Skip to first unread message

Jim

unread,
Jul 3, 2017, 8:50:54 PM7/3/17
to Google Mobile Ads SDK Developers
I have an unpublished IOS app and am using interstitial and reward video ads.  On my simulator and on two separate phones, everything works perfectly.  I get both types of test ads (I'm using ca-app-pub-3940256099942544/1033173712 and ca-app-pub-3940256099942544/1712485313 for the test ads).  However, on two other phones (all iphone 6's) used by two other developers (all of us in the same metro area), they are receiving an error - code 9 - No Ad returned from any ad server.  Domain is com.google.ads.  I can't figure out why it would work fine on Xcode simulators (two different machines), and on two iPhones, but not on the other two?  Any ideas what to look for?


Jim

unread,
Jul 3, 2017, 9:41:09 PM7/3/17
to Google Mobile Ads SDK Developers
To be clearer - I am not using FireBase - just Admob directly.  Also, the interstitials work on all devices and simulators.  It's the reward ad that only works on some.

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Jul 4, 2017, 2:19:15 AM7/4/17
to Google Mobile Ads SDK Developers
Hi there,

This may indicate that it is a Device Specific issue. Can you share with us the following information for us to further investigate the issue?
  • Error logs from the devices which are not getting ads.
  • Logs from Charles' Proxy with SSL Proxying enabled, to investigate for any network-related issues.
Regards,
Joshua Lagonera
Mobile Ads SDK Team

Admin

unread,
Jul 4, 2017, 7:04:40 AM7/4/17
to 'Joshua Lagonera (Mobile Ads SDK Team)' via Google Mobile Ads SDK Developers
Thanks for getting back to me.  It doesn’t happen on my device so it’ll take me a little while to get the Charles’ Proxy.  However, the error we get when we run it in Xcode is pasted below.  Note - we are not using mediation at this time and are using the rewards ad test ID (ca-app-pub-3940256099942544/1712485313).  On all phones, the interstitial works perfectly (again, the test ad).  All other network communications work (the app sends and receives data with our server, can make in app purchases with Apple, can receive notifications).  The only thing not working on these devices is the rewards ad from AdMob.

2017-07-03 21:24:47.439357-0400 [12424:5202790] <Google> Cannot find an ad network adapter with the name(s): com.google.DummyAdapter. Remember to link all required ad network adapters and SDKs, and set -ObjC in the 'Other Linker Flags' setting of your build target.
Reward based video ad failed to load.
Error: Error Domain=com.google.ads Code=9 "No ad returned from any ad server." UserInfo={NSLocalizedDescription=No ad returned from any ad server., NSLocalizedFailureReason=No ad returned from any ad server.}


--

---
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/IJHU0Qqj1C0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
To post to this group, send email to google-adm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Jul 5, 2017, 4:10:33 AM7/5/17
to Google Mobile Ads SDK Developers
Hi Jim,

It is interesting that you are not able to receive ads using out Test Ad Unit IDs. However, the error you are receiving may simply mean that no Ad is available to be served on your end. Can you try creating a new Ad Unit ID and verify if you can still replicate the issue? Please also share with us the Ad Unit ID you used. Can you also make sure that Limit Ad Tracking is turned off in your iPhone's settings under Privacy > Advertising and try to Reset your Advertising Identifier?

Additionally, the error you are receiving can mostly be remedied by Setting up Mediation with your Ad Unit ID to increase the available Ad Inventory on your end and reduce the occurrence of the error.

Regards,
Joshua Lagonera
Mobile Ads SDK Team

On Tuesday, July 4, 2017 at 7:04:40 PM UTC+8, Jim wrote:
Thanks for getting back to me.  It doesn’t happen on my device so it’ll take me a little while to get the Charles’ Proxy.  However, the error we get when we run it in Xcode is pasted below.  Note - we are not using mediation at this time and are using the rewards ad test ID (ca-app-pub-3940256099942544/1712485313).  On all phones, the interstitial works perfectly (again, the test ad).  All other network communications work (the app sends and receives data with our server, can make in app purchases with Apple, can receive notifications).  The only thing not working on these devices is the rewards ad from AdMob.

2017-07-03 21:24:47.439357-0400 [12424:5202790] <Google> Cannot find an ad network adapter with the name(s): com.google.DummyAdapter. Remember to link all required ad network adapters and SDKs, and set -ObjC in the 'Other Linker Flags' setting of your build target.
Reward based video ad failed to load.
Error: Error Domain=com.google.ads Code=9 "No ad returned from any ad server." UserInfo={NSLocalizedDescription=No ad returned from any ad server., NSLocalizedFailureReason=No ad returned from any ad server.}


On Jul 4, 2017, at 2:19 AM, 'Joshua Lagonera (Mobile Ads SDK Team)' via Google Mobile Ads SDK Developers <google-admob-ads-sdk@googlegroups.com> wrote:

Hi there,

This may indicate that it is a Device Specific issue. Can you share with us the following information for us to further investigate the issue?
  • Error logs from the devices which are not getting ads.
  • Logs from Charles' Proxy with SSL Proxying enabled, to investigate for any network-related issues.
Regards,
Joshua Lagonera
Mobile Ads SDK Team

On Tuesday, July 4, 2017 at 9:41:09 AM UTC+8, Jim wrote:
To be clearer - I am not using FireBase - just Admob directly.  Also, the interstitials work on all devices and simulators.  It's the reward ad that only works on some.

On Monday, July 3, 2017 at 8:50:54 PM UTC-4, Jim wrote:
I have an unpublished IOS app and am using interstitial and reward video ads.  On my simulator and on two separate phones, everything works perfectly.  I get both types of test ads (I'm using ca-app-pub-3940256099942544/1033173712 and ca-app-pub-3940256099942544/1712485313 for the test ads).  However, on two other phones (all iphone 6's) used by two other developers (all of us in the same metro area), they are receiving an error - code 9 - No Ad returned from any ad server.  Domain is com.google.ads.  I can't figure out why it would work fine on Xcode simulators (two different machines), and on two iPhones, but not on the other two?  Any ideas what to look for?



--

---
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/IJHU0Qqj1C0/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.

Admin

unread,
Jul 5, 2017, 10:35:59 AM7/5/17
to google-adm...@googlegroups.com
Joshua,

The LIMIT AD TRACKING is what was causing it.  Thanks for your help.  Did not need a new ad unit.  Are reward ads not available if they have that on, or will mediation with multiple networks resolve that?

Thanks for the quick response.
To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
To post to this group, send email to google-adm...@googlegroups.com.

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Jul 5, 2017, 11:14:58 AM7/5/17
to Google Mobile Ads SDK Developers
Hi there,

Glad the issue was resolved! 

As for your second concern, ideally the Limit Ad Tracking should not have any considerable effect on Rewarded Ads. Mediation can only assist in increasing the available Ad Inventory to reduce the rate at which a No Fill Error occurs.

Regards,
Joshua Lagonera
Mobile Ads SDK Team

On Wednesday, July 5, 2017 at 10:35:59 PM UTC+8, Jim wrote:
Joshua,

The LIMIT AD TRACKING is what was causing it.  Thanks for your help.  Did not need a new ad unit.  Are reward ads not available if they have that on, or will mediation with multiple networks resolve that?

Thanks for the quick response.

Admin

unread,
Jul 5, 2017, 12:20:51 PM7/5/17
to google-adm...@googlegroups.com
Thanks - note that consistently Limit Ad Tracking turned on will cause that Code=9 error on the test reward ads (not sure what it does with the real ads).  On every phone we tested - turn it on, get the error.  Turn it off, get the ad.  Note, interstitials did not have this issue at all - just the test reward ad feature.


To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
To post to this group, send email to google-adm...@googlegroups.com.

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Jul 6, 2017, 4:40:51 AM7/6/17
to Google Mobile Ads SDK Developers
Hi there,

Interesting. The Limit Ad Tracking option should not have any significant effect on Ad Serving, however I was able to replicate the same behavior even using our Test Ad Unit IDs. I will raise this issue to the team and I will get back to this thread once I have any updates.

Many thanks for your findings!

Regards,
Joshua Lagonera
Mobile Ads SDK Team

On Thursday, July 6, 2017 at 12:20:51 AM UTC+8, Jim wrote:
Thanks - note that consistently Limit Ad Tracking turned on will cause that Code=9 error on the test reward ads (not sure what it does with the real ads).  On every phone we tested - turn it on, get the error.  Turn it off, get the ad.  Note, interstitials did not have this issue at all - just the test reward ad feature.

Admin

unread,
Jul 7, 2017, 11:20:57 PM7/7/17
to google-adm...@googlegroups.com
Joshua,

Another issue.  I added Unity ads following your mediation guide.  I changed the ad ID to be the real ID (and added simulator in the testDevices for the ad request).  I added both the UnityAds framework and the UnityAdapter framework to my project.  I added all the Unity information into my reward video adMob project.  However, I only receive google ads (and about every third request I get the code=9 error, so I assume that is when it is trying to get Unity ads (which are also set to test only).

As a check, I added the code to directly show a unity reward ad using the same gameID and same placementID.  It worked perfectly.  So I’m pretty sure I have the Ads framework working correctly.

This is all done using Xcode simulator.  Any ideas?

Jim

To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
To post to this group, send email to google-adm...@googlegroups.com.

Admin

unread,
Jul 8, 2017, 12:23:31 AM7/8/17
to google-adm...@googlegroups.com
Joshua,

Another data point - did the same thing with Chartboost - again - only receiving adMob ads and get the Code=9 error occasionally.

Admin

unread,
Jul 8, 2017, 3:11:50 PM7/8/17
to google-adm...@googlegroups.com
Figured it out - can’t test mediation with test ads.  I found another thread where they recommended making the adMob ads only show up in certain countries so it forces the real ads to use the mediated networks.  Was able to confirm mediation worked with both Chartboost and Unity.
Message has been deleted

Nick Arcidy

unread,
Dec 12, 2017, 1:14:23 AM12/12/17
to Google Mobile Ads SDK Developers

Hi Joshua, 


Have there been any updates? I'm experiencing the same problems on my test devices (iPhone 6s) and would prefer to not instruct my app users to have to turn off 'Limit ad tracking'. It's more of a cumbersome workaround rather than a fix.


Thanks for your time!

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Dec 12, 2017, 2:36:41 AM12/12/17
to Google Mobile Ads SDK Developers
Hi Nick,

Thank you for reaching out to us. Upon further investigation from the team, this seems to be working as intended. Limit Ad Tracking does prevent users from receiving Rewarded Video Ads since the SDK requires the IDFA of the device when requesting for Rewarded Video Ads. 

That said, if you wish to display Rewarded Video Ads, then turning off the Limit Ad Tracking option from the device should do the trick.

Regards,
Joshua Lagonera
Mobile Ads SDK Team

Nick Arcidy

unread,
Dec 13, 2017, 12:41:04 AM12/13/17
to Google Mobile Ads SDK Developers
Hi Joshua, 

Thanks for the response!

That's fine for me, but what about users of my app? Instructing them all to go into their settings, then into 'privacy' then into 'advertising', then to turn off 'limit add tracking', just so they can view an advertisement is unrealistic.

What course of action should I take for them?

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Dec 13, 2017, 2:03:43 AM12/13/17
to Google Mobile Ads SDK Developers
Hi Nick,

As previously mentioned, the team has deemed this issue to be working as intended. I'm afraid we are not able to comment on how exactly you would have to handle this behavior for your users since it depends on your application. However, you could try adding some sort of popup message and/or something similar.

Regards,
Joshua Lagonera
Mobile Ads SDK Team

Best Mobile Android/iOS Apps & Games

unread,
Dec 13, 2017, 2:30:49 AM12/13/17
to Google Mobile Ads SDK Developers
Hello, we have the same issues with Banners. Limit Ad Tracking does not make sense.
Banners work on iOS 10 Simulators and iOS 11 iPhone X only. 

If I run app in iOS 11 not X simulator it does not show the banners: iPhone 6S, iPhone 7, iPhone 8 - tested. Error code: domain: @"com.google.ads" - code: 9

Please fix this issue ASAP, need to submit an apps update (till damned Apple go to holidays and will send their customers to jerk off).

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Dec 13, 2017, 3:31:33 AM12/13/17
to Google Mobile Ads SDK Developers
Hi there,

Can you check if you can replicate the issue on our sample apps? Kindly note that the Limit Ad Tracking option should not affect serving of Banner Ads, only for Rewarded Video Ads.

Seeing as your issue doesn't seem to be related to the original concern reported in this thread, I would recommend that you create a new thread further describing your concern and we will be glad to assist you from there. This is to ensure we have a consistent flow of discussion among developers and each of their issues.

Regards,
Joshua Lagonera
Mobile Ads SDK Team

Arun Kumar

unread,
Jun 19, 2018, 9:22:20 AM6/19/18
to Google Mobile Ads SDK Developers
 Even the sample App and Sample Ids inside also giving the same response

Reward based video ad failed to load: No ad returned from any ad server.

2018-06-19 18:51:52.637576+0530 RewardedVideoExample[579:76327] <Google> Cannot find an ad network adapter with the name(s): com.google.DummyAdapter. Remember to link all required ad network adapters and SDKs, and set -ObjC in the 'Other Linker Flags' setting of your build target.


mobileadssdk-a...@google.com

unread,
Jun 19, 2018, 3:22:26 PM6/19/18
to Arun Kumar, Google Mobile Ads SDK Developers
Hello Arun, 

This looks like an old post.  We recommend that you open a new thread for any new issues for better tracking. This said, could you share us your Ad Unit ID, so I can take a look? Could you confirm if your application is published to the App Store? You can reply back via Reply privately to author option. 

Thanks,
Bharani Cherukuri
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