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 Product Feeds

GET
/feeds

List feeds for the authenticated ad account. Defaults to product inventory; hotel inventory requires Hotel feed API access.

List Product Feeds

curl https://api.ads.openai.com/v1/feeds \
    -H "Authorization: Bearer $OPENAI_ADS_API_KEY"
200 — Example
{
  "data": [
    {
      "countries": [
        "string"
      ],
      "created_at": "created_at",
      "currencies": [
        "string"
      ],
      "feed_id": "feed_id",
      "name": "name",
      "updated_at": "updated_at",
      "campaign_count": 0,
      "hosted_url_configured": true,
      "inventory_type": "inventory_type",
      "is_shopify_managed": true,
      "item_count": 0,
      "product_count": 0,
      "ready_count": 0,
      "schema_profile": "schema_profile",
      "sftp_configured": true
    }
  ],
  "first_id": "first_id",
  "has_more": true,
  "last_id": "last_id",
  "object": "object"
}
Query Parameters
after: optional string
before: optional string
include: optional array of "product_count" or "item_count"
One of the following:
"product_count"
"item_count"
inventory_type: optional "product" or "hotel"

Inventory to list. Hotel inventory requires Hotel feed API access.

One of the following:
"product"
"hotel"
limit: optional integer
minimum1
maximum500
Returns
data: array of object { countries, created_at, currencies, 12 more }
countries: array of string
created_at: string
currencies: array of string
feed_id: string
name: string
updated_at: string
campaign_count: optional integer
hosted_url_configured: optional boolean
inventory_type: optional string
is_shopify_managed: optional boolean
item_count: optional integer
product_count: optional integer
ready_count: optional integer
schema_profile: optional string
sftp_configured: optional boolean
first_id: string or null
has_more: boolean
last_id: string or null
object: string
Returns Examples
200 — Example
{
  "data": [
    {
      "countries": [
        "string"
      ],
      "created_at": "created_at",
      "currencies": [
        "string"
      ],
      "feed_id": "feed_id",
      "name": "name",
      "updated_at": "updated_at",
      "campaign_count": 0,
      "hosted_url_configured": true,
      "inventory_type": "inventory_type",
      "is_shopify_managed": true,
      "item_count": 0,
      "product_count": 0,
      "ready_count": 0,
      "schema_profile": "schema_profile",
      "sftp_configured": true
    }
  ],
  "first_id": "first_id",
  "has_more": true,
  "last_id": "last_id",
  "object": "object"
}