Download Android Apps and Games
AppBrain
  • Apps
  • Intelligence ▾
    Intelligence overview → Track any Android app or your whole market
    Track & analyze
    Keyword Tracker & OptimizerTrack & improve Play rankings App Performance ReportOne-off PDF for any app StatisticsFree Android & Play market stats
    Promote your app
    Featured Apps App Links
  • Intelligence
  • Pricing
  • Dashboard
  • Sign up
  • Log in

General

  • Introduction
  • Privacy policy
  • HTML widgets
  • Embeddable widgets
  • AppLinks ToS

Publishers

  • AppBrain SDK
    • Getting started
    • Ad unit preview
    • Banners
    • Interstitial
    • ListView ads
    • Extra features
    • Other SDKs
      • AdMob mediation
      • MoPub mediation
      • Unity
      • Adobe AIR
    • Integration policy
    • Mediation
  • Resources
  • Terms of service
  • FAQ

Advertisers

  • Resources
  • Terms of service
  • FAQ

Intelligence

  • Insights
  • Pricing
  • SDK downloads
  • Phone downloads
  • Terms of service

AppBrain API

  • Using the AppBrain API
  • API specification
  • API pricing
  • Promotion campaigns
  • Reporting

Integration with MoPub

The banners and interstitial of the AppBrain SDK can easily be integrated in the MoPub mediation solution.

Setting up your app for mediation

First make sure you added the AppBrain SDK to your app, follow the general installation instructions on the setup page.

Then add the AppBrain MoPub library to your project. If you use Gradle to build your project, and you have already added the AppBrain repository as described in setup, you can simply add the dependency:

dependencies {
    implementation 'com.appbrain:appbrain-sdk:+'
    implementation 'com.appbrain:appbrain-sdk-mopub:+'
}

If you don’t use Gradle, you can add the appbrain-mopub.jar file to your project’s libs/ folder manually. This file can be downloaded from the AppBrain SDK GitHub page.

MoPub SDK initialization

In the initialization for the MoPub SDK the AppBrain SDK needs to be registered. For example like this:

SdkConfiguration sdkConfiguration = new SdkConfiguration.Builder("<your ad id>")
    .withAdditionalNetwork(AppBrainMoPubConfiguration.class.getName())
    .withMediatedNetworkConfiguration(AppBrainMoPubConfiguration.class.getName(), Collections.emptyMap())
    .build();

    MoPub.initializeSdk(this, sdkConfiguration, initSdkListener());

More information about the MoPub SDK initialization is in the Initialize Custom Ad Networks section of the MoPub SDK documentation.

Mediating the AppBrain ads (Banner & Interstitial)

To set up your mediation placement for showing AppBrain banners, go to the MoPub Orders section and click the “Create Order” button.

MoPub mediation setup

Proceed with “Save & create line item”.

MoPub line item
  • In “Type & priority” select “Network line item”. Set priority to 1.
  • In “Network” select “Custom SDK Network”.

For the banner mediation fill in

  • Custom event class: com.appbrain.mediation.mopub.AppBrainBanner for banner or com.appbrain.mediation.mopub.AppBrainInterstitial for interstitial
  • Custom event data: Enter {} as empty JSON data object. Optional: you can add the AppBrain “Ad ID” for this placement with the key "adid". One example is for instance {"adid":"LEVEL_COMPLETE"}.
  • In “Rate” you can set your CPM, eg $1 as default.
  • In “Schedule” activate “Start immediately”

Then click “Next”, the next page will allow you to enable these mediation settings for you apps and adunits.

Please contact AppBrain support if you have any problems setting up MoPub Mediation with AppBrain.

Relevant links

MoPub Ad Network

AppBrain is a directory focused on discovering great apps and games. We give statistics, rankings and search options that Google Play and the App Store don't have. All trademarks are owned by their respective owners. AppBrain doesn't offer APKs or binaries, and always lets users install the official version from Google Play or the App Store.

More apps

  • Top Android apps being viewed
  • Khan Tv Live Cricket Guide for Android
  • Telugu Movies Android App
  • Vitala Shield

Android Statistics

  • Android statistics
  • Google Play Developer stats
  • Trending Android Apps
  • Top popular Apps
  • Buy the best Android phone

About AppBrain

  • Contact
  • Privacy
  • Documentation
  • DMCA takedowns
  • Articles
  • Blog
  • Android app Install tracking and attribution options for the AppBrain ad network
© 2010-2026 - AppBrain