When you integrate Facebook Audience Network into your mobile website or app, use the latest Audience Network SDK in your integration to include the most recent bug fixes and improvements, and test your implementation preferably on physical devices to verify the real experience before rolling it out to production. Audience Network offer server side and client side testing methods:
Server side testing methods involve configuring Monetization Manager(MoMa) without the need of writing any code in your app:
Client side testing method involves temporarily inserting code in your app:
For additional information. see the following topics:
Testing with a test app lets you see both test ads and production ads. However, the production ads are not demographically targeted. It's the quickest way to test your integration.
To add devices into your test devices list, use you can use the manual input or follow the CSV template to upload multiple devices at the same time.
The identification we use for test devices are
Identifier for Advertising (IDFA) for iOS devices, and
Google Advertising ID (AAID) for Android devices. The device names are for your own reference. Here are several ways you can find out these ids for your mobile device:
Settings -> Google -> Adsto see your AAID displayed.
After you added your devices into the list and enabled testing for the test device list, when you send an ad request from your test device we will return the corresponding testing ad to facilitate your integration testing.
Testing with test users lets your testers see production adds demographically targeted at their characteristics. To test with test users, you add people to your app in the Business Manager and add them as testers in the app dashboard. Then, these assigned testers use your app or mobile website while logged in to Facebook.
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 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.
When using Testflight to distribute and test your app, you will not be able to see real ads in those test builds. Instead, you will need to set test mode as shown below in order to get ads from Audience Network. Each time a Testflight-distributed app asks for the the Identifier for Advertisers (IDFA), it will get a different IDFA. Normally, IDFA remains constant for a device until a user resets it manually. But when a Testflight build asks for the IDFA from the operating system, it doesn’t get the "real" IDFA. Instead, it gets a "dummy" IDFA that changes each time the app asks for it.
To resolve this issue, you can turn on the test mode to allow the test ad to be shown.