Method: accounts.mediationGroups.create

  • This document provides a reference for creating a mediation group under a specific AdMob account using the AdMob API.

  • The HTTP request method is POST to the specified URL, which uses gRPC Transcoding syntax.

  • The only required path parameter is parent, which specifies the AdMob account owner using the format accounts/{publisherId}.

  • The request body should contain an instance of MediationGroup, and a successful response will contain a newly created MediationGroup instance in the response body.

  • Creating a mediation group requires authorization with the https://www.googleapis.com/auth/admob.monetization OAuth scope and may require reaching out to your account manager for access if a 403 permission denied error is encountered.

Create a mediation group under the specific AdMob account.

HTTP request

POST https://admob.googleapis.com/v1beta/{parent=accounts/*}/mediationGroups

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent which owns the mediation group. Format: accounts/{publisherId}

Request body

The request body contains an instance of MediationGroup.

Response body

If successful, the response body contains a newly created instance of MediationGroup.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/admob.monetization

For more information, see the OAuth 2.0 Overview.