Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to resolve Error = 1001 "No Fill" using Facebook Audience Network in android

Tags:

I have an Android version of my app and integrated FAN into my Application. It worked for some months but now it's displaying "NO FILL"

Error Domain=com.facebook.ads.sdk Code=**1001 "No fill"** 
UserInfo={NSLocalizedDescription=**No fill**, 
FBAdErrorDetailKey={ msg = "**No fill**"}}

And no FAN ad is shown. If I put a testing ID then it's displaying, but only on my device, not for another device.

How to resolve this problem "No Fill"?

compile 'com.facebook.android:audience-network-sdk:4.+'

Mentioned in build.gradle I've seen many questions regarding this but unable to find an answer.

I've already seen below links:

  1. Facebook AudienceNetwork loaded failure: No fill, Error Message "No fill", what is the reason about FaceBook android Advertise?

  2. facebook audience network testing on test flight No Fill

  3. Audience Network iOS Ads Suddenly Become "No Fill"

  4. Facebook Audience Network returns "No fill"

  5. Testing Audience Network Implementation

like image 957
InsaneCat Avatar asked Nov 01 '17 12:11

InsaneCat


People also ask

How do I remove the Audience Network app from Facebook?

Click Properties on the left navigation. Click on your property. Click on the app that you'd like to remove. Click Remove.

Is Facebook Audience Network shutting down?

Facebook decided to shut down its mobile web and in-stream placements because they want to focus their resources on mobile apps exclusively. A statement from them says: We've made this decision based on where we see growing demand from our partners, which is in other formats across mobile apps.


2 Answers

Try this.It solves my problem . you have to follow this steps for solve this problem In this all screenshot and steps are given .

May this help you. Because of the update in facebook developer console in audience Network tab ad-spaces group that is newly created from placements. You have to follow this steps. Might it helps others.

I have also posted screenshot along with steps details.

here Click on up-grouped for appName and then follow steps.

  1. Tick check-mark box for any one ad then make placements button will be enable.

  2. Enter name and description related to where ad will display in your app and then click on Move Button enter image description here

  3. After move one ad you can also select other ad from un-grouped ad and move it to ad-spaces , here it will shoe you choice for move to existing or create new one ad-space.
    enter image description here

  4. If you want to create new one then select radio button for new one . and click move after enter name and description. enter image description here

like image 83
Dharmishtha Avatar answered Sep 18 '22 20:09

Dharmishtha


You need add the test device to test it before your app approved by Facebook. Here is how you can get the device hash.

NSLog(@"the test device hash is %@",[FBAdSettings testDeviceHash]); 

Run the app and copy the testDeviceHash from logs then add it to FBAdSettings.

[FBAdSettings addTestDevice:@"YOUR_TEST_DEVICE_HASH_CODE_HERE"];

You need to do it before you init the FBAdView

like image 40
Max Avatar answered Sep 19 '22 20:09

Max