Test your Meta Audience Network SDK implementation to verify the experience before pushing it to production.
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 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 one of the following from the left-side menu:
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.
Starting with iOS 14, you will need to implement the
setAdvertiserTrackingEnabled flag, which also applies with test mode enabled.
Explains how to temporarily insert code into your app to test your Audience Network implementation on the client side.
Explains how to use a proxy app to view all of the SSL/HTTPS traffic between your app and the Audience Network ad server.
Describes how to verify your Audience Network integration and provides a list of possible error codes.