MoPub Integration Guide

Add the MoPub adapter to your build

Unity Integration 

  1. Download MoPub XML file from here
  2. Add the file to ‘Assets > ironSource > Editor’

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.

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

    Android Integration 

    1. Download MoPub latest Android Adapter and SDK files.
    2. Copy the .AAR files into /Assets/Plugins/Android in your Unity Project
    3. If you are using .JAR integration, instead of .AAR, make sure to update your Manifest.xml as described in Mopub Android Documentation 

    iOS Integration 

    1. Download MoPub latest iOS Adapter and SDK files.
    2. Unzip the files and add both XCframework files into /Assets/Plugins/iOS in your Unity Project
    3. Our Unity Plugin adds the necessary XCframeworks automatically to your Xcode project.

    Update SKAdNetworkItems for iOS

    Make sure to define MoPub SKAdNetworkItems to your Info.plist, by using this code:

    <key>SKAdNetworkItems</key>
    <array>
    <dict>
       <key>SKAdNetworkIdentifier</key> 
       <string>7953jerfzd.skadnetwork</string>
    </dict>
    </array>

    You can see MoPub full SKAdNetworks here.