Mitsuhiko Shimomura Mitsuhiko Shimomura - 1 year ago 129
Swift Question

AdMob interstitial error "Request Error: No ad to show"

I'm developing an iOS application using Swift2 and Xcode7. I'm trying to implement AdMob but it doesn't display my interstitial ad.

override func viewDidLoad() {

_interstitial = createAndLoadInterstitial()

func createAndLoadInterstitial()->GADInterstitial {
let interstitial = GADInterstitial(adUnitID: "interstitial_ID")
let gadRequest:GADRequest = GADRequest()
gadRequest.testDevices = ["test device id"]
interstitial.delegate = self

return interstitial!

func interstitialDidReceiveAd(ad: GADInterstitial!) {

func interstitial(ad: GADInterstitial!, didFailToReceiveAdWithError error: GADRequestError!) {

func interstitialDidDismissScreen(ad: GADInterstitial!) {
_interstitial = createAndLoadInterstitial()

I receive this error:

Request Error: No ad to show.

enter image description here

Answer Source

Request Error: No ad to show.

means that your request was successful but that Admob has no ad to show for your device at this time. The best way to ensure that you always have ads to show is to use mediation so that an unfulfilled request falls through to another ad network. Admob provides good mechanisms to do that.