[iOS] "No ad returned from any ad server"

767 views
Skip to first unread message

MadJoh Corporation

unread,
Nov 17, 2016, 12:27:12 PM11/17/16
to Google Mobile Ads SDK Developers
Hello,

I have setup my app in AdMob in order to use mediation to get rewarded videos ads. I have setup Meditation adding Chartboost and AdColony. 
I added all the required information for both. Both are 'pending' on the meditation page.

Now in my project I added the AdMob SDK and intanciated it like this:

FIRApp.configure()

GADMobileAds.configure(withApplicationID: "MY_APP_ID");


Then I created a class respecting the `GADRewardBasedVideoAdDelegate` protocol and the following function:

public func loadAd()

{

    var video = GADRewardBasedVideoAd.sharedInstance()

    video.delegate = self

    video.load(GADRequest(), withAdUnitID: "MY_AD_UNIT")

}


but I always receive the following error:  `No ad returned from any ad server.`

Thank you for your help,

Best regards,

Valentin

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Nov 17, 2016, 12:44:50 PM11/17/16
to Google Mobile Ads SDK Developers
Hi Valentin,

SDK Integration:
  • There are several steps to integrate Reward Video Ads to be served via the Mobile Ads SDK. 
  • For starters, you can use our sample app and copy over your Ad Unit ID. 
  • Then, you need to copy over the Mediation network's SDK and Adaptor into your project and both these can be found here
Ad Serving setup:
  • For your Ad Unit ID, the "pending" status only means that the AdMob dasboard is trying to load the eCPM values from your mediation network. 
    • Note that this would not affect from ads being served in any ways and is only meant for reporting purposes. 
  • Next, make sure that you are serving test ads from your mediation network as this would ensure that ads are consistently served during testing. 
  • Finally, newly created Ad Unit IDs take a few hours to start serving ads. So, I would suggest you to try again later and see if you are able to load ads.
Also, here is a sample app that comes with Chartboost and Applovin mediation setup that you can test with.

Thanks,
Arjun Busani
Mobile Ads SDK Team

MadJoh Corporation

unread,
Nov 17, 2016, 12:48:56 PM11/17/16
to Google Mobile Ads SDK Developers
Hello,

Thank you for the fast reply. I didn't know about the adapter, but I've done the SDK. Just to be sure: I just need to add and init the SDKs ? (And same with the adapters ?)

Thanks you for the clarification about the pending status.

And the app was created 48h ago, that's why I was posting this message today.

Anyway, I'll add the adapters and let you know,

Regards, 

Valentin

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Nov 17, 2016, 1:00:52 PM11/17/16
to google-adm...@googlegroups.com
Hi Valentin,

You do not need to init the Mediation SDKs as this is taken care of by the Adaptor. When you receive an ad from a different network, the Mobile Ads SDK would look for the respective Adaptor, which in turn will initialize the mediation SDK and render out the AdView. If you want to learn more about this or want to serve ads from an unsupported network, you can chec kout Custom Events.

Thanks,
Arjun Busani
Mobile Ads SDK Team

MadJoh Corporation

unread,
Nov 17, 2016, 2:21:21 PM11/17/16
to Google Mobile Ads SDK Developers
Hi again,

Thank you for your help, I just added the AdColony Adapater and now I can display their test video. I'll add the other adapters and test in production so I can close this thread if everything works fine. 

Thank you !

Regards,

MadJoh Corporation

unread,
Nov 21, 2016, 10:55:06 AM11/21/16
to Google Mobile Ads SDK Developers
Hello,

First of all, thanks for helping me setting this up.
But now I have another problem:

Once the app is ready, I want to submit it and thus create an archive. But during the archiving, I receive the following error:

`bitcode bundle could not be generated because '/Users/Val/Documents/Projects/Madjoh/Versus/libAdapterChartboostAds.a(GADMAdapterChartboostSingleton.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture armv7`

The only way I can build is by removing bitcode.. However, I want to add the bitcode in my archive... How can I fix this problem ?


Thank you for your help.

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Nov 21, 2016, 11:44:32 AM11/21/16
to Google Mobile Ads SDK Developers
Hi there,

The Charboost Adaptor is not yet Bitcode enabled and the team is aware of this issue. While we are in the process of enabling this and make a new adaptor release, I would suggest you to flag off Bitcode from your Build Settings.


Thanks,
Arjun Busani
Mobile Ads SDK Team

MadJoh Corporation

unread,
Nov 21, 2016, 11:52:27 AM11/21/16
to Google Mobile Ads SDK Developers
Hello,

I do need to bitcode I my app, it is a game and thus I need Apple's optimisations and size shrink. 

Do you have the list of adapters that do have bitcode and thus can be used for my kind of ads (Rewarded videos) ?

Thank you,

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Nov 21, 2016, 12:34:37 PM11/21/16
to Google Mobile Ads SDK Developers
Hi there,

Currently - UnityAd, AdColony, Applovin and Vungle are BitCode enabled. InMobi is not and you would have to check with Fyber and Fuse network to see if they have enabled Bitcode in their adaptors.

Thanks,
Arjun Busani
Mobile Ads SDK Team

Reply all
Reply to author
Forward
0 new messages