Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS AdMob : Error No Ad to Show

Currently using AbMob SDK version 7.29.0.

We are facing issue where we are unable to show ad and it giving us an error as follow:

adView:didFailToReceiveAdWithError: Request Error: No ad to show.

It is working fine with iOS 11 and showing ad but it is causing issue with iOS 10.

like image 731
user6538263 Avatar asked Oct 16 '22 21:10

user6538263


1 Answers

Add this and it will show ad in your device as well.

let request =  GADRequest()
request.testDevices = ["2c4bfb4fb853b3d9b03c68578176d3a7"]
self.load(request)

Also, it might be because you have not linked Admob ads to live application. Once your application is live and you connect it to Admob, it will start showing ad.

Remember, you won't be able to search your app while trying to connect to Admob immediately once the app is approved by Apple. This is because Apple will require sometime to index your app and Google also requires 1-2 days to refresh the cache to show your app in Admob searching result. So, wait for 2 days and try again to connect your app. Once you do this successfully, you will be able to see ads on your device as well.

Hope this helps.

like image 140
Santosh Avatar answered Oct 21 '22 02:10

Santosh