Home
Sign Up
Sign In
iOS 开发实用技术导航
NSHipster 中文版
›
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
›
http://www.cocos2d-iphone.org/
CocoaPods
›
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
›
http://code.google.com/mobile/analytics/
WWDC
›
https://developer.apple.com/wwdc/
Design Guides and Resources
›
https://developer.apple.com/design/
Transcripts of WWDC sessions
›
http://asciiwwdc.com
Cocoa with Love
›
http://cocoawithlove.com/
Cocoa Dev Central
›
http://cocoadevcentral.com/
NSHipster
›
http://nshipster.com/
Style Guides
›
Google Objective-C Style Guide
›
NYTimes Objective-C Style Guide
Useful Tools and Services
›
Charles Web Debugging Proxy
›
Smore
Advertisement
V2EX
›
iDev
iAd 载入失败应该如何处理?
Hector01
·
Jan 5, 2014
· 4453 views
This topic created in 4690 days ago, the information mentioned may be changed or developed.
用 ADBanner 需要实现代理方法 bannerView:didFailToReceiveAdWithError:
我不明白广告载入失败后该怎么处理,只是隐藏相关 banner 么。。可以设置默认广告吗?
请问各位是怎么做的?
载入
广告
失败
6 replies
•
1970-01-01 08:00:00 +08:00
yileiyang
Jan 5, 2014
1
1
对隐藏banner。
可以弄一个默认广告,或者显示AdMob广告,或者干脆用admob mediation吧。
Hector01
OP
Jan 5, 2014
1
2
@
yileiyang
感谢~请问默认广告也是iAd么?该怎么弄呢?暂时不太想搞AdMob~
yileiyang
Jan 5, 2014
1
3
@
Hector01
iAd不支持serve house ad,建议用AdMob SDK可以设置默认广告,(用它的SDK并不代表你一定要放它家的广告)
可以看看AdMob Mediation,设置成只放iAd以及你的house ad
doskoi
Jan 5, 2014
4
@
Hector01
加载失败也可用放一个frame一样的webview显示自己的任意内容,比如广告,或者news。。webview在失败就可以隐藏了。。
Hector01
OP
Jan 7, 2014
5
@
yileiyang
我目前的方法就是隐藏,或者保持之前载入过的广告(用了一个静态变量),逻辑上看只要载入成功过应该就不会消失了吧。。先提交试试看,等1.01版本的时候再研究AdMob SDK去~非常感谢你的解答~
Hector01
OP
Jan 7, 2014
6
@
doskoi
那这个webview能有收益么。。
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
758 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 25ms ·
UTC 23:15
·
PVG 07:15
·
LAX 15:15
·
JFK 18:15
♥ Do have faith in what you're doing.
❯