ga4_create_audience
Creates a GA4 audience using filter clauses and optional settings; requires write access enabled and confirm=true to apply the change.
Instructions
[GA4 WRITE] Create an audience. Pass the filterClauses via body (see the Admin API Audience shape). 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": {
"property": "<property>",
"confirm": "<confirm>"
},
"name": "ga4_create_audience"
}
}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. | |
| confirm | Yes | Must be true to apply the change. | |
| property | Yes | GA4 property ID, e.g. "123456789" or "properties/123456789". | |
| description | No | ||
| displayName | No | ||
| membershipDurationDays | No |