Mediation management

The AdMob API lets you manage your AdMob Mediation setup programmatically. You can create and update mediation groups , add ad source instances , and provide the ad unit mappings to enable calls to multiple third-party networks .

The following activities are available through the AdMob API and UI.

Create Patch List
App
Ad unit
Ad unit mappings
Mediation group

With the AdMob API you can:

  • Create apps, link them to app stores, and add ad units.
  • Create ad unit mappings for all of the waterfall ad sources you want included in your setup.
  • Create a mediation group with geo targeting and waterfall ad sources with their associated ad unit mappings.
  • Update a mediation group's ad sources, ad unit mappings, and eCPM values.

A mediation group can have many ad source instances, each having their own ad unit mapping. For instance, mediation group A could have the following lines:

  • Ad source B with eCPM $10 and ad unit mapping b
  • Ad source C with eCPM $8 and ad unit mapping c
  • Ad source D with eCPM $6 and ad unit mapping d

The hierarchy of objects and maps is as follows:

Mediation overview

Get started

Start creating mediation groups, group lines, and mapping ad units programmatically with the following examples:

Design a Mobile Site
View Site in Mobile | Classic
Share by: