Method: accounts.mediationGroups.mediationAbExperiments.stop

Stop the mediation A/B experiment and choose a variant.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Name of the mediation group, the experiment for which to choose a variant for. Example: accounts/pub-9876543210987654/mediationGroups/0123456789/ mediationAbExperiments

Request body

The request body contains data with the following structure:

JSON representation
{
  "variantChoice": enum (VariantChoice)
}
Fields
variantChoice

enum (VariantChoice)

The choice for the winning variant.

Response body

If successful, the response body contains an 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.

VariantChoice

The choice of the variant for mediation A/B Experiment.

Enums
VARIANT_CHOICE_UNSPECIFIED Default value for an unset field. Do not use.
VARIANT_CHOICE_A Use the mediation lines from Variant A and complete the experiment. Variant A contains the original serving lines before the experiment creation.
VARIANT_CHOICE_B Use the mediation lines form Variant B and complete the experiment. Variant B contains the newly added serving lines.