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.
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
Type the device Name and the “Google Advertising ID” (GAID).
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 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.
To enable test ads for a set of GAIDs, pass a list of test device advertising IDs in AppLovin SDK settings. Starting in SDK version 11.11.0, you must set test GAIDs when you create the first SDK instance. The following code snippets show how to do this in Java and Kotlin.
AppLovinSdkSettings settings = new AppLovinSdkSettings( context ); settings.setTestDeviceAdvertisingIds(Arrays.asList("YOUR_GAID_HERE")); AppLovinSdk sdk = AppLovinSdk.getInstance( settings, context );
val settings = AppLovinSdkSettings(context) settings.testDeviceAdvertisingIds = listOf("YOUR_GAID_HERE") val sdk = AppLovinSdk.getInstance(settings, context)
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?”.