# Hermoso: create_tiktok_ads_pixel · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/create_tiktok_ads_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/) / create_tiktok_ads_pixel

# `create_tiktok_ads_pixel`

Create a TikTok conversion pixel

Area: PIXELS: what makes a TikTok CONVERSION campaign deliverable… · [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

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

Parameter Type Description

`advertiserId` `string` from list_tiktok_ads_accounts

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

## Related tools

- [list_tiktok_ads_pixels](https://hermoso.ai/docs/reference/ads/list_tiktok_ads_pixels/) List a TikTok advertiser’s conversion pixels
- [tiktok_ads_pixel_stats](https://hermoso.ai/docs/reference/ads/tiktok_ads_pixel_stats/) Read how often a TikTok pixel’s events fired
- [list_tiktok_ads_custom_conversions](https://hermoso.ai/docs/reference/ads/list_tiktok_ads_custom_conversions/) List TikTok Custom Conversions

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