Post Conversion Insights
Get attributed conversion totals or daily values for the authenticated ad account.
Retrieve campaign goal conversion counts and, optionally, attributed standard and custom event metrics. Goal counts include click-through and view-through conversions within the selected reporting windows. Events do not need to be campaign goals to appear in the optional event details.
Use full days in the account timezone, with an inclusive date_range.until, spanning at most
365 days. Unix and hour-range ends are exclusive. Set group_by_entity to false to combine entities for each date or
breakdown; the account ID then identifies the row. Event expansion adds detail
without changing matching summary metrics. Event-name filtering affects nested
events, not goal counts or summary sales.
The click and view defaults apply independently. These options select the report's attribution windows; they do not change campaign conversion goals or optimization settings. If an outcome is eligible for both click-through and view-through attribution, the click takes precedence.
An event_names entry must be configured in the account's conversion event settings, including archived settings, or present in its published received-event history. Validation covers the account independently of the requested entities and dates. Newly received events without conversion settings can be selected after their history is published; retained history is not an all-time event registry. A recognized event can have no attributed activity in the requested report.
Unknown names, an empty event_names array, null, or an event selector without the expansion return HTTP 400. Unsupported reporting windows also return HTTP 400.
count counts summary rows, not conversions or nested events. Goal conversions
combine click-through and view-through counts; a zero-day view window excludes
views. Attributed purchase value can include both goal and non-goal purchases and is
returned as an unrounded decimal string.
Unavailable event amounts and currencies are null, not zero.
Non-goal-only rows can have positive event counts or sales and zero conversions. A recognized but inactive event selection can yield attributed_events: [] on a retained summary row. Empty event details do not confirm that historical data has finished processing.
Responses are limited to 2,000 summary rows and, when expanded, 2,000 event rows in total. Each event's goal-setting breakdown is also limited to 2,000 entries. Exceeding a limit returns HTTP 413 rather than a partial result. This endpoint has no pagination cursor: reduce the entity list, split the report into non-overlapping date ranges, or select fewer event names when event details exceed the limit.
See Report goal and non-goal events for a complete event-expansion request and response.
Post Conversion Insights
curl https://api.ads.openai.com/v1/conversions/insights \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $OPENAI_ADS_API_KEY" \
-d '{
"aggregation_level": "campaign",
"time_ranges": [
"{\"type\":\"date_range\",\"since\":\"2026-09-01\",\"until\":\"2026-09-07\"}"
],
"group_by_entity": false
}'{
"object": "list",
"data": [],
"count": 0,
"account_currency": "USD"
}Body ParametersJSON
Exactly one JSON-encoded time-range object spanning full days in the account timezone and at most 365 days. date_range.until is inclusive; unix_range.end and hour_range.until are exclusive.
Nonempty IDs at the selected aggregation level, required when group_by_entity is true. Omit when group_by_entity is false to report across the account.
Requires include=[attributed_events]. Omit for all; select configured or published account events.
Group by entity when true. When false, combined rows use the ad account ID as entity_id.
Add event details; clock, windows and goal totals are unchanged. count counts summary rows.
Returns Examples
{
"object": "list",
"data": [],
"count": 0,
"account_currency": "USD"
}