GA4: Manage audiences
ga4_manage_audiencesGA4-Audiences (Remarketing, nach Google Ads exportierbar). action: list | create. property_id: die GA4-Property des Workspace (andere werden abgelehnt). create braucht 'definition' (Audience-Body nach API-Schema): displayName, description, membershipDurationDays (max. 540), filterClauses [{clauseType: INCLUDE|EXCLUDE, simpleFilter|sequenceFilter}], optional eventTrigger. validate_only gibt den Body zurück, ohne zu schreiben — und ohne Prüfung (die API kennt kein validate_only; 'validated' in der Antwort bedeutet keine Prüfung); Fehler zeigen sich erst beim echten create. workspace: Slug des Kunden-Workspace (optional bei nur einem Workspace).
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": {
"action": "<action>",
"property_id": "<property_id>"
},
"name": "ga4_manage_audiences"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| workspace | No | ||
| definition | No | ||
| property_id | Yes | ||
| validate_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||