hermosodocs

create_meta_pixel

Create a Meta Pixel destructive

Area: META LEAD ADS · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

Description

Create a META PIXEL on one of the brand’s ad accounts, so their ads can optimise for real website conversions instead of link clicks and so website retargeting audiences become possible. A pixel is a DEFINITION: it cannot serve, cannot spend, and RECORDS NOTHING until its snippet is installed on the site — the reply hands back that snippet and says so. TWO THINGS TO SAY OUT LOUD BEFORE CALLING IT: Meta allows exactly ONE pixel per ad account (a second attempt is refused and Hermoso will name the one that already exists — so call list_meta_pixels first), and Meta publishes NO WAY TO DELETE a pixel, so this is permanent. Creating it spends nothing.

Parameters

ParameterTypeDescription
adAccountIdrequiredstringthe ad account (from list_connector_accounts / list_meta_pages), with or without the act_ prefix
namerequiredstringwhat it will be called in Events Manager — name it after the website or brand it measures

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/create_meta_pixel.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_meta_pixel","arguments":{"adAccountId":"<string>","name":"<string>"}}}

CLI

hermoso call create_meta_pixel --json '{"adAccountId":"<string>","name":"<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