Test Mode
このコンテンツはまだ日本語訳がありません。
Use the test mode feature to verify that you successfully integrated particular ad networks from among those that MAX mediates.
To enable test mode, define a test device and select a network in the Test Mode section of your MAX account. After you enable test mode for a device, when that device makes an ad request to the network it does so with the network’s test mode enabled. The device also receives detailed device logs.
When you turn off Test Mode on your device, your ad units revert to using the configuration listed in the MAX Ad Units page. In addition to using Test Mode in the dashboard, AppLovin recommends that you use Mediation Debugger Test Ads on your devices. This is a quick way to test integration.
Enable Test Mode
To enable Test Mode, select MAX > Mediation > Manage > Test Mode and click + Add Test Device.
Type the device Name and the relevant device ID: “Google Advertising ID” (GAID) for Android and “Identifier for Advertisers” (IDFA) for iOS.
Choose the Test Network you would like to see ads from. Then click ✔ Save. When the save completes, all MAX apps associated with your account start receiving test ads from the network you selected.
Disable Test Mode
To disable test mode on your device:
- Select MAX > Mediation > Manage > Test Mode.
- Find your device in the list of MAX Test Devices. In the row associated with that device, hover over the green dot in the Status column.
- A pause icon (⏸️) button appears next to the dot. Click that button.
- The Pause Test Device dialog appears. Click ✔ Yes.
This disables test mode on your device. Your device now receives ads based on the ad unit configuration that is listed in your MAX Ad Units page.
How to Enable Test Ads in the AppLovin SDK
You can programmatically enable test ads for one or more IDFAs/GAIDs in the AppLovin SDK.
If you use the MAX React Native Plugin, enable test ads by providing an array of test device advertising IDs to a method on the AppLovinMAX
class.
Starting with MAX React Native Plugin version 1.1.7, you must set test device advertising IDs before you inititalize the SDK.
The following code snippet shows how to do this in typescript: