MoPub Integration Guide
Add the MoPub adapter to your build
ironSource supports both Gradle dependencies and manual download mechanisms.
Gradle:
- Make sure the following Maven URL exist in your build.gradle script of your app module .
repositories maven { url 'https://android-sdk.is.com/' }
- Add the adapter’s Maven name to your build.gradle script of your app module.
dependencies { implementation 'com.ironsource.adapters:mopubadapter:4.3.3' implementation 'com.mopub:mopub-sdk:5.18.0' implementation 'com.mopub.volley:mopub-volley:2.1.0' }
Manual Download
OS | Supported SDK Version | Rewarded Video | Interstitial | Banner | Adapters and SDK |
Android | 5.18.0 | ✔ | ✔ | ✔ | Adapter SDK |
iOS | 5.18.0 | ✔ | ✔ | ✔ | Adapter SDK |
- Download MoPub Android Adapter. This will add the MoPub Adapter to your build.
- Add MoPub Adapter to your Project:
After you download the Adapter; drop MoPubAdapter aar into the libs folder in your Android Project. - Make sure to add the following to your Gradle build file under the dependencies section:
dependencies { implementation(project(':mediationsdk-7.1.10')) implementation(project(':mopub-sdk-5.18.0')) }
Update AndroidManifest.xml
Manifest Permissions:
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Manifest Activities:
Add the following activities inside the <application> tag on your manifest
<activity
android:name="com.mopub.common.MoPubBrowser"
android:configChanges="keyboardHidden|orientation|screenSize" />
Full MoPub documentation
Android Integration Guide
Android Change Log
iOS Integration Guide
iOS Change Log
Unity Integration Guide
Unity Change Log
Android Change Log
iOS Integration Guide
iOS Change Log
Unity Integration Guide
Unity Change Log