RE: [google-admob-ads-sdk] ads stopped working on IOS

552 views
Skip to first unread message
Message has been deleted

mobileadssdk-a...@google.com

unread,
Sep 24, 2018, 2:48:11 AM9/24/18
to ash a, Google Mobile Ads SDK Developers
Hi,

I deleted your original post as it contains your Ad Unit Id which is considered as confidential information. Please don't post your Ad Unit Ids in the public forums.

For reference, below is a copy of your original post with the Ad Unit Id redacted.

Have a project - the test ads were working fine - i think until i linked the admob with firebase project.

Now when i try to load a reward test ad - ca-app-pub-3940256099942544/1712485313 

I get this error in the console:

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

HandleRewardBasedVideoFailedToLoad event received with message: Failed to receive ad with error: No ad returned from any ad server.

AdmobAdsManager:HandleRewardBasedVideoFailedToLoad(Object, AdFailedToLoadEventArgs)


If i try to load a reward "real" ad - ca-app-pub-xxxxxxxxxxxxxxx/xxxxxxxxxx


I will get the following error:


HandleRewardBasedVideoFailedToLoad event received with message: Failed to receive ad with error: Request Error: No ad to show.

AdmobAdsManager:HandleRewardBasedVideoFailedToLoad(Object, AdFailedToLoadEventArgs)



the same implementation is working fine on android - its only IOS that stopped working - i saw the nice red head guy dozens of times saying he is going to bring the callback.....


using unity 2018.2.6.1f


google mobile ads sdk is 7.33.1 (updated today after the errors recommended to do so).


This thing was working - i am really suspecting the firebase link - however i did make new app in admob and in firebase and i get the exact same error - and i get it on 2 different iOS devices. 


please advise - i didn't see anyone with a similar issue.

Regards,
Ivan Bautista
Mobile Ads SDK Team

mobileadssdk-a...@google.com

unread,
Sep 24, 2018, 2:49:57 AM9/24/18
to ash a, Google Mobile Ads SDK Developers
Hi,

Thank you for the details provided and for testing both for the Android and iOS builds.

Test ads should always load if you are using one of our sample Ad Unit Ids so it is odd that a DummyAdapter error message was thrown when using our sample Rewarded Ad Unit Id.

On the other hand, I tested your live Ad Unit Id with our sample app and I was able to load ads on my end. 

That said, I already raised this to the rest of the team and I'll get back to you for any findings.

Regards,
Ivan Bautista
Mobile Ads SDK Team


ash a

unread,
Sep 24, 2018, 3:40:54 AM9/24/18
to mobileadssdk-a...@google.com, google-adm...@googlegroups.com
Thank you for your support. 

ash a

unread,
Sep 24, 2018, 3:45:43 AM9/24/18
to Google Mobile Ads SDK Developers
Hello dear Ivan,

let me give you more details and ask a question.

I am using 2 stand alone plugins for unity - the firebase plugin and the admob plugin - things were working fine on both platforms.

the other day i LINKED the firebase and admob projects in the admob project setting.

i think this caused the errors to start appearing.

I went back in time in the git to older version of the implementation and i get the same error i posted above.

Further more - if i use the normal add unit id - the real one - not the test one ( i know its not allowed - i had to test)  - i can make it work once on the ipad - each time it will play one time the real ad - if i want it to play again - i need to go to the device setting and refresh the Limit Ad Tracking feature on the ipad setting.

i get the exact same error on an iphone.

i know the implemantation is ok - because its working well on the android devices i tried.

I have another question - i saw that there is also a possibility to use a firebase abmob plugin - seems like a combined one - instead of 2 stand alones.

Also - the two implementations are slightly different 


The best way to use AdMob is with Firebase, but for those publishers who aren't ready to make the switch just yet, the Google Mobile Ads SDK can be used as a standalone SDK."


Now those 2 different options also reflect on the pod file for ios - one of them makes pod Firebase/Admob 
and the other option is pod Google Mobile Ads SDK

those are 2 different libraries 


this is sample code for admob stand alone 

using GoogleMobileAds.Api;


and this is when combined

using admob;

you can see that its different.

as far as i could tell i can use both - the explanations are not clear - can i use both? do i have to pick the combined plugin?

On Monday, September 24, 2018 at 10:40:54 AM UTC+3, ash a wrote:
Thank you for your support. 

mobileadssdk-a...@google.com

unread,
Sep 24, 2018, 8:49:08 AM9/24/18
to ash a, Google Mobile Ads SDK Developers
Hi,

Please note that as per guide, even when integrating Firebase to your Unity project, AdMob is distributed separately in this official Google Mobile Ads Unity plugin. On the other hand, this plugin (https://github.com/unity-plugins/Firebase-Admob-Unity/wiki) that you are referring to is a different plugin and is not officially supported by the Mobile Ads SDK.

This Google Mobile Ads Unity plugin is the only officially supported Unity plugin to integrate AdMob Ads to your Unity app.

As for the native iOS SDK implementation, the Firebase/AdMob dependency is pointing to the standalone Mobile Ads SDK for iOS so either of the two dependencies can be used but not both at the same time since they are practically just the same SDKs.

That said, we are still looking into the DummyAdapter error you've encountered and we will update this thread for any 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/35b21709-99b5-42f2-9300-6cce354e7f51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Justin Haar

unread,
Sep 24, 2018, 9:17:30 AM9/24/18
to Google Mobile Ads SDK Developers
Hi Ivan,

I'm receiving the same error:

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


Request Error: Cannot find an ad network adapter for mediation.


Pierre

unread,
Sep 24, 2018, 10:04:57 AM9/24/18
to google-adm...@googlegroups.com
I just upgraded to the latest iOS SDK 7.33.1 and VideoRewards using the test ad unit do not function anymore.
Banner ads work correctly.
EDIT: just to clear up, I am using a custom engine without unity or any other tools. AdMob code runs through Objectiv-C

The error happens right after the caching:
<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.

rewardBasedVideoAd:didFailToLoadWithError: 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.}

mobileadssdk-a...@google.com

unread,
Sep 25, 2018, 2:00:20 AM9/25/18
to Pierre, Google Mobile Ads SDK Developers
Hi everyone,

Please note that the team is actively working on the "DummyAdapter" error message thrown when loading our sample Rewarded Ad Unit Id (ca-app-pub-3940256099942544/1712485313). Rest assured that we will get back to this thread for any updates.

On the other hand, the "DummyAdapter" error seems to be reproducible only with our sample Rewarded Ad Unit Id for iOS but not with live Ad unit Ids. Could you confirm on your end if the "DummyAdapter" error is reproducible if you load your live Ad Unit Id?

Regards,
Ivan Bautista
Mobile Ads SDK Team


On 09/24/18 22:04:56 pfl...@hotmail.com wrote:
I just upgraded to the latest iOS SDK 7.33.1 and VideoRewards using the test ad unit do not function anymore.
Banner ads work correctly.

The error happens right after the caching:
<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.

rewardBasedVideoAd:didFailToLoadWithError: 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 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.

Pierre

unread,
Sep 25, 2018, 4:23:03 AM9/25/18
to Google Mobile Ads SDK Developers
Hi Ivan, I will give it a try.
But I hope my account won't end up being blocked because I feed live ads to my development device.

A publisher I work for has their AdMob account blocked, and we do not know why. No way to contact anyone about it, I tried all channels. Really devastating for a small team.

Pierre

unread,
Sep 25, 2018, 4:56:04 AM9/25/18
to Google Mobile Ads SDK Developers
@Ivan, I used a live ad unit ID and did a cache on the video (no playback).
And yes, it works! No issue whatsoever.

I also tried the test ad unit ID in addition to setting up my test device ID, but this also produced the same error.

Just to be sure, I used the live ad unit ID again with setting up my test device.
Unfortunately, I had a bug in my code and it served the real ad. (I thought GADRequest is a singleton).
Anyways, yet another test with the test device setup and the live ad unit ID also worked.

To sum it up: Only the reward video test ad unit ID is not working.



On Tuesday, September 25, 2018 at 8:00:20 AM UTC+2, mobileadssdk-a...@google.com wrote:

Tech Harris

unread,
Sep 25, 2018, 5:51:47 AM9/25/18
to Google Mobile Ads SDK Developers

mobileadssdk-a...@google.com

unread,
Sep 25, 2018, 5:59:39 AM9/25/18
to Pierre, Google Mobile Ads SDK Developers
Hi Pierre,

Thank you for confirming that the "DummyAdapter" is only reproducible with our sample Rewarded Ad Unit Id and you were able to load ads using your live Rewarded Ad unit Id. Please note that the team is actively investigating on the "DummyAdapter" error encountered in our sample Rewarded Ad Unit id and we'll get back to this thread for any updates.

In the mean time, for testing purposes, you can also load your live Ad Unit Id on an enabled test device or an iOS simulator.

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.

ash a

unread,
Oct 8, 2018, 9:12:43 AM10/8/18
to Google Mobile Ads SDK Developers
Hello Google Admob team, 
any update on the issue - Its already a couple of weeks.

Thanks 
Alon

mobileadssdk-a...@google.com

unread,
Oct 9, 2018, 2:23:52 AM10/9/18
to ash a, Google Mobile Ads SDK Developers
Hi Alon,

Thank you for checking in on this.

For testing purposes, could you try to load the sample Rewarded Ad Unit Id on an enabled test device and let us know the results on your end?

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.

--

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

ash a

unread,
Oct 10, 2018, 9:04:19 AM10/10/18
to Google Mobile Ads SDK Developers
Hello Ivan,
i tested again, using the reward ad test - first without adding my device as test and second with.

It works fine in both scenarios - and once i add the device ID i see the "Test Ad" label.

HOWEVER - the ads i am getting look like real ads - they dont have the admob guy that is saying he will go to get the callback.. it just shows real ads (World Series Poker). just for your attention.

Further more - i can see in the console that its saying i have both admob and Firebase in the project but they are not linked together - do you think its safe to do so? i am not sure that last time i did that didnt cause the problem i complained about originally.

Thanks 
Alon
Reply all
Reply to author
Forward
0 new messages