manage_meta_pixel
Manage a Meta pixel (sharing, people, health) destructive
Description
One Meta pixel on an ad account this brand chose: action get (default; the full pixel: install snippet, when it last fired, owner business, automatic advanced matching and its fields, first-party cookies) | update (name, enableAutomaticMatching, automaticMatchingFields, firstPartyCookies enabled/disabled, dataUseSetting; read back; switching matching or first-party cookies OFF lowers measurement for every ad on the pixel, so it needs confirm:true after the user agrees) | shared_accounts (the ad accounts it is shared with) | share / unshare (targetAdAccountId, which must be one of this brand's ad accounts; unshare stops that account's ads measuring on it, so it needs confirm:true) | users (the business people on it, with their tasks) | assign_user (userId from manage_meta_business list_people, tasks AA_ANALYZE / ADVERTISE / ANALYZE / EDIT / UPLOAD; an assignment replaces their tasks, so narrowing them needs confirm:true) | remove_user (Meta has no API for it: the reply says where to do it) | partners (the partner businesses it is shared with; sharing with a new partner is done in Business Settings) | diagnostics (Meta's Events Manager checks: missing parameters, catalog mismatches) | stats (event counts by aggregation, default event; since / until). pixelId is the id or the exact name from list_meta_pixels. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
action | "get" | "update" | "shared_accounts" | "share" | "unshare" | "users" | "assign_user" | "remove_user" | "partners" | "diagnostics" | "stats" | default get |
adAccountIdrequired | string | Meta ad account id (act_123 or digits) the pixel is on or shared with; it must be one this brand has shared |
pixelIdrequired | string | pixel id, or its exact name, from list_meta_pixels |
name | string | update: new pixel name |
enableAutomaticMatching | boolean | update: automatic advanced matching on or off |
automaticMatchingFields | string[] | update: the fields matched, from em, fn, ln, ph, ge, zp, ct, st, country, db, external_id |
firstPartyCookies | "enabled" | "disabled" | update: first-party cookies |
dataUseSetting | string | update: Meta's data use setting, e.g. ADVERTISING_AND_ANALYTICS or ANALYTICS_ONLY |
targetAdAccountId | string | share / unshare: the ad account to give the pixel to or take it from (one of this brand's) |
userId | string | assign_user / remove_user: business-scoped user id from manage_meta_business list_people |
tasks | string[] | assign_user: AA_ANALYZE, ADVERTISE, ANALYZE, EDIT, UPLOAD |
aggregation | string | stats: event (default), host, url, device_type, browser_type, match_keys, event_source, … |
since | string | stats: start, ISO date or unix seconds |
until | string | stats: end, ISO date or unix seconds |
confirm | boolean | true after the user agreed (lowering matching / cookies, unshare, narrowing someone's tasks) |
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/manage_meta_pixel.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"manage_meta_pixel","arguments":{"adAccountId":"<string>","pixelId":"<string>"}}}
CLI
hermoso call manage_meta_pixel --json '{"adAccountId":"<string>","pixelId":"<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_meta_businessMeta business portfolio people and asset accesslist_meta_pixelsList Meta Pixels on an ad accountmeta_insights_reportMeta insights as a background reportmanage_meta_test_leadMeta instant form test leadget_meta_ad_mediaDirect image and video links of a Meta admanage_meta_audienceRename a Meta audience or remove people from itmanage_meta_ad_libraryA Meta ad account's creative, image, video and label librarieslist_meta_partnership_ad_contentCreator posts available for Meta partnership adslist_meta_ad_instagram_accountsInstagram identities a Meta ad account can run ads aslist_ad_rule_templatesReady-made ad rules (Meta and Google Ads)