create_openai_ads_conversion_event
Define a ChatGPT Ads conversion
Description
Define what counts as a conversion on ChatGPT Ads, measured from one or more pixels. THIS IS THE PREREQUISITE for a conversion-optimised campaign: pass the returned id as conversionEventSettingIds to create_openai_ads_campaign. Creating one cannot spend and cannot serve — it is a definition, so it is not confirm-gated.
Parameters
| Parameter | Type | Description |
|---|---|---|
namerequired | string | display name of the conversion event |
eventTyperequired | string | e.g. order_created, lead_created, registration_completed — the plausible words "purchase", "lead" and "signup" are all REFUSED by ChatGPT Ads |
sourceIdsrequired | string[] | exactly ONE source id from create_openai_ads_pixel (ChatGPT Ads takes one source per event; create one event per pixel) |
customEventName | string | for a non-standard event |
attributionWindowDays | number | default 30, which is what OpenAI recommends; 1-90 |
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_conversion_event.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_openai_ads_conversion_event","arguments":{"name":"<string>","eventType":"<string>","sourceIds":"<array>"}}}
CLI
hermoso call create_openai_ads_conversion_event --json '{"name":"<string>","eventType":"<string>","sourceIds":"<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.
Related tools
create_openai_ads_campaignBuild a ChatGPT Ads campaign (paused)create_openai_ads_pixelCreate a ChatGPT Ads pixellist_openai_ads_audiencesList ChatGPT Ads custom audienceslist_openai_ads_conversion_eventsList ChatGPT Ads conversion eventscreate_openai_ads_audienceCreate a ChatGPT Ads custom audiencex_ads_reportX ads performance reportget_openai_ads_audienceRead one ChatGPT Ads custom audiencex_ads_geo_searchFind X ads location idsupdate_openai_ads_audience_membersAdd, remove or replace ChatGPT Ads audience membersadd_x_ads_targetingTarget an X ads line item