Applovin MAX SDK

Release version 1.6.0 | Release date 05/15/2025

Minimum requirements:

  • iOS 13.0 and above.

  • Use Xcode 13 and above.

Test identifiers

When integrating the SDK, we strongly recommend to use specific publisher_id andplacement_name to ensure the stability of test ads.

To prioritize the display of the Madex network during the installation verification process, please set the CPM price to $5000 for the Madex network.

Publisher ID - d42994c6-2145-4269-9c2f-2adcf9d9703f

Madex Interstitial ID - 50f37030-162d-4e8c-a9c0-e078d8fbf2f7

Madex Rewarded ID - dacd566d-8487-4bc6-8afc-486f625be870

Madex Banner ID - 901a609e-b9b2-4f82-b8b8-c899c5524867

Installation

Setting up a Podfile

  1. Add dependencies to the Podfile file for installing the Madex adapter for Applovin MAX SDK.

platform :ios, "13.0"

target "Sample" do
    use_frameworks!
    
    # connection of Madex SDK dependency
    pod "MadexSDK", "1.7.2"
    
    # connection of Applovin Adapter dependency for Madex SDK
    pod "AppLovinMediationMadexAdapter", "1.6.0"
end
  1. Save the file and click and open the terminal in the project folder.

  2. Run the pod install command in the terminal to install dependencies.

To update dependencies, use the pod update command.

Initializing the Applovin Max SDK

Initialize the Applovin Max SDK by following the official Applovin documentation.

To add the Madex advertising network in the personal account of the Applovin advertising network, follow the instructions for adding a custom advertising network.

Fill in the fields with the following parameters:

Network Type - SDK

Custom Network Name - Madex

Android Adapter Class Name - sspnet.tech.madex.networks.applovin.MadexMediationAdapter

iOS Adapter Class Name - MadexMediationAdapter

In the App ID field, specify the test Publisher ID.

Checking the correct ad call

Use text identifiers, set the CPM Price = 5000$ value for the Madex network, download and call the advertisement.

If the ad was successfully loaded and displayed, then the adapter is installed correctly.

Install CPM according to the agreements with Madex managers, replace the Publisher ID in the App ID field and the ID of the ad blocks in the application code with your IDs in the Madex personal account.

Your publisher_id is located in the "Settings" section of your Madex personal account.

You can copy the ad block ID on the application page in the Madex personal account. You can also create additional ad blocks there.

If the adapter is installed incorrectly

In case of errors, we recommend clearing the CocoaPods cache.

Below is the command to clear the cache

rm -rf "${HOME}/Library/Caches/CocoaPods"
rm -rf "`pwd`/Pods/"
pod update

If this does not help, contact support.

Last updated