IronSource SDK

Release version 1.1.2 | Release date 06/10/2025

Minimum requirements:

  • Use Unity 2018.3+ versions.

  • Use the Android API level 22 (Android OS 5.1) and above.

  • Use iOS 13.0 and above.

  • Use Xcode 13 and above.

Test identifiers

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

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

Download the plugin

Download the plugin

  1. Download the latest version of the plugin from the link.

  2. Import the plugin into the project via the Custom Package option.

The plugin includes an Mobile Dependency Manager.

You don't have to import it if it was installed in the project earlier.

Configure the Mobile Dependency Manager

Mobile Dependency Manager is a plugin for resolving dependency conflicts.

To resolve dependency conflicts in your application, follow these steps:

  1. Go to Build Settings → Android→Player Settings → Publishing settings

  2. For Unity 2018.4 - Unity 2019.2: add the Custom Gradle Template flag For Unity 2019.3 or higher: add the Custom Main Gradle Template flag

  1. Go to External Dependency Manager → Android Resolver → Settings.

  2. Enable the setting - Patch mainTemplate.gradle

  3. Enable the setting - Use Jetifier

  1. Select Force Resolve in the External Dependency Manager → Android Resolver.

Code obfuscation

If code obfuscation is enabled in your application, then add the following text to the end of the file proguard-rules.pro:

-keep class sspnet.tech.**.* { *; }

Updating the Plugin

The Madex Unity Plugin provides a convenient interface for updating the plugin. In the Dependency Manager window, you can update the plugin to the latest version.

Initializing the IronSource SDK

Initialize the IronSource SDK by following the official IronSource documentation.

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

Fill in the fields with the following parameters

Network Key - 15bffed61

In the Publisher ID field, specify the test Publisher ID

Select Rate based revenue

In the network settings for the application, in the Placement ID field, specify the ID of the text ad block.

Checking the correct ad call

Enable the testing mode for the Madex advertising network in the Tests menu.

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

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 to clear the ExternalDependency Manager cache and select Force Resolve in External Dependency Manager → Android Resolver.

If this does not help, contact support.

Last updated