android非页内广告没有显示 [英] android interstitial ad is not diplaying

查看:89
本文介绍了android非页内广告没有显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正在为测试设备显示Android非页内广告

android interstitial ad is displaying for test device

AdRequest adRequest = new AdRequest.Builder()
         .addTestDevice("XXXXXXXXXXXXXX")
                .build();
        interstitial.loadAd(adRequest);

但是发布后(删除了 addTestDevice行),我看不到任何广告。总是返回错误代码 ERROR_CODE_NO_FILL 。(来自logcat)

But after publishing(removed the "addTestDevice" line), I cannot see any ad. It always returns error code "ERROR_CODE_NO_FILL".(from logcat)

我搜索了很多内容,但无法获得满意的答案。

I searched a lot, but couldn't get a satisfactory answer. Is it one of the android's million bugs?

下面是我的admob信息中心屏幕截图。它有一些要求,但没有印象。这不是我显示广告时的代码问题所致,但在请求后加载本身失败:ERROR_CODE_NO_FILL

The below is my admob dashboard screenshot. It has some few requests, but no impression. This is not due to my code problem as I am displaying the ad, but loading itself fails after request : ERROR_CODE_NO_FILL

推荐答案

NO_FILL是标准响应。这意味着您在广告网络上发出了请求,并且该广告网络没有适合您的广告资源。

NO_FILL is a standard response. It means that you made a request on the ad network and the ad network has no inventory for you.

解决方案是在第一个广告网络中没有广告时,使用中介将其移交给其他广告网络。 Admob提供了很好的即开即用中介功能。

The solution is to use mediation to hand off to other ad networks when the first doesn't have any fill. Admob provides a good out of the box mediation.

这篇关于android非页内广告没有显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆