Create mediation A/B experiment
admob_create_ab_experimentCreate an A/B experiment for an AdMob mediation group by specifying treatment lines and traffic percentage (1%, 10%, or 50%). Control lines are inherited automatically.
Instructions
Start an A/B experiment on a mediation group (v1beta, allowlisted). Control lines are inherited from the group automatically; you supply the treatment lines and the treatment traffic percentage. Only one experiment can run per group at a time; monitor it via admob_list_mediation_groups.
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>",
"treatmentTrafficPercentage": "<treatmentTrafficPercentage>",
"treatmentMediationLines": "<treatmentMediationLines>"
},
"name": "admob_create_ab_experiment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true, validate the inputs and return the exact API request that would be sent WITHOUT executing it. Default false: the operation runs after the MCP client asks you to confirm. | |
| displayName | Yes | ||
| publisherId | No | AdMob publisher id or account resource name, e.g. "pub-1234567890123456" or "accounts/pub-1234567890123456". Defaults to ADMOB_PUBLISHER_ID, or the single account on the credentials. | |
| mediationGroupId | Yes | ||
| treatmentMediationLines | Yes | Array of treatment lines, each an object like { mediationGroupLine: { ... } }. | |
| treatmentTrafficPercentage | Yes | Percentage of traffic for the treatment variant. Allowed: 1, 10, or 50. |