Create mediation group
create_mediation_groupCreates an AdMob mediation group for a given ad format and platform, linking ad units and optionally adding mediation lines for third-party ad sources.
Instructions
Creates a mediation group targeting a format/platform and a set of ad units, with optional mediation lines for third-party ad sources. 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": {
"displayName": "<displayName>",
"platform": "<platform>",
"format": "<format>",
"adUnitIds": "<adUnitIds>"
},
"name": "create_mediation_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | Targeted ad format | |
| platform | Yes | Targeted platform | |
| adUnitIds | Yes | AdMob ad unit IDs this mediation group serves | |
| displayName | Yes | Display name of the mediation group | |
| idfaTargeting | No | iOS IDFA targeting | |
| excludedRegionCodes | No | CLDR region codes to exclude | |
| mediationGroupLines | No | Mediation lines (ad sources) in the group | |
| targetedRegionCodes | No | CLDR region codes to target (omit for all regions) |