hermosodocs

openai_ads_conversions

ChatGPT Ads attributed conversions read-only

Area: X ADS CUSTOM AUDIENCES + CONVERSION API · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

Description

ATTRIBUTED CONVERSIONS for ChatGPT Ads — the number the whole pixel + conversion-event setup exists to produce, beyond what openai_ads_report shows: that report carries conversions and CPA for the account, a campaign, ad group or ad, while this tool adds the click-through / view-through split, totals per id across many ids, and the received-event sample. Pass entityIds — the campaign / ad group / ad ids to report on — with a matching level; the default window is the last 30 days. NEVER ADD viewThroughConversions TO conversions: since OpenAI’s 2026-09-30 change conversions already counts click-through PLUS view-through goal conversions within the chosen windows (their example: 3 click-through and 2 view-through give conversions 5), and the rows and totals carry clickThroughConversions and viewThroughConversions as its two parts. Post-click conversion rate stays click-through only. NO ROWS means no attributed conversion was recorded, not that data is missing — say exactly that, and check that an event setting exists (list_openai_ads_conversion_events) and that its pixel snippet is actually live on the site. RECEIVED EVENTS: pass recentEvents:true (no ids needed) to read a recent SAMPLE of the events OpenAI actually received on the pixel — type, event time, receive time, API channel and the event id — which answers "did OpenAI get the signup at all?" when a conversion is missing. It is a sample, not a complete log, and receiving an event is not the same as attributing it. BEYOND THE GOAL (on by default): each row and the reply carry attributedEvents, every event OpenAI attributed whether or not it is the campaign’s goal (e.g. purchases on a sign-up campaign), with count and value; totals.orderSales is attributed purchase value. An event count already includes goal activity: NEVER add it to conversions; a null value is unknown, not zero. A current day is not final until OpenAI’s daily processing runs. Read-only, free.

Parameters

ParameterTypeDescription
level"ad_account" | "campaign" | "ad_group" | "ad"inferred from which id you pass — default ad_account
entityIdsstring[]the campaign, ad group or ad ids to report on, required below the account level; omit for level ad_account, which sums every campaign
campaignIdstringcampaign id to report on; sets the level to campaign
adGroupIdstringad group id to report on; sets the level to ad_group
adIdstringad id to report on; sets the level to ad
sincestringYYYY-MM-DD
untilstringYYYY-MM-DD
granularity"none" | "daily"daily = one row per day per entity, plus a byDate total; default none = one total per entity
breakdown"device" | "country"split each row by device or by country
recentEventsbooleantrue = list a recent sample of the events OpenAI RECEIVED on the pixel instead of attributed totals
pixelIdstringwith recentEvents: the pixel_id to read; omit to use the account's first pixel
limitnumberwith recentEvents: how many events, 1-50 (default 50)
attributedEventsbooleandefault true; false = goal counts only
eventNamesstring[]only these events, e.g. ["order_created"]
attributionTimeBasis"ad_event_time" | "conversion_time"default ad_event_time
clickWindowDaysnumber | number | numberdefault 30
viewWindowDaysnumber | numberdefault 1; 0 = no views
includeZeroRowsbooleandefault true

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/openai_ads_conversions.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"openai_ads_conversions","arguments":{}}}

CLI

hermoso call openai_ads_conversions --json '{}'

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