Reputation: 55
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.
Upvotes: 5
Views: 5122
Reputation: 623
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.
Upvotes: 4