Facebook AudienceNetwork加载失败:未填充,错误消息“未填充",FaceBook android Advertise的原因是什么? [英] Facebook AudienceNetwork loaded failure: No fill, Error Message "No fill", what is the reason about FaceBook android Advertise?
问题描述
Facebook AudienceNetwork加载失败:未填充,错误消息未填充",关于FaceBook android Advertise的原因是什么?而Facebook广告会显示我的加载频率,频率有限制吗?
Facebook AudienceNetwork loaded failure: No fill, Error Message "No fill", what is the reason about FaceBook android Advertise? And facebook ad offten shows me load frequency, the frenquent has limits?
推荐答案
您需要添加测试设备.转到logcat并键入Facebook
,您将看到类似这样的消息,这也是解决方案:
You need to add a test device. Go to logcat and type Facebook
and you will see a message like this, which is also the solution:
在使用Facebook广告单元测试您的应用程序时,您必须指定 设备的哈希ID以确保投放测试广告,请添加以下内容 加载广告之前输入代码: AdSettings.addTestDevice("328404cebf50ec1fdb05795c0007a8a7");
When testing your app with Facebook's ad units you must specify the device hashed ID to ensure the delivery of test ads, add the following code before loading an ad: AdSettings.addTestDevice("328404cebf50ec1fdb05795c0007a8a7");
因此将其添加到您的onCreate方法中:
So add this to your onCreate method:
AdSettings.addTestDevice("328404cebf50ec1fdb05795c0007a8a7");
(不要忘记使用您自己的哈希ID.)
(Don't forget to use your own hash id.)
这篇关于Facebook AudienceNetwork加载失败:未填充,错误消息“未填充",FaceBook android Advertise的原因是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!