AdMob Setup

Mediation Group Setup

Step 1: Create Mediation Group

In your AdMob account go to Mediation and click on Create Mediation Group:

Pipeline Screenshot

Choose one of the ad formats:

  • Banner
  • Interstitial
  • Native Advanced
  • Rewarded interstitial

Choose a platform - iOS or Android.

Press CONTINUE. Then set the name for the mediation group and other properties:

Pipeline Screenshot

Press ADD AD UNITS and select the target items in the modal dialog:

Pipeline Screenshot

Press DONE. And move to the next step.

Step 2: Add Custom Events

Pipeline Screenshot

Now you have to add custom events for possible bid prices. Follow the price granularity guide to determine how many entries you need.


Pipeline Screenshot

Set the Label and eCPM for the custom event. Press CONTINUE.

Pipeline Screenshot

The fields in this dialog are critical for the proper integration:

  • Class Name is a name of respective adapter.
    • Banner:
      • iOS: PrebidAdMobBannerAdapter
      • Android:
    • Interstitial Display:
      • iOS: PrebidAdMobInterstitialAdapter
      • Android:
    • Interstitial Video:
      • iOS: PrebidAdMobVideoInterstitialAdapter
      • Android:
    • Rewarded:
      • iOS: PrebidAdMobRewardedVideoAdapter
      • Android:
    • Native:
      • iOS: PrebidAdMobNativeAdapter
      • Android:
  • Parameter is a keywords for the current ad source. Important: make sure that the price of the ad source is the same as the price in this keyword. For example:

Prebid SDK will compare the keywords in the winning bids with keywords provided in the Parameter fields.

The adapter will render the winning bid only if the bid’s targeting keywords contain all keywords from the Parameter field.

Press DONE and repeat the adding of the custom events for all needed prices.

Pipeline Screenshot

Once you add all needed custom events - press DONE. The Mediation Group is ready to serve the prebid demand to your app.