# Hermoso: manage_meta_pixel: Manage a Meta · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/manage_meta_pixel/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Ad campaign management](https://hermoso.ai/docs/reference/ads/) / manage_meta_pixel

# `manage_meta_pixel`

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

Area: GOOGLE DATA MANAGER · [Ad campaign management](https://hermoso.ai/docs/reference/ads/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/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

Parameter Type Description

`action` `"get" | "update" | "shared_accounts" | "share" | "unshare" | "users" | "assign_user" | "remove_user" | "partners" | "diagnostics" | "stats"` default get

`adAccountId` required `string` Meta ad account id (act_123 or digits) the pixel is on or shared with; it must be one this brand has shared

`pixelId` required `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](https://hermoso.ai/docs/credits/).

## Related tools

- [manage_meta_business](https://hermoso.ai/docs/reference/ads/manage_meta_business/) Meta business portfolio people and asset access
- [list_meta_pixels](https://hermoso.ai/docs/reference/ads/list_meta_pixels/) List Meta Pixels on an ad account
- [meta_insights_report](https://hermoso.ai/docs/reference/ads/meta_insights_report/) Meta insights as a background report
- [manage_meta_test_lead](https://hermoso.ai/docs/reference/ads/manage_meta_test_lead/) Meta instant form test lead
- [get_meta_ad_media](https://hermoso.ai/docs/reference/ads/get_meta_ad_media/) Direct image and video links of a Meta ad
- [manage_meta_audience](https://hermoso.ai/docs/reference/ads/manage_meta_audience/) Rename a Meta audience or remove people from it
- [manage_meta_ad_library](https://hermoso.ai/docs/reference/ads/manage_meta_ad_library/) A Meta ad account's creative, image, video and label libraries
- [list_meta_partnership_ad_content](https://hermoso.ai/docs/reference/ads/list_meta_partnership_ad_content/) Creator posts available for Meta partnership ads
- [list_meta_ad_instagram_accounts](https://hermoso.ai/docs/reference/ads/list_meta_ad_instagram_accounts/) Instagram identities a Meta ad account can run ads as
- [list_ad_rule_templates](https://hermoso.ai/docs/reference/ads/list_ad_rule_templates/) Ready-made ad rules (Meta and Google Ads)

[All 759 Ad campaign management tools](https://hermoso.ai/docs/reference/ads/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
