Admob:无“印象”(android)

问题描述 投票:1回答:2

我已经跟随所有the necessary steps使用Admob在我的android应用程序中添加横幅。

我已将设备注册为测试设备,并且标题显示如下:

“在屏幕上玩游戏”

但是,在Google Play上发布后5天,我得到了这个:

““>

在我的测试设备中,广告从未显示:

<< img src =“ https://image.soinside.com/eyJ1cmwiOiAiaHR0cHM6Ly9pLnN0YWNrLmltZ3VyLmNvbS9SZ25HTC5wbmcifQ==” alt =“在此处输入图像描述”>

有人知道为什么展示率这么低吗?

我的Android代码:

 // CREATING a Smart Banner View
 adView = new AdView(this);
 adView.setAdUnitId("ca-app-pub-xxxxxxxxxxx");
 adView.setAdSize(AdSize.FULL_BANNER);
 adView.refreshDrawableState();

 AdRequest adRequest = new  AdRequest.Builder().addTestDevice("xxxxxxxxx").build();
 adView.loadAd(adRequest);

 frameLayout.addView(adView, adViewLayoutParams);

编辑:

这里是日志(当调用不带addTestDevice方法的广告时)

08-05 10:30:51.244: I/Ads(31127): No fill from ad server.
08-05 10:30:51.244: I/Ads(31127): Scheduling ad refresh 60000 milliseconds from now.
08-05 10:30:51.244: W/Ads(31127): Failed to load ad: 3
08-05 10:31:51.300: I/Ads(31127): Starting ad request.
08-05 10:31:51.302: I/Ads(31127): Use AdRequest.Builder.addTestDevice("xxxxxxxxxxxxxxxxxxxx") to get test ads on this device.
08-05 10:31:51.313: I/Ads(31127): Please set theme of AdActivity to @android:style/Theme.Translucent to enable transparent background interstitial ad.
08-05 10:31:51.322: E/GooglePlayServicesUtil(31127): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
08-05 10:31:51.369: E/GooglePlayServicesUtil(31127): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
08-05 10:31:51.411: E/GooglePlayServicesUtil(31127): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
08-05 10:31:51.417: E/GooglePlayServicesUtil(31127): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
08-05 10:31:51.881: I/Ads(31127): No fill from ad server.
08-05 10:31:51.883: I/Ads(31127): Scheduling ad refresh 60000 milliseconds from now.
08-05 10:31:51.883: W/Ads(31127): Failed to load ad: 3
08-05 10:32:51.935: I/Ads(31127): Starting ad request.
08-05 10:32:51.937: I/Ads(31127): Use AdRequest.Builder.addTestDevice("xxxxxxxxxxxxxxxxxxxx") to get test ads on this device.
08-05 10:32:51.951: I/Ads(31127): Please set theme of AdActivity to @android:style/Theme.Translucent to enable transparent background interstitial ad.
08-05 10:32:51.964: E/GooglePlayServicesUtil(31127): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
08-05 10:32:52.007: E/GooglePlayServicesUtil(31127): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
08-05 10:32:52.058: D/dalvikvm(31127): GC_CONCURRENT freed 1010K, 45% free 6137K/11120K, paused 4ms+7ms, total 46ms
08-05 10:32:52.080: E/GooglePlayServicesUtil(31127): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
08-05 10:32:52.088: E/GooglePlayServicesUtil(31127): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
08-05 10:32:52.587: I/Ads(31127): No fill from ad server.
08-05 10:32:52.588: I/Ads(31127): Scheduling ad refresh 60000 milliseconds from now.
08-05 10:32:52.588: W/Ads(31127): Failed to load ad: 3

谢谢

我已按照所有必要的步骤在Admob的android应用程序中添加横幅。我已经将我的设备注册为测试设备,并且标题显示如下:但是,...

android admob andengine
2个回答
2
投票

请参阅


0
投票
完全没有任何广告显示。
© www.soinside.com 2019 - 2024. All rights reserved.