Integration – App – MoPub iOS Mediation

Integrate MoPub SDK

The purpose of using the MoPub Mediation integration is to build a “bridge” between MoPub and Widespace SDK in order to give you as a publisher full control over your app(s) inventory and how much impression that should be served for e.g. your own and Widespace ads. in order to get started with the mediation integration you need to have MoPub SDK already integrated in your app(s).

The integration guidelines can be found at:


Last Updated

July 2017

  • Send error to MoPub if no ads found from WideSpace for any SID.

Add the Widespace Plugin


Widespace Plugin Download 1.2.0


After you have downloaded the Widespace plugin for MoPub please drag and drop the folder directly into your project, preferably into the “AdNetworkSupport” folder that already includes other ad networks. The plugin includes 4 files that covers both banners and interstitial ads + the Widespace SDK which is needed in order for the ad delivery to work.


Link Required Frameworks

The below frameworks are needed (besides the frameworks required by MoPub SDK) in order for the Widespace SDK to function:

  • AudioToolbox.framework
  • AVFoundation.framework
  • AssetsLibrary.framework
  • CFNetwork.framework
  • CoreGraphics.framework
  • CoreMedia.framework
  • CoreVideo.framework
  • Security.framework


MoPub Custom Network

Now when the integration part is done, you need to create a so called “custom native network” in your MoPub interface which can be done under the “Network” section.

Direct link:


Add a network


  • After you have navigated to the “Network” tab, click on “Add a Network”
  • You should now see the network modal popup. Scroll down and select “Custom Native Network”
  • Add a network title e.g. “Widespace”.
  • Under “Custom event class” you will add either MPAdSpaceBannerCustomEvent or MPAdSpaceInterstitialCustomEvent dependent on if you want to serve banner or interstitial ads on that specific placement
  • Finally, add the SID (unique ad placement ID you get from Widespace) under “Custom event class data”. Make sure you add it as JSON: {“sid”:”ADD_THE_SID_HERE”}


After you have prioritised and activated the “Widespace network” you should now be able to start serving ads in mediation with Widespace!



Do you have any questions or need further guidance?

Feel free to contact and we’ll do our very best to help you out!


Was this article helpful to you?

L:0 | D:0