Domain=com.google.ads Code=1 "Request Error: No ad to show."

3,480 views
Skip to first unread message

xu Lara

unread,
Aug 15, 2016, 11:52:41 PM8/15/16
to Google Mobile Ads SDK Developers
Dear Admob support,
I create the native ad yesterda,and test it on my ipad devices.But it can't show the ad and print the log "Error Domain=com.google.ads Code=1 "Request Error: No ad to show." UserInfo={NSLocalizedDescription=Request Error: No ad to show., NSLocalizedFailureReason=Request Error: No ad to show.}"
The Interstitial Ad can show Correctly,the native ad id is "ca-app-pub-5876238255511811/8734471086 "

Can you help me to check what's the problem?
Thank you so much

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Aug 16, 2016, 2:08:44 AM8/16/16
to Google Mobile Ads SDK Developers
Hi there,

Thanks for providing your Ad Unit ID to help in investigating your issue.
Upon testing your Ad Unit ID on our sample apps, I have successfully replicated your issue when I tried setting the size of the NativeExpressAdView outside the allowed size. Native Express Ads have an Ad Size convention which should be followed or ads will not be shown since the ad is trying to request and render an Ad Size not belonging to any template size.
Could you please try resizing your NativeExpressAdView based on the template size you selected for your Native Express Ad and the Ad Size convention linked above.
If, however, you are complying with the Ad Size convention for Native Express Ads, kindly provide a sample code snippet on how you are implementing your Native Express Ads, or a sample project that can replicate the error.

Feel free to get back to us if you encounter any more issues.

Regards,
Joshua Lagonera
Mobile Ads SDK Team

xu Lara

unread,
Aug 16, 2016, 2:40:12 AM8/16/16
to Google Mobile Ads SDK Developers

I Have set the GADSize which the with and height are both in the range.But it still report the same error.
Auto Generated Inline Image 1
Auto Generated Inline Image 2

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Aug 16, 2016, 4:13:48 AM8/16/16
to Google Mobile Ads SDK Developers
Hi there,

Judging from the code you sent, please do not directly modify the "size" property of a GADAdSize object as it is not recommended. If you want to create your own custom GADAdSize, please use the method getGADAdSize() or use one of the available GADAdSize constants.

Regards,
Joshua Lagonera
Mobile Ads SDK Team.

xu Lara

unread,
Aug 16, 2016, 4:58:05 AM8/16/16
to Google Mobile Ads SDK Developers

HI ,I have use the GADAdSize Constants,but it still can't work.
Can you help me to check whether you can show the ad correctly with this ad id?

在 2016年8月16日星期二 UTC+8上午11:52:41,xu Lara写道:
Auto Generated Inline Image 1

xu Lara

unread,
Aug 16, 2016, 5:37:40 AM8/16/16
to Google Mobile Ads SDK Developers
By the way,I'm using the admob SDK 7.7.0.
I don't use the newest SDK because the robovm is wind down,and 7.7.0 is the lastest version it support.
I don't know what's the problem on,and I try many ways, set the GADSize,change the ad id and add test devices and so on,but still doesn't work.

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Aug 16, 2016, 11:53:08 AM8/16/16
to Google Mobile Ads SDK Developers
Hi Lara,

We currently do not support RoboVM. You would have to use our Android SDK natively to load ads. If you are migrating to Native Android, then you can certainly use our SDK to load ads.

Thanks,
Veer Busani
Mobile Ads SDK Team

xu Lara

unread,
Aug 16, 2016, 6:35:20 PM8/16/16
to Google Mobile Ads SDK Developers
ok,thanks for you info.

xu Lara

unread,
Aug 16, 2016, 9:44:54 PM8/16/16
to Google Mobile Ads SDK Developers
HI
Is the admob NativeExpressAds avaiable on ios using my admob ad id "ca-app-pub-5876238255511811/8734471086 "?

Robovm is using binding to call the ios function,If the ios can receive the ads, I Think the robovm will receive the ads too.
 Can you kindly  help me to check whether it can receive the nativeExpressAds on ios devices using your sample writing with obj-c or swift?
Because I know little about the obj-c and switf.
Thank you very much.


在 2016年8月16日星期二 UTC+8下午11:53:08,Veer Arjun Busani(Mobile Ads SDK Team)写道:

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Aug 17, 2016, 9:42:19 AM8/17/16
to Google Mobile Ads SDK Developers
Hi Lara,

I was unable to receive any ads with that Ad Unit ID and it looks like you need to contact our AdMob Product Support team to get this resolved. Send all of your effected Ad Unit Ids and they would be able to look into this issue.

Thanks,
Veer Busani
Mobile Ads SDK Team

xu Lara

unread,
Aug 17, 2016, 11:24:46 PM8/17/16
to Google Mobile Ads SDK Developers
OK,I will ask them for more infomation.
Thanks anyway.

Vivek Vishwakarma

unread,
Jun 8, 2017, 5:00:07 AM6/8/17
to Google Mobile Ads SDK Developers
Hi Joshua,

I am also facing same issue with Banner Ads.

It is a Xamarin Forms app and I followed this blog http://motzcod.es/post/154696375922/xamarinforms-google-admob-ads-in-ios 

It works on all the iOS devices except iPhone-7 and later. My Ad Unit Id is ca-app-pub-9643342061278065/7336458030

Feel free to let me know if you need more details.

Thanks,
Vivek Vishwakarma

Bharani Cherukuri (MobileAds SDK Team)

unread,
Jun 8, 2017, 10:20:55 AM6/8/17
to Google Mobile Ads SDK Developers
Hello Vivek, 

Joshua is out of office today, so I will be assisting you with this case. As mentioned by my colleague here, you would have to use our SDK to implement native Android and iOS applications. We do not provide any official support for Xamarin implementations. You may consider searching for other third party solutions.

Let me know if you have any other questions.

Thanks,
Bharani Cherukuri
Mobile Ads SDK Team

supreet tare

unread,
Jun 9, 2017, 2:35:31 AM6/9/17
to Google Mobile Ads SDK Developers
Hi Bharni, 
I understand you do not provide official support for Xamarin. But the error posted by Vivek is from Google, can you shade some more light on what exactly the cause of that error be? At what point does google decides to through this particular error? 

Looking for your answer. 

Thanks 
ST

Bharani Cherukuri (MobileAds SDK Team)

unread,
Jun 9, 2017, 10:14:45 AM6/9/17
to Google Mobile Ads SDK Developers
Hello Supreet, 

The issue looks more of a Xamarin implementation issue. I was able to load ads using your Ad Unit ID with our native iOS sample apps on iPhone 6s and iPhone 7 10.3 (attached screenshots). As mentioned previously, we do not provide support for Xamarin at this moment. We only provide support for native Android and iOS applications. 

Let me know if you have any other concerns.

Thanks,
Bharani Cherukuri
Mobile Ads SDK Team

Screen Shot 2017-06-09 at 9.58.54 AM.png
Simulator Screen Shot Jun 9, 2017, 9.57.16 AM.png

Vivek Vishwakarma

unread,
Jul 12, 2017, 5:10:24 AM7/12/17
to Google Mobile Ads SDK Developers
Hi Guys,

It is just FYI.

This issue is resolved now. For more details kindly check this StackOverflow post

I hope it helps.

Thanks,
Vivek Vishwakarma
Reply all
Reply to author
Forward
0 new messages