hermoso_tag_audiences
Audiences from your website visitors destructive
Description
AUDIENCES FROM THE BRAND’S WEBSITE VISITORS, seen by the Hermoso tag (hermoso_tag). A segment is visitors who visited page paths (visited, prefixes such as "/pricing"), did ANY of some events (events, e.g. ["AddToCart"]) and NONE of others (notEvents, e.g. ["Purchase"]) within withinDays (1-180, default 30). action list (default) shows the segments with how many visitors match, how many are identified (the site gave an email or phone through hermoso('identify') or a form) and how many allowed ad use; preview counts a rule set without saving; save stores one (pass segmentId to edit it); delete removes one (confirm:true). action sync fills a customer-list audience: platform meta (adAccountId; a NEW audience unless audienceId), google_ads (audienceId = a Customer Match list from google_ads_customer_lists, and acceptTerms:true once the advertiser accepts Google’s Customer Match terms), snapchat_ads, pinterest_ads or x_ads (each with the audienceId to fill). Only IDENTIFIED people whose LATEST consent allowed ad use are sent, as SHA-256 hashes made to that platform’s own rule; uploads add people and never remove anyone. WITHOUT confirm:true sync sends nothing and says exactly what it would send: show the user, then call again with confirm:true. Microsoft, Reddit, TikTok and LinkedIn are named with the reason they are not sent. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
action | "list" | "preview" | "save" | "delete" | "sync" | default list |
segmentId | string | save (edit), delete, sync: the segment |
name | string | save / preview: the segment’s name |
visited | string[] | page paths (prefixes), any of |
events | string[] | events, any of (Lead, AddToCart, your own …) |
notEvents | string[] | events none of which happened (e.g. Purchase) |
withinDays | number | 1-180, default 30 |
platform | "meta" | "google_ads" | "snapchat_ads" | "pinterest_ads" | "x_ads" | sync: where to send |
audienceId | string | sync: the audience / customer list to fill (Meta: omit to make a new one) |
audienceName | string | sync to Meta without audienceId: the new audience’s name |
adAccountId | string | sync: the ad account (Meta needs it) |
customerId | string | sync to Google Ads: the account, when several |
acceptTerms | boolean | sync to Google Ads: the advertiser accepted Google’s Customer Match terms |
confirm | boolean | sync / delete: true does it; without it nothing changes |
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/hermoso_tag_audiences.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"hermoso_tag_audiences","arguments":{}}}
CLI
hermoso call hermoso_tag_audiences --json '{}'
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
hermoso_tagThe brand’s Hermoso tag (website tracking snippet)google_ads_customer_listsGoogle Ads Customer Match listshermoso_tag_eventsRecent events from the Hermoso tagpost_purchase_surveyHow-did-you-hear survey (after an order)hermoso_tag_reportWebsite visits, leads and revenue by sourceregister_merchant_developerRegister Hermoso with a Merchant Center accountinstall_hermoso_tagPut the Hermoso tag on the websitelist_merchant_accountsList Merchant Center accountslist_merchant_productsList Merchant Center products