archive_analytics_audience
Archive a GA4 audience (one-way) destructive
Description
ARCHIVE a GA4 audience, and it is ONE-WAY: GA4 publishes no delete and no un-archive anywhere in its API. Any Google Ads remarketing list sourced from it stops refreshing, and because the definition is IMMUTABLE the audience cannot be recovered by editing — rebuilding means a NEW audience that starts collecting members from scratch, so months of accumulated membership are gone. WITHOUT `confirm` IT ARCHIVES NOTHING and describes the audience read back from Google; check that against what the user asked for, because naming the right audience is the one thing confirm cannot prove. An ambiguous displayName is REFUSED rather than first-matched — GA4 does not enforce unique names and there is no way back. 0 credits.
Parameters
| Parameter | Type | Description |
|---|---|---|
propertyrequired | string | the NUMERIC GA4 property id |
audienceId | string | from list_analytics_audiences — preferred, because it is unambiguous |
displayName | string | the audience name, if the id is not to hand. Refused when it matches more than one |
confirm | boolean | must be true to actually archive |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/archive_analytics_audience.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"archive_analytics_audience","arguments":{"property":"<string>"}}}
CLI
hermoso call archive_analytics_audience --json '{"property":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
manage_analytics_measurement_protocol_secretGA4 Measurement Protocol secretsget_analytics_stream_setupGA4 install tag and stream settings