Get ChatGPT Ads ad insights
get-openai-ads-ad-insightsGet insights scoped to a single ad over a date range. Set include_sales for order sales, ROAS, CPA and post-click conversion rate under the given attribution windows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort directives, an array of {field, direction}. Example: [{"field":"spend","direction":"desc"}]. | |
| ad_id | Yes | Ad ID | |
| limit | No | Max rows to return | |
| since | Yes | Range start date (YYYY-MM-DD, inclusive) | |
| until | Yes | Range end date (YYYY-MM-DD, inclusive) | |
| domain_id | Yes | Domain ID | |
| time_basis | No | Whether results are dated by ad_event_time or conversion_time. Defaults to ad_event_time. | |
| include_sales | No | Also return conversions, CPA, post-click conversion rate, order sales and ROAS. Defaults to false. | |
| time_granularity | No | Time granularity. Defaults to none (single rollup row). | |
| view_window_days | No | View-through attribution window in days: 0 (off) or 1. Defaults to 1. | |
| click_window_days | No | Click attribution window in days: 7, 14 or 30. Defaults to 30. |