AdMob Mediation is a feature that lets you serve ads to your apps from multiple sources, including the AdMob Network, third-party ad networks, and AdMob campaigns. AdMob Mediation helps maximize your fill rate and increase your monetization by sending ad requests to multiple networks to ensure you find the best available network to serve ads.

This guide is your one stop shop for integrating mediation into your AdMob app.


Before you can integrate mediation for an ad format, you need to integrate that ad format into your app:

Choosing your Mediation networks

Google mediation supports over 30 third-party ad networks. Integrating mediation requires changes in these places:

  1. Third-party ad network UI - Sign up for the third-party ad network and create a placement in their frontend.
  2. AdMob UI - Update your ad unit's mediation settings to include the ad network. It is also recommended that you set up ad network optimization for ad networks that support it.
  3. App code - Update your app to include the third-party ad network's SDK, and an adapter library that communicates between Google and the third-party ad network to request and serve ads.

To begin, select an ad network from the below, and it will guide you through these changes.

Ad Network Banner Interstitial Rewarded Video Native Advanced ANO support
Open source and versioned
AdColony Country-specific
AppLovin Country-specific
Chartboost Country-specific
Facebook Country-specific
InMobi Country-specific
MoPub Country-specific
Tapjoy Country-specific
Unity Ads Country-specific
Vungle Country-specific
Non-open source
AdFalcon Country-specific
AMoAd Global
Appsfire None
CrossChannel (MdotM) Country-specific
Flurry Country-specific
Fuse Powered None
Fyber Country-specific
HUNT Mobile Ads None
i-mobile Global
Leadbolt Country-specific
LifeStreet Country-specific
LG U+AD None
MobFox Global
Nend Global
ONE by AOL Global
TapIt by Phunware Global
Tencent GDT None
Tremor Video None
Vdopia Global
Vpon None
Vserv Global
Zucks Country-specific

Open source and versioned adapters

If an adapter is labeled with "Open source and versioned" in the above table, it means the adapter source code is open-sourced in Google's GitHub repository, enabling you to debug issues yourself should you choose to do so.

It also means that there are versioned adapter builds in Google's bintray repository, built against a specific version of the third-party ad network SDK. You can also compile these adapters into your app with a single line change to your app's build.gradle file. Click on a specific ad network's guide for more details.

Adapter versioning

The adapter versioning scheme for versioned adapters is <third-party SDK version>.<adapter patch version>. For example, if an ad network releases a new SDK version 1.2.3, a new adapter version will be released to Bintray after being tested against that new SDK.

If an adapter needs updating outside the lifecycle of a third-party SDK release, the patch version will increase. A bug fix for adapter version will be released in version

ANO support

When you configure multiple ad networks in AdMob Mediation, you have to tell AdMob in what order to request these networks by setting their respective CPM. This can be difficult to manage, since ad network performance changes over time.

Ad network optimization (ANO) is a feature within AdMob Mediation that enables you to generate the highest CPM from the ad networks in your mediation chain. Ad network optimization automates the process of ordering your mediation chain and helps you maximize revenue with minimum effort.

The mediation networks table above has the following values for ANO support:

ANO support What it means
Country-specific eCPM values are automatically updated on your behalf on a per-country basis. This is the optimal type of ANO support.
Global A single global eCPM value is automatically updated on your behalf
None You must manually configure an eCPM value for that ad network

Click on a specific ad network's guide for details on how to configure ANO for that network.

Deprecated ad networks

Remove deprecated ad networks from your mediation placements. See Delete an ad network from mediation for instructions.

Deprecated ad networks
Rhythm NewMedia

Custom events

If you're looking for an ad network and don't see it on the list above, you can use custom events to write your own integration with that ad network. See Custom Events for more details on how to create a custom event.

Configure ProGuard settings

If you use ProGuard, you need to configure it to avoid obfuscating some of the code used in the mediation process. AdMob mediation needs two classes to maintain their original names in your final APK: AdUrlAdapter and AdMobAdapter. If either is renamed by ProGuard, it can cause the SDK to incorrectly return "no fill" responses for the AdMob demand in your mediated ad units.

To make sure those classes are left unchanged by ProGuard, just add these options to your ProGuard configuration file:

-keep class {

-keep class {

Specific ad network adapters may require additional ProGuard configurations. Check each ad network's documentation for more details.

Initialize your ad object with an Activity instance

In the constructor for a new ad object (for example, AdView), you must pass in an object of type Context. This Context is passed on to other ad networks when using mediation. Some ad networks require a more restrictive Context that is of type Activity and may not be able to serve ads without an Activity instance. Therefore, we recommend passing in an Activity instance when initializing ad objects to ensure a consistent experience with your mediated ad networks.

Native Mediation

The following are some best practices to consider when implementing native mediation.

Request both system-defined formats

The Mobile Ads SDK allows you to specify a preference for app install ads, content ads, or both for each request. However, not every mediated network offers both of these formats, and some are unable to filter by format. In order to make sure that ad requests have the best chance of being filled, it's highly recommended that apps request both formats when loading native ads and include rendering code that can display either one.

Native ad presentation policy

Each ad network has its own policies. When using mediation, it's important to remember that your app still needs to abide by the policies of the mediated network that provided the ad.


The Mobile Ads SDK automatically places the AdChoices logo for you. Mediation adapters are also responsible for placing the AdChoices logo if applicable, so you don't need to take any action to display an AdChoices asset in your app.

Enviar comentarios sobre…

¿Necesitas ayuda? Visita nuestra página de asistencia.