Skip to main content
Retrieves OpenAI Ads (ChatGPT Ads) reporting data with customizable metrics, dimensions, filters, date ranges, and sorting options. Supports ad account, campaign, ad group, and ad aggregation levels. OpenAI Ads authenticates with an API key where each key maps to a single ad account, so there is no in-node list accounts or account selection — the connection itself determines the account. Use the list_connections tool to see which OpenAI Ads accounts the user’s connections have access to and pick the right connection_id.

Inputs

DateRange

FilterItem

OrderItem

ReportOptions

SelectableOption

CompareOptions

Output

Type: List[Dict] Returns list of rows. Each row is a dict with keys matching selected metrics/dimensions. If ‘pretty_column_names’ is enabled, keys are formatted. Fields: dynamic (depend on the inputs) Example: