首页 文章

Admob:没有“印象”(android)

提问于
浏览
1

我已经跟随所有the necessary steps在我的Android应用程序中使用Admob添加 Banner .

我已将设备注册为测试设备, Banner 显示如下:

game over screen

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

admob screen

在我的测试设备中,广告永远不会显示:

enter image description here

有人知道为什么展示率如此之低?

我的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

谢谢

2 回答

  • 2

    看到

    request 在admob中表示您在应用中广告的次数被调用(链接命中)

    admob中的 impression 表示您的被叫广告向用户显示的次数

    clicks 在admob中表示用户点击显示的广告的时间

    现在在您的情况下请求是 3527 表示您的广告被调用了3527次,但在此期间只发生一次展示意味着只有一个广告会显示给您的应用用户

    并且没有点击计数器意味着没有任何用户点击它

    现在你需要等待48小时才能更新数据(asper admob政策),但是在你的情况下已经有5天完成,所以根据我的理解可能在你的代码中存在你正在使用测试模式的bug

    在xml ADVIEW标签中你提到TEST模式,所以它处于测试模式而不是真实模式我不确定但是你可能会感谢它希望它会帮助你

  • 0

    很简单,没有广告可以展示 .

    您正在发出广告请求 . 他们收到的回复没有错误 . 但回应是“没有广告显示” .

    当您在所使用的广告网络无法提供良好服务的区域投放广告时,可能会出现这种情况 . 广告填写似乎在某种程度上取决于您拥有的流量 . 因此,如果您每天只收到几百个请求,那么您可能无法访问很多/很多广告 .

    你可以做两件事来纠正:

    • 增加应用的流量

    • 如果您的第一个选择没有任何广告填充,请使用中介切换到其他广告网络 .

相关问题