将多个 Admob 广告预加载到数组中?
可能的重复:
有办法在 Android 上预加载 AdMob 广告吗?< /a>
我有一个文本视图库,我允许用户在它们之间切换。每一个都显示不同的 Admob 广告。唯一的问题是有延迟。 Google 广告需要几秒钟的时间才会显示。有谁知道如何在应用程序启动时异步填充一系列广告?
Possible Duplicate:
Is there a way to preload AdMob ads on Android?
I've got a gallery of textviews, and I allow the user to flip between them. Each one shows a different Admob advertisement. The only problem is that there is a delay. It takes a few seconds for the Google ad to show up. Does anyone know how I could populate an array of ads upon app startup, asynchronously?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
来自 AdMob 内容指南:
而且从技术角度来说,SDK是这样写的,尽量不让你这么做。请求成功后就会显示横幅,并且在布局中移动 AdView 会很混乱。
From the AdMob content guidelines:
And from a technical perspective, the SDK is written in such a way to try to not let you do this. Banners are displayed as soon as the request is successful, and moving the AdView around in your layout is messy.