Method: accounts.mediationGroups.mediationAbExperiments.create

  • This method creates an A/B testing experiment for a specified AdMob account and mediation group.

  • Access to this method is limited and requires reaching out to an account manager for access if a 403 permission denied error is encountered.

  • The HTTP request uses a POST method with a URL that includes the parent account and mediation group ID.

  • The request body should contain an instance of MediationAbExperiment.

  • A successful response body will contain a newly created instance of MediationAbExperiment.

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.