# Hermoso: send_openai_ads_conversions · Hermoso developer docs

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

# `send_openai_ads_conversions`

Send server-side conversion events to ChatGPT Ads destructive

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

Send conversion events to ChatGPT Ads from a SERVER (the Conversions API). USER MATCHING: pass plaintext email / phone (with country code) / externalId / firstName / lastName and Hermoso hashes them locally, plus raw country / city / region / zip_code and gaid (Android advertising id); each becomes the API’s plural list (emails_sha256, phone_numbers_sha256, …), the first three unique values per list count, and more fields = better matching. This is the only way a conversion that did not happen in the browser — an offline sale, a webhook, a mobile backend, a CRM — is ever counted, and it is the half of the measurement loop that create_openai_ads_pixel and create_openai_ads_conversion_event exist to set up. TWO IDS LOOK ALIKE AND ONLY ONE WORKS: pass `pixelSnippetId`, which is OpenAI’s `pixel_id` and is what create_openai_ads_pixel returns under that name — NOT the `pixelId` (their `clidsrc_…` value), which is the conversion SOURCE id that an event setting takes as sourceIds. THE KEY IS ALSO NOT THE ONE YOU THINK: `apiKey` is the CONVERSIONS API key from create_openai_ads_conversion_api_key, not the Advertiser API key this workspace is connected with — OpenAI return it exactly once so Hermoso holds no copy and it must be passed in. Each event needs an `id` and a `type`, plus `source_url` for a web event; the data SHAPE is fixed by the event type and Hermoso fills it in, and MONEY IS AN INTEGER IN THE CURRENCY’S MINOR UNIT (4250 means $42.50 — sending 42.50 is refused, not rounded). Timestamps must be inside the last 7 days and no more than 10 minutes ahead. ONE BAD EVENT FAILS THE WHOLE BATCH of up to 1,000, so Hermoso validates locally first and names the offending event and field instead of letting OpenAI discard all of them. Use validateOnly:true for a free dry run that VALIDATES AND SAVES NOTHING — never tell a user a validate-only run was measured. If the browser pixel and the server both send the same conversion, give them the SAME id so OpenAI deduplicates it. Free — costs no credits.

## Parameters

Parameter Type Description

`pixelSnippetId` required `string` OpenAI’s pixel_id — create_openai_ads_pixel returns it as pixelSnippetId. NOT the clidsrc_… pixelId, which is the conversion source id.

`apiKey` required `string` the Conversions API key (create_openai_ads_conversion_api_key) — NOT the Advertiser API key the connector stores

`events` required `object[]` up to 1000 events. Each: {id, type (order_created / lead_created / page_viewed / custom / …), timestamp_ms?, source_url? (required for web), action_source?, user? {email or externalId — Hermoso hashes them locally, plus country/city/zip_code/ip_address/user_agent/obref}, data? {amount as an INTEGER in minor units, currency, contents[]}}

`validateOnly` `boolean` true validates the batch against ChatGPT Ads and SAVES NOTHING — no conversion is recorded

`integrationSource` `string` stable identifier for the integration sending the batch; defaults to "hermoso"

## 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/send_openai_ads_conversions`.

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

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"send_openai_ads_conversions","arguments":{"pixelSnippetId":"<string>","apiKey":"<string>","events":"<array>"}}}`
**CLI**

`hermoso call send_openai_ads_conversions --json '{"pixelSnippetId":"<string>","apiKey":"<string>","events":"<array>"}'`

## 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_pixel](https://hermoso.ai/docs/reference/ads/create_openai_ads_pixel/) Create a ChatGPT Ads pixel
- [create_openai_ads_conversion_event](https://hermoso.ai/docs/reference/ads/create_openai_ads_conversion_event/) Define a ChatGPT Ads conversion
- [create_openai_ads_conversion_api_key](https://hermoso.ai/docs/reference/ads/create_openai_ads_conversion_api_key/) Create a ChatGPT Ads Conversions API key
- [preview_openai_ads_ad](https://hermoso.ai/docs/reference/ads/preview_openai_ads_ad/) Preview a ChatGPT Ads ad
- [openai_ads_conversions](https://hermoso.ai/docs/reference/ads/openai_ads_conversions/) ChatGPT Ads attributed conversions
- [update_openai_ads_account](https://hermoso.ai/docs/reference/ads/update_openai_ads_account/) Update the ChatGPT Ads account (brand / account / legal name, URL, favicon)
- [set_openai_ads_budget](https://hermoso.ai/docs/reference/ads/set_openai_ads_budget/) Set a ChatGPT Ads campaign budget
- [set_openai_ads_status](https://hermoso.ai/docs/reference/ads/set_openai_ads_status/) Activate, pause or archive a ChatGPT Ads account / campaign / ad group / ad
- [update_openai_ads_object](https://hermoso.ai/docs/reference/ads/update_openai_ads_object/) Edit a ChatGPT Ads campaign / ad group / ad
- [delete_openai_ads_object](https://hermoso.ai/docs/reference/ads/delete_openai_ads_object/) Archive (ChatGPT Ads’ delete) a campaign / ad group / ad

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