Use the Test Mode feature to verify that you have successfully integrated specific ad networks from those that MAX mediates.
If you define a test device and select a network in the Test Mode section of your MAX account, when that device makes a MAX ad request MAX will request the ad from the network you selected with that network’s test mode enabled. The device will also receive detailed device logs.
When you enable test mode, the MAX SDK outputs verbose device logging to Android Logcat or to iOS Console.
When you turn off Test Mode on your device, ad units will 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 as you quickly test the integration on your devices.
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 and click ✔ Save. When the save completes, all MAX apps associated with your account will start receiving test ads from the selected network.
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 and, in its row, hover over the green dot in the Status column. A pause icon (⏸️) button will appear next to the dot. Click that button. Then, in the Pause Test Device dialog that appears, click ✔ Yes. Your device will then revert to receiving ads based on the ad unit configuration listed in your MAX Ad Units page.
How to Enable Test Ads in the AppLovin SDK
You can enable test ads for one or more IDFAs/GAIDs programmatically in the AppLovin SDK.
With test ads, AppLovin will not track enabled impressions, clicks, and revenue. You should only use such ads to test your app integration.
If you use the MAX Unity Plugin, enable test ads by providing an array of test device advertising IDs to a method on the MaxSdk
class. Starting with MAX Unity Plugin version 5.11.0, you must set test device advertising IDs before you inititalize the SDK. The following code snippet shows how to do this in C#:
MaxSdk.SetTestDeviceAdvertisingIdentifiers(new string[]{"YOUR_IDFA_HERE", "YOUR_GAID_HERE"}); MaxSdk.InitializeSdk();
Troubleshooting
If you are not able to get test ads after following these steps, you might have an integration issue. Please follow the other steps in “Why am I not seeing any ads?”.