Method: accounts.mediationGroups.create

  • Create a mediation group under a specific AdMob account using an HTTP POST request to the provided URL.

  • This method requires specific authorization and might necessitate contacting your account manager for access.

  • The request must specify the parent account in the URL path and include a MediationGroup object in the request body.

  • A successful request returns a MediationGroup object representing the newly created group.

  • Proper OAuth 2.0 authorization with the admob.monetization scope is needed for this operation.

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.