hermosodocs

hermoso_tag_audiences

Audiences from your website visitors destructive

Area: THE HERMOSO TAG · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
action"list" | "preview" | "save" | "delete" | "sync"default list
segmentIdstringsave (edit), delete, sync: the segment
namestringsave / preview: the segment’s name
visitedstring[]page paths (prefixes), any of
eventsstring[]events, any of (Lead, AddToCart, your own …)
notEventsstring[]events none of which happened (e.g. Purchase)
withinDaysnumber1-180, default 30
platform"meta" | "google_ads" | "snapchat_ads" | "pinterest_ads" | "x_ads"sync: where to send
audienceIdstringsync: the audience / customer list to fill (Meta: omit to make a new one)
audienceNamestringsync to Meta without audienceId: the new audience’s name
adAccountIdstringsync: the ad account (Meta needs it)
customerIdstringsync to Google Ads: the account, when several
acceptTermsbooleansync to Google Ads: the advertiser accepted Google’s Customer Match terms
confirmbooleansync / 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.

All 759 Ad campaign management tools · tools.json