插页式广告无法在真实测试中加载

时间:2014-04-04 18:59:02

标签: java android admob

我在我的应用上使用插页式广告。我在使用以下代码时获得测试广告:

AdRequest adRequest = new AdRequest.Builder()
            .addTestDevice(AdRequest.DEVICE_ID_EMULATOR)
            .addTestDevice("CCC40F2DAEXXXXXXXXXX5DCB16FDDE10").build();

当我使用以下代码请求广告时,我没有收到任何广告。

AdRequest adRequest = new AdRequest.Builder().build();

这是我得到的错误。

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) - 

1 个答案:

答案 0 :(得分:1)

并非总有广告可用。这就是为什么使用中介来确保您始终拥有广告的好主意。

04-04 20:56:48.880: I/Ads(27563): No fill from ad server.

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

相关问题