Preparing Mediated Networks
Android
You can download and integrate the MAX mediation adapters into your app in two ways:
- Gradle
- AppLovin recommends that you integrate adapters this way. AppLovin’s adapters’ POM files automatically integrate the mediated network’s SDK and its dependencies.
- Open Source Adapters
- If you require more flexibility in the integration, you can integrate AppLovin’s open source adapters. You are responsible for integrating the mediated SDKs and their dependencies. You can find these adapters in the AppLovn-MAX-SDK-Android GitHub repository.
Gradle
Choose which mediated ad networks you want to integrate by checking the boxes below. When you check those boxes, this page displays instructions specific to those networks.
This page also creates a customized UPL for you.
Copy the customized UPL below into AppLovinMAX_UPL_Android.xml
.
iOS
Unreal Engine requires that you manually integrate third-party frameworks for iOS.
It does not support dependency managers like CocoaPods.
The MAX Unreal GitHub repository includes a Python script — install_pods.py
— to assist with automatically installing dependencies from a Podfile.
This script downloads AppLovin adapters and third-party dependencies, and configures your project with build settings to link them.
Requirements
- Python 3.6+
- CocoaPods
Instructions
- Download
install_pods.py
from AppLovin’s MAX Unreal GitHub repository. - Copy this script into the
Source/ThirdParty/IOS/
directory of the AppLovin MAX Unreal plugin. - Create a Podfile in that directory for the adapters you want to integrate.
- Run
install_pods.py
to download the adapters and dependencies. Follow any additional instructions from the script to complete installation. - Follow the instructions in Preparing Mediated Networks (iOS).
Add any necessary changes to
Info.plist
inAppLovinMAX_UPL_IOS.xml
.