代码= 1001“无填充” Facebook观众网络中的错误 [英] Code=1001 "No fill" error in Facebook Audience Network
问题描述
但是,每次运行应用程序时,仍然会收到此错误。
'BLOCKQUOTE>
错误域= com.facebook.ads.sdk代码= 1001 无填充
的UserInfo = {NSLocalizedDescription =无填充,FBAdErrorDetailKey = {
MSG =不填
我正在用swift btw做我的项目。这是我遵循的观众网络整合的网站:
https:// www .appcoda.com / facebook-ads-integration /
请帮助我解决这个问题。谢谢你。
我也面临着同样的问题,使用该娄代码解决它。
[FBAdSettings addTestDevice:[FBAdSettings testDeviceHash]];
FBNativeAd * nativeAd = [[FBNativeAd alloc] initWithPlacementID:@598719620275857_842169869264163];
nativeAd.delegate = self;
nativeAd.mediaCachePolicy = FBNativeAdsCachePolicyAll;
[nativeAd loadAd];
此代码仅用于测试模式ids,
必须删除 [FBAdSettings addTestDevice:[FBAdSettings testDeviceHash]]; while app live。
I am integrating Facebook audience network in my iOS project for the first time. Every thing is as perfect as described in the official documentation.
But still I am getting this error every time I run the app.
Error Domain=com.facebook.ads.sdk Code=1001 "No fill" UserInfo={NSLocalizedDescription=No fill, FBAdErrorDetailKey={ msg = "No fill"
I am doing my project in swift btw. and this is the site I have followed for audience network integration: https://www.appcoda.com/facebook-ads-integration/
Please help me out of this. Thanks.
I have also facing the same issue and resolve it using this bellow Code.
[FBAdSettings addTestDevice:[FBAdSettings testDeviceHash]];
FBNativeAd *nativeAd = [[FBNativeAd alloc] initWithPlacementID:@"598719620275857_842169869264163"];
nativeAd.delegate = self;
nativeAd.mediaCachePolicy = FBNativeAdsCachePolicyAll;
[nativeAd loadAd];
This code in is for test only test mode ids, Have to remove [FBAdSettings addTestDevice:[FBAdSettings testDeviceHash]]; while app live.
这篇关于代码= 1001“无填充” Facebook观众网络中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!