Test your Facebook Audience Network SDK implementation to verify the experience before pushing it to production. Audience Network offers both client-side and server-side testing methods.
Server-side testing involves configuring the Monetization Manager(MoMa) without the need of writing any code in your app. You can test with a device, to see both test ads and production ads, and Test Users, to see demographically targeted production ads.
When testing your ad placements, Facebook will intentionally send a no-fill for about 20% of requests to allow you to test how your app or mobile website handles the no-fill case.
The quickest way to test your integration is to test with a device. This testing lets you see both test ads and production ads. Note, production ads are not demographically targeted. Use test users to test targeting.
In the Monetization Manager, hover over the left side navigation bar and select Integration --> Testing. You must be signed into the Business Manager as an admin.
Check the box to Use real advertiser content checkbox is checked. This enables you to see real Audience Network advertisements on your test devices. Our ad system will sample a list of ads with different creative types (i.e. videos, images, carousels) or even different locales so you can see how real ads look in your integration. These ads will not generate revenue from any impressions or clicks.
Add test devices either manually entering device IDs or by uploading a CSV. Enter the Google Advertising ID (AAID) for Android devices and the Identifier for Advertising (IDFA) for iOS devices and name each device.
Once you have added a device you can Select Ad Type to be viewed on your device.
Click a Test link to view a specific media type on your device. The media type should appear on your device for 5 minutes after you selected it. Only one media type can be tested at one time.
Add people to your property to test production ads that have been demographically targeted.
Go to your Business Manager Settings, navigate to Users > People in the left side navigation bar then click the Add button.
Enter the email or emails of the people you want to add to your app and click Next. All invitations give people employee access by default.
When the Assign Access dialog box is displayed, select Apps from the left side menu. Select the app you are adding the tester to, and click the Test app toggle switch. Then, Click Invite.
If you are using any mediation layer, please make sure that the mediation layer is sending requests to Audience Network. If you have testing enabled on the mediation layer, it may not be sending any requests to our servers.
When using Testflight to distribute and test your app, you will not be able to see real ads in those test builds. Normally, the Identifier for Advertisers (IDFA) remains constant for a device until a user resets it manually. However, each time a Testflight-distributed app asks for the IDFA, it will get a different IDFA.
To resolve this issue, you can turn on test mode to allow the test ad to be shown.
Client side testing method involves temporarily inserting code in your app.