Resource: MediationAbExperiment
The mediation A/B experiment.
JSON representation |
---|
{ "name": string, "displayName": string, "experimentId": string, "treatmentTrafficPercentage": string, "treatmentMediationLines": [ { object ( |
Fields | |
---|---|
name |
Resource name for this experiment. The format is accounts/{publisherId}/ mediationGroups/{mediationGroupId}/mediationAbExperiment/ {mediation_group_experiment_id}. For example: accounts/pub-9876543210987654/mediationGroups/0123456789/ mediationAbExperiment/12345 |
displayName |
The display name for the mediation A/B experiment. |
experimentId |
Output only. Unique identifier for the mediation A/B experiment. It is an output only property. |
treatmentTrafficPercentage |
The percentage of the mediation A/B experiment traffic that will be send to the treatment (variant B). The remainder is sent to the control (variant A). The percentage is expressed as an integer in the inclusive range of [1,99]. See https://support.google.com/admob/answer/9572326 for details. |
treatmentMediationLines[] |
The experiment mediation lines created for the treatment. They will be used for serving when the experiment status is RUNNING. |
controlMediationLines[] |
Output only. The experiment mediation lines for control. They are inherited from the parent mediation group. It is an output only field. |
state |
Output only. The state of the experiment. It is an output only field. |
ExperimentMediationLine
The mediation group line for the experiment. It will be used for serving during the run of the experiment.
JSON representation |
---|
{
"mediationGroupLine": {
object ( |
Fields | |
---|---|
mediationGroupLine |
The mediation group line used by the experiment. |
ExperimentState
Status of the experiment. This is a read-only field. The experiment can be in one of the three states and transitions as mentioned below: 1. Running: When the experiment is created, it is put into the running state. Both the control and treatment mediation group lines are served according to the treatmentTrafficPercentage specified.
Ended: The experiment ends after 90 days if the winning variant isn't chosen.
Expired: If the winning variant is chosen or it has been 30 days since the experiment ended, the experiment goes into the EXPIRED state and the variant B is deleted.
Enums | |
---|---|
EXPERIMENT_STATE_UNSPECIFIED |
Default for an unset field. Do not use. |
EXPIRED |
The experiment has expired. |
RUNNING |
The experiment is running and thus used in serving. |
ENDED |
The experiment is ended, but not yet expired. Serving continues in the original configurations while the experiment is ready to call an action. |
Methods |
|
---|---|
|
Create an A/B testing experiment for a specified AdMob account and a mediation group. |
|
Stop the mediation A/B experiment and choose a variant. |