# Hermoso: create_openai_ads_pixel · Hermoso developer docs

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

# `create_openai_ads_pixel`

Create a ChatGPT Ads pixel

Area: X ADS CUSTOM AUDIENCES + CONVERSION API · [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 ChatGPT Ads web pixel — the thing that observes actions on the site. IT RECORDS NOTHING until its snippet is installed on the site, so say that rather than implying tracking is live. MATCH RATE: the snippet’s oaiq("init", { user: {…} }) call accepts email_sha256, phone_number_sha256, external_id_sha256, first_name_sha256, last_name_sha256 (all SHA-256, lowercase hex) plus raw country, city, region and postal_code — tell the site owner to pass whatever they know about a logged-in visitor, because every field improves conversion matching. A pixel is a measurement definition and cannot spend. The next step is create_openai_ads_conversion_event, which says WHICH observed action counts as a conversion. AUTOMATIC ADVANCED MATCHING IS ON BY DEFAULT — that is OpenAI’s own default for pixels created through the Ads API since 2026-08-17, and it means the Pixel COLLECTS AND HASHES CUSTOMER INFORMATION (email, phone) from the page. Tell the user that in plain words, and pass automaticAdvancedMatching:false if they want it off. The reply reports what OpenAI actually stored: there is no endpoint to read a pixel back afterwards, so that one reply is the only record you will ever get.

## Parameters

Parameter Type Description

`name` required `string` a name for the pixel

`automaticAdvancedMatching` `boolean` default true (OpenAI’s own default). false stops the Pixel collecting and hashing customer information from the page.

## 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_openai_ads_pixel`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_openai_ads_pixel","arguments":{"name":"<string>"}}}`
**CLI**

`hermoso call create_openai_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

- [create_openai_ads_conversion_event](https://hermoso.ai/docs/reference/ads/create_openai_ads_conversion_event/) Define a ChatGPT Ads conversion
- [list_openai_ads_conversion_events](https://hermoso.ai/docs/reference/ads/list_openai_ads_conversion_events/) List ChatGPT Ads conversion events
- [x_ads_report](https://hermoso.ai/docs/reference/ads/x_ads_report/) X ads performance report
- [list_openai_ads_audiences](https://hermoso.ai/docs/reference/ads/list_openai_ads_audiences/) List ChatGPT Ads custom audiences
- [x_ads_geo_search](https://hermoso.ai/docs/reference/ads/x_ads_geo_search/) Find X ads location ids
- [create_openai_ads_audience](https://hermoso.ai/docs/reference/ads/create_openai_ads_audience/) Create a ChatGPT Ads custom audience
- [add_x_ads_targeting](https://hermoso.ai/docs/reference/ads/add_x_ads_targeting/) Target an X ads line item
- [get_openai_ads_audience](https://hermoso.ai/docs/reference/ads/get_openai_ads_audience/) Read one ChatGPT Ads custom audience
- [create_x_ads_promoted_tweet](https://hermoso.ai/docs/reference/ads/create_x_ads_promoted_tweet/) Attach a post to an X line item (paused)
- [update_openai_ads_audience_members](https://hermoso.ai/docs/reference/ads/update_openai_ads_audience_members/) Add, remove or replace ChatGPT Ads audience members

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