Update mediation group
update_mediation_groupPatch an AdMob mediation group by providing the fields to modify and their paths. Adjust targeting or line items without recreating the group.
Instructions
Patches a mediation group. Pass the fields to change in mediationGroup and list their paths in updateMask (e.g. "display_name,targeting.ad_unit_ids"). 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>",
"updateMask": "<updateMask>",
"mediationGroup": "<mediationGroup>"
},
"name": "update_mediation_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updateMask | Yes | Comma-separated field mask, e.g. "display_name,mediation_group_lines" | |
| mediationGroup | Yes | MediationGroup fields to update, following the AdMob API v1beta MediationGroup schema | |
| mediationGroupId | Yes | Mediation group ID from list_mediation_groups |