Create mediation A/B experiment
create_mediation_ab_experimentCreate A/B experiments on AdMob mediation groups to compare treatment lines against existing setup.
Instructions
Creates an A/B experiment on a mediation group: the treatment variant serves the given mediation lines against the existing setup. Requires the admob.monetization scope.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mediationGroupId": "<mediationGroupId>",
"displayName": "<displayName>",
"treatmentMediationLines": "<treatmentMediationLines>"
},
"name": "create_mediation_ab_experiment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| displayName | Yes | Display name of the experiment | |
| mediationGroupId | Yes | Mediation group ID to experiment on | |
| treatmentMediationLines | Yes | Mediation lines served by the treatment variant | |
| treatmentTrafficPercentage | No | Percentage of traffic sent to the treatment variant (1-99) |