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 Sources

GET
/conversions/pixels

List conversion pixels and connected pixel ids for the acting ad account.

List Conversion Sources

curl https://api.ads.openai.com/v1/conversions/pixels \
    -H "Authorization: Bearer $OPENAI_ADS_API_KEY"
200 — Example
{
  "data": [
    {
      "id": "id",
      "client_type": "client_type",
      "name": "name",
      "pixel_id": "pixel_id"
    }
  ],
  "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, client_type, name, pixel_id }
id: string
client_type: string
name: string
pixel_id: string
first_id: string or null
has_more: boolean
last_id: string or null
object: string
Returns Examples
200 — Example
{
  "data": [
    {
      "id": "id",
      "client_type": "client_type",
      "name": "name",
      "pixel_id": "pixel_id"
    }
  ],
  "first_id": "first_id",
  "has_more": true,
  "last_id": "last_id",
  "object": "object"
}