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

Advertiser API endpoints & usage

The Advertiser API lets you manage ad campaigns, ad groups, ads, files, and reporting from one API. It supports CRUD-like functions with standard JSON content types.

Authentication

Issue an API key in the Settings tab of Ads Manager. Each key is scoped to one ad account.

Pass the key as a bearer token on every request:

Authorization: Bearer $OPENAI_ADS_API_KEY

The Ads API works in the context of one ad account. API partners should use the key associated with the client account they are configuring. See API partner setup. To request partner access, contact us.

Endpoints

ResourceUse for
CampaignsCreate, list, retrieve, update, and change campaign state.
Ad GroupsCreate, list, retrieve, update, and change ad group state.
AdsCreate, list, retrieve, update, and change ad state.
Bulk APICreate or update campaigns, ad groups, and ads in an asynchronous job.
Product feedsUse a merchant catalog to create product-feed campaigns.
FilesUpload creative assets for use in ads.
InsightsRetrieve performance data across ad account, campaign, ad group, and ad scopes.
ConversionsCreate pixels, server-side keys, and conversion event settings when enabled.

Every resource belongs to the ad account associated with the API key. Programmatic brand updates and conversion management require account enablement. Contact your OpenAI partner representative if these operations are not available for the account.

Use the Quickstart for a minimal end-to-end workflow, or go directly to the API reference. API partners can start with API partner setup. To advertise from a merchant catalog, follow the product feeds guide.

Object Statuses

For an ad to show to users, the ad, and its parent ad group and campaign all have to be enabled. Further, the Ad has to be reviewed. Reviews typically only take a few minutes, you can monitor with the review_status field.

Rate limits

The Advertiser API enforces limits by both ad account and IP address:

ScopeLimit
Per endpoint600 requests per minute
Overall1,200 requests per minute

Requests must stay within both the ad-account and IP-address limits.

Bulk job creation has a separate limit of 10 requests per 10 seconds for each ad account. See Bulk API limits.

OpenAPI spec

Download the OpenAPI spec

Changelog

July 16th, 2026

  • Added support for passing the Pixel browser reference as events[].user.obref in Conversions API requests.

June 16th, 2026

  • Added conversion-optimized campaign bidding with bidding_type: "conversions" and one standard conversion event setting.

June 11th, 2026

  • Added segmented insights for product, country, and device breakdowns, plus zero-impression product expansion.

June 3rd, 2026

  • Added location targeting support, including /geo_lookup/search and campaign targeting.locations.include for country, region, and DMA location IDs.
  • Added conversion setup and reporting endpoints for API keys, pixels, event settings, and conversion insights.

v1

  • Published the initial API version.