Test Mode
You can use Test Mode to verify that specific ad networks are integrated. Test Mode increases the likelihood that you receive ad fill during testing. You can enable it by opening the Mediation Debugger and enabling test ads. You can also enable it programmatically, as shown below.
How to Enable Test Mode Programmatically
You can enable test ads for one or more devices by programmatically passing their test device advertising IDs in the AppLovin SDK.
To do this, pass an array of test device advertising IDs via the MaxSdk
class as shown below.
You must set test device advertising IDs before you initialize the SDK.
The following code snippet demonstrates how to do this:
MaxSdk.SetTestDeviceAdvertisingIdentifiers(new string[]{"«your-IDFA»", "«your-GAID»"});MaxSdk.InitializeSdk();
Troubleshooting
To verify that you enabled Test Mode, check for the line that reads Test Mode On: true
in the initialization section of the AppLovin SDK logs:
AppLovin SDKVersion: 13.2.0⋮Test Mode On: true⋮
If test ads do not load, try loading live ads. No fills are common during testing and typically do not indicate issues with your integration.