Method: accounts.mediationGroups.mediationAbExperiments.create

  • Create A/B testing experiments for AdMob mediation groups using the provided HTTP request method.

  • Specify the parent AdMob account and mediation group using path parameters in the request URL.

  • Include a MediationAbExperiment object in the request body to define the experiment parameters.

  • Upon successful creation, the response body contains the newly created MediationAbExperiment object.

  • Requires admob.monetization OAuth scope for authorization.

Create an A/B testing experiment for a specified AdMob account and a mediation group.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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

Request body

The request body contains an instance of MediationAbExperiment.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.