我在我的应用程序上使用了间隙广告。我在使用下面的代码时得到了测试广告:
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) - 发布于 2014-04-05 15:44:15
并不是总有可用的广告。这就是为什么使用中介来确保你总是有一个广告是一个好主意。
04-04 20:56:48.880: I/Ads(27563): No fill from ad server.此日志行告诉您没有可用的广告。
https://stackoverflow.com/questions/22870961
复制相似问题