hermosodocs

manage_meta_pixel

Manage a Meta pixel (sharing, people, health) destructive

Area: GOOGLE DATA MANAGER · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
action"get" | "update" | "shared_accounts" | "share" | "unshare" | "users" | "assign_user" | "remove_user" | "partners" | "diagnostics" | "stats"default get
adAccountIdrequiredstringMeta ad account id (act_123 or digits) the pixel is on or shared with; it must be one this brand has shared
pixelIdrequiredstringpixel id, or its exact name, from list_meta_pixels
namestringupdate: new pixel name
enableAutomaticMatchingbooleanupdate: automatic advanced matching on or off
automaticMatchingFieldsstring[]update: the fields matched, from em, fn, ln, ph, ge, zp, ct, st, country, db, external_id
firstPartyCookies"enabled" | "disabled"update: first-party cookies
dataUseSettingstringupdate: Meta's data use setting, e.g. ADVERTISING_AND_ANALYTICS or ANALYTICS_ONLY
targetAdAccountIdstringshare / unshare: the ad account to give the pixel to or take it from (one of this brand's)
userIdstringassign_user / remove_user: business-scoped user id from manage_meta_business list_people
tasksstring[]assign_user: AA_ANALYZE, ADVERTISE, ANALYZE, EDIT, UPLOAD
aggregationstringstats: event (default), host, url, device_type, browser_type, match_keys, event_source, …
sincestringstats: start, ISO date or unix seconds
untilstringstats: end, ISO date or unix seconds
confirmbooleantrue 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.

All 759 Ad campaign management tools · tools.json