![](/img/trans.png)
[英]IOS - Google Admob - Error Domain=com.google.ads Code=1 “Request Error: No ad to show.”
[英]Why AdMob always shows me Request Error: No ad to show. in iOS
我已更新为最新的SDK,还确认了多次应用ID和感兴趣的广告单元ID,一切都很好,但仍然没有收到广告,却出现了这样的错误。
我正在使用此代码:
func createAndLoadInterstitial() -> GADInterstitial {
let interstitial = GADInterstitial(adUnitID: APPWSConstant.InterstitialAd_Unit_Id)
interstitial.delegate = self
let request : GADRequest = GADRequest()
interstitial.load(request)
return interstitial
}
但是,在所有情况下,它都会调用失败方法,并且不会显示任何可用的广告。 间质性:didFailToReceiveAdWithError:
请求错误:无广告显示。
广告集成和广告单元ID没问题。 主要原因
请求错误:无广告展示
是 :
希望这会帮助你。
快乐编码:)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.