Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

ios

swift

admob

I spent a day to research this issue, but the result is till nothing. I need your helps, please.

I have an issue about displaying my ADMOB in my iOS app as below :

When I use test ad ID from google :

bannerUID = "ca-app-pub-3940256099942544/2934735716"

interstitialUID = "ca-app-pub-8501671653071605/2568258533"

They will be displayed perfectly in my test device - iPhone 6s (real device not simulator)

But when I replace test ad ID by my registered ad ID at google. It's not working with error (both banner and interstitial)

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

Can anyone help me? please.

like image 728
victranit Avatar asked Nov 25 '25 13:11

victranit


1 Answers

I had this issue for a short while. Don't worry, everything in your code will more than likely be spot. In my case, it fixed itself after a few days and started to show ads. Even now I still sometimes get this error when there's no ad to display - which is pretty rare. This is more likely to happen if you've recently signed up to AdMob.

like image 99
Daniel Dramond Avatar answered Nov 28 '25 03:11

Daniel Dramond



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!