hermosodocs

create_tiktok_ads_pixel

Create a TikTok conversion pixel

Area: PIXELS: what makes a TikTok CONVERSION campaign deliverable… · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

Description

Create a new TikTok pixel on an ad account so conversion campaigns have something to optimise toward. Returns the pixel id and the pixel CODE plus the script to install. A PIXEL ALONE IS NOT ENOUGH AND THIS IS THE PART PEOPLE MISS: it measures nothing until (1) the script is installed on the website and (2) the specific conversion EVENT is defined on it — until then TikTok refuses a conversion ad group with "This pixel event type does not exist." TikTok caps the name at 40 characters, rejects emojis and rejects DUPLICATE names, and it recommends naming the pixel after the site it measures. Creating a pixel spends nothing and serves nothing — it is a measurement definition. NOTE: TikTok publishes NO endpoint that deletes a pixel, so a pixel created here is permanent on that ad account.

Parameters

ParameterTypeDescription
advertiserIdstringfrom list_tiktok_ads_accounts
namerequiredstring≤40 characters, no emojis, and it must not duplicate an existing pixel name on the account. TikTok recommends the website or domain 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_tiktok_ads_pixel.

MCP (tools/call)

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

CLI

hermoso call create_tiktok_ads_pixel --json '{"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