[英]admob on iOS - test ads don't work, but real ads do
_adMob = [[GADBannerView alloc] initWithAdSize:kGADAdSizeLeaderboard origin:CGPointZero];
_adMob.frame = CGRectMake(148, 0, 728, 90);
I'm using that above code in my project, but when i turn on test ads in the createRequest methods, I get the error Failed to receive ad with error: Request Error: No ad to show.
我在项目中使用了上面的代码,但是当我在createRequest方法中打开测试广告时,出现错误Failed to receive ad with error: Request Error: No ad to show.
If i turn test mode off, I get ads. 如果我关闭测试模式,则会收到广告。 Test mode and normal mode worked when i used kGADAdSizeSmartBannerLandscape
but I heard that smart banners aren't good for revenue. 当我使用kGADAdSizeSmartBannerLandscape
时,测试模式和正常模式有效,但我听说智能横幅不利于收入。
Would you say I should just submit my iPad app without fixing this issue? 您会说我应该只提交我的iPad应用程序而不解决此问题吗? Otherwise how would I fix this? 否则我该如何解决?
Thanks 谢谢
You Cant Use This mode for ipad Not for iPhone. 您无法为iPad使用此模式,不适用于iPhone。 If you run on iPhone device then crush ...Read below 如果您在iPhone设备上运行,则暗恋...阅读下面
// Landscape size for the iPad. // iPad的横向尺寸。 Typically 728x90. 通常为728x90。
extern GADAdSize const kGADAdSizeSmartBannerLandscape;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.