首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >间隙广告无法在真实测试中加载

间隙广告无法在真实测试中加载
EN

Stack Overflow用户
提问于 2014-04-05 02:59:02
回答 1查看 2K关注 0票数 0

我在我的应用程序上使用了间隙广告。我在使用下面的代码时得到了测试广告:

代码语言:javascript
复制
AdRequest adRequest = new AdRequest.Builder()
            .addTestDevice(AdRequest.DEVICE_ID_EMULATOR)
            .addTestDevice("CCC40F2DAEXXXXXXXXXX5DCB16FDDE10").build();

当我使用下面的代码请求广告时,我得不到任何广告。

代码语言:javascript
复制
AdRequest adRequest = new AdRequest.Builder().build();

下面是我得到的错误。

代码语言:javascript
复制
04-04 20:56:48.620: W/ResourceType(27563): Requesting resource 0x7f0b000e failed because it is complex
04-04 20:56:48.620: E/GooglePlayServicesUtil(27563): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
04-04 20:56:48.625: W/ResourceType(27563): Requesting resource 0x7f0b000e failed because it is complex
04-04 20:56:48.625: E/GooglePlayServicesUtil(27563): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
04-04 20:56:48.880: I/Ads(27563): No fill from ad server.
04-04 20:56:48.880: W/Ads(27563): Failed to load ad: 3
04-04 20:56:48.880: E/SQLiteLog(27563): (14) cannot open file at line 30241 of [00bb9c9ce4]
04-04 20:56:48.880: E/SQLiteLog(27563): (14) os_unix.c:30241: (2) open(/NotificationPermissions.db) - 
EN

回答 1

Stack Overflow用户

发布于 2014-04-05 15:44:15

并不是总有可用的广告。这就是为什么使用中介来确保你总是有一个广告是一个好主意。

代码语言:javascript
复制
04-04 20:56:48.880: I/Ads(27563): No fill from ad server.

此日志行告诉您没有可用的广告。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/22870961

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档