ga4_update_channel_group
Update a GA4 custom channel group by supplying its grouping rule or display name. Change only the fields you need; the update mask is derived automatically from them.
Instructions
[GA4 WRITE] Update a custom channel group (supply groupingRule/displayName via body). Pass only the fields to change; updateMask is derived from them (override with an explicit updateMask for nested paths). Requires GA4_MCP_ENABLE_WRITES=true and confirm=true.
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": {
"name": "<name>",
"confirm": "<confirm>"
},
"name": "ga4_update_channel_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Raw request-body object (JSON) merged OVER the typed fields — use for nested/advanced fields not exposed as flat args. | |
| name | Yes | Full resource name of the channel group to target: "properties/{property}/channelGroups/{id}". | |
| confirm | Yes | Must be true to apply the change. | |
| updateMask | No | Comma-separated field paths to update. Omit to derive from the supplied fields. |