Mintegral Integration Guide
This guide will instruct you step-by-step on how to set Mintegral live as an Ad Network on the ironSource Mediation platform.
Make sure you have correctly integrated ironSource’s Rewarded Video, Interstitial or Banner into your application.
Step 1. Create a Mintegral Account
- Create an account with Mintegral. You can do so here.
- Once your account has been verified, you can login at their partner login here.
Step 2. Create an Application in Mintegral
Already set up your application(s) at Mintegral? Skip to here.
First Time Setup ProcessIf this is your first time setting up a Mintegral account, continue below.
- Login
- When you log in for the first time, select ‘APP Setting’
- When you log in for the first time, select ‘APP Setting’
- Add Your App
- Upon clicking ‘+ Add APP’, a setup module will appear, Configure your app settings (Choose Ironsource as mediation platform)
Note: Note: You will need a unique Mintegral application per platform (iOS + Android) just like you do with your ironSource account. - After you defined the settings, you can choose to check the ad types you DO NOT wish to be delivered to your application.
- Upon clicking ‘+ Add APP’, a setup module will appear, Configure your app settings (Choose Ironsource as mediation platform)
- Add placements
- After you defined the Applications settings, select the relevant Apps through dashboard and click ‘Placement Management‘:
- click on ‘Add Placement’ button for adding new placements
- Mintegral adapters can serve Rewarded Video, Interstitial and Banner. Choose the ‘AD format’ according to your needs
For Banner, It is highly recommended to set the “Auto Refresh” value for No, since you can control the refresh rate on the mediation platform.
- Define your ad unit. As Mintegral network is a bidder only, you must choose ‘Header Bidding’ as the Bidding Type
- After you defined the Applications settings, select the relevant Apps through dashboard and click ‘Placement Management‘:
Step 3. Activate Mintegral in Your ironSource Network Setup Module
Serving Mintegral’s ads through the ironSource mediation platform has never been this easy. Sign in to your Mintegral account when setting up Mintegral on the ironSource SDK Networks setup page.
There are values from your Mintegral account which need to be inserted into your ironSource network setup module in order for Mintegral to work correctly in connection with ironSource:
App Key |
The unique ID assigned to your app on Mintegral’s dashboard.
|
SKey |
API key for reporting
|
Secret |
The unique ID assigned to your Mintegral user.
|
Once you obtain this information, you must configure Mintegral’s Parameters in your ironSource Account. By adding the above information correctly, you will be able to take full advantage of Mintegral’s ad inventory and reporting data on the ironSource mediation platform.
App Key
Once you have created an application in the Mintegral dashboard (as described in step 2), go to the ‘APP Setting’ screen – on top of this page, you will find your App Key:
SKey + Secret
Once you have logged into your Mintegral user (as described in step 1), go to the ‘API Tools’ under ‘Account’ tab – on the Upper menu:
Now, on the bottom of the page you can find your SKey, as well as your Secret:
Step 4. Add the Mintegral App level parameters to your app setup
- On SDK network page, choose the application you would like to configure, and click on ‘Setup’ under Mintegral bidder
- App level configuration will pop-up , and you will need to insert the following parameters for each app you would like to monetize with Mintegral
- App ID
- Placement ID
- Ad Unit ID
- Get all the parameters from you Mintegral account
- App ID
- Placement ID
- Ad Unit ID
- App ID
Step 5. Add the Mintegral Adapter to Your Build
Unity Integration Manager (Recommended)
Once you’ve completed SDK integration, you can download Mintegral Adapter, using the Unity Integration Manager.
In your Unity Development platform, go to ironSource > Integration Manager
If you already have the latest version of the adapters, the action button will be changed to “Updated”, and will be disabled.
Android (Manual Resolve)
To apply your changes, make sure you use the “Resolve” process. This will download all relevant artifacts, according to your choices. For detailed information see instructions here.
For Proguard Users Only (Android)
If you are using ProGuard with the Mintegral adapter, you must add the following code to your ProGuard file:
AndroidX Support:
-keepattributes Signature
-keepattributes *Annotation*
-keep class com.mbridge.** {*; }
-keep interface com.mbridge.** {*; }
-keep class android.support.v4.** { *; }
-dontwarn com.mbridge.**
-keep class **.R$* { public static final int mbridge*; }
-keep public class com.mbridge.* extends androidx.** { *; }
-keep public class androidx.viewpager.widget.PagerAdapter{ *; }
-keep public class androidx.viewpager.widget.ViewPager.OnPageChangeListener{ *; }
-keep interface androidx.annotation.IntDef{ *; }
-keep interface androidx.annotation.Nullable{ *; }
-keep interface androidx.annotation.CheckResult{ *; }
-keep interface androidx.annotation.NonNull{ *; }
-keep public class androidx.fragment.app.Fragment{ *; }
-keep public class androidx.core.content.FileProvider{ *; }
-keep public class androidx.core.app.NotificationCompat{ *; }
-keep public class androidx.appcompat.widget.AppCompatImageView { *; }
-keep public class androidx.recyclerview.*{ *; }
If you’re not using AndroidX follow the instructions on the Mintegral website.
Step 6. Mintegral Additional Settings
Set COPPA
Unity LevelPlay lets publishers communicate Mintegral COPPA settings directly to the Mintegral network. This feature is enabled using ironSource SDK 7.2.4.1+, Mintegral Unity Adapter 4.3.12+.
Use the following syntax, to set Mintegral COPPA with the value true, to report Child:
IronSource.Agent.setMetaData("Mintegral_COPPA","true");
Use the following syntax, to set Mintegral COPPA with the value false, to report Adult:
IronSource.Agent.setMetaData("Mintegral_COPPA","false");
To learn more about age-restrictions settings Under Mintegral network visit here.
Done!
You are now all set to deliver Mintegral ads within your application!