Integration Guides


Mopub - version 9.2.3 9.2.3

Quick Start

iOS Android

1 Overview

The Revmob Mopub adapter allows you to serve ads within your application through the MoPub mediation platform, including Revmob as a 3rd party network.
Our adapter only allows to serve Interstitial and Banner ads. The others ad units offered by our SDK are not supported by mediation services.

Integration

  1. If you don't have MoPub integrated into your project yet, please follow MoPub's Android integration guide.
  2. In your app's src/ directory, create a com.mopub.mobileads package in your application if it does not have it already.
    For instructions on creating the package, please check MoPub's guide on Writing a Custom Event.
  3. Download our SDK and add the.jar to your project.
  4. If using interstitial ads, follow our guide to add the necessary permissions to your Android Manifest.
  5. Download our adapter and unzip it.
  6. Include the .zip contents in your com.mopub.mobileads package.
  7. Configure your MoPub account to serve Revmob Ads to your application.

Integration

  1. If you don't have MoPub integrated into your project yet, please follow MoPub's iOS integration guide.
  2. Download our SDK and add the framework to your application. For instructions on how to add our framework, please follow our guide.
  3. Download our adapter and unzip it.
  4. Add the classes contained in the .zip to your project
  5. Configure your MoPub account to serve Revmob Ads to your application.

Adding Revmob as a Custom Native Network

  1. Log into your account on Mopub's website.
  2. Navigate to the Networks tab, click on the "Add a Network" button.

  3. On the pop up's bottom, select Custom Native Network.

  4. Set the network title as Revmob

  5. On your inventory, choose the Ad Units where you want to display Revmob ads, and fill the following fields:
    • Custom Event Class:
      • You must add the fully-qualified class name of the Revmob adapter:
      • com.mopub.mobileads.RevMobBannerAdapter for banner ads.
      • com.mopub.mobileads.RevMobInterstitialAdapter for Interstitial ads.
      • RevMobBannerAdapter for banner ads.
      • RevMobInterstitialAdapter for Interstitial ads.
    • Custom Event Class Data:
      • A JSON containing your app ID (mandatory) and your ad unit placement ID (optional) :
        {"mediaId": "<YOUR_APP_ID>", "placementId":"<YOUR_AD_UNIT_PLACEMENT_ID>"}.
        Obs.: Create your app here if haven't done it yet.

  6. Go to your Segments tab and select a segment.
  7. Under your Segment Waterfall, remove the all the filters, this will enable you to see Revmob under the Ad Unit's for which you have set the custom data.

  8. Set a valid CPM under the network CPM field and then click Set. This will activate Revmob for the selected Ad Unit.
    For testing purposes, put Revmob as the first Ad Network on your waterfall.

  9. Run your app. You should be able to receive Revmob ads now.