For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation
Overview Agent Access Ads ChatGPT + Codex user docs Use cases

API Reference

List Conversion Event Settings

GET
/conversions/event_settings

List conversion event settings for the currently authenticated ad account.

List Conversion Event Settings

curl https://api.ads.openai.com/v1/conversions/event_settings \
    -H "Authorization: Bearer $OPENAI_ADS_API_KEY"
200 — Example
{
  "data": [
    {
      "id": "id",
      "ad_account_id": "ad_account_id",
      "archived": true,
      "attribution_window_days": 0,
      "campaigns": [
        {
          "id": "id",
          "name": "name"
        }
      ],
      "custom_event_name": "custom_event_name",
      "event_type": "event_type",
      "name": "name",
      "source_ids": [
        "string"
      ],
      "sources": [
        {
          "id": "id",
          "name": "name"
        }
      ],
      "version": 0
    }
  ],
  "first_id": "first_id",
  "has_more": true,
  "last_id": "last_id",
  "object": "object"
}
Query Parameters
after: optional string
before: optional string
limit: optional integer
minimum1
maximum500
order: optional "asc" or "desc"
One of the following:
"asc"
"desc"
Returns
data: array of object { id, ad_account_id, archived, 8 more }
id: string
ad_account_id: string
archived: boolean
attribution_window_days: integer
campaigns: array of object { id, name }
id: string
name: string
custom_event_name: string or null
event_type: string
name: string
source_ids: array of string
sources: array of object { id, name }
id: string
name: string or null
version: integer
first_id: string or null
has_more: boolean
last_id: string or null
object: string
Returns Examples
200 — Example
{
  "data": [
    {
      "id": "id",
      "ad_account_id": "ad_account_id",
      "archived": true,
      "attribution_window_days": 0,
      "campaigns": [
        {
          "id": "id",
          "name": "name"
        }
      ],
      "custom_event_name": "custom_event_name",
      "event_type": "event_type",
      "name": "name",
      "source_ids": [
        "string"
      ],
      "sources": [
        {
          "id": "id",
          "name": "name"
        }
      ],
      "version": 0
    }
  ],
  "first_id": "first_id",
  "has_more": true,
  "last_id": "last_id",
  "object": "object"
}