OpenAI Ads API (ChatGPT Ads) for Developers

Zernio's ChatGPT Ads API lets you run OpenAI and six other ad networks from one API key. Create campaigns, pause them, adjust budgets and pull daily spend across all of them.

ℹ️

Country Targeting, Lifetime Budgets

OpenAI Ads campaigns run on a lifetime spend cap (no daily budget) and target by country only, both platform constraints, not a Zernio limitation. Audience management and boosting existing content as an ad have no OpenAI API yet, so those stay on the roadmap.

Key Features

Create Chat Card Campaigns

One API call creates the campaign, ad group, and ad: a headline, body text, image, and destination URL rendered as a chat card in ChatGPT.

Lifetime Budget + Country Targeting

Set a lifetime spend cap and target by country, the two levers OpenAI Ads exposes today.

API Key Connect

No OAuth flow. Paste the API key from Ads Manager Settings and Zernio validates it against your ad account before saving it.

Campaign, Ad Group, and Ad Sync

Full account structure pulled in: campaigns, ad groups, ads, creative, and status, kept current on a schedule.

Daily Metrics

Impressions, clicks, and spend per ad per day, normalized into the same shape as every other connected network.

One Dashboard, 7 Networks

ChatGPT Ads sits alongside Meta, Google, LinkedIn, TikTok, Pinterest, and X ads in the same reporting view.

REST Interface

Same Zernio API key that manages your other ad networks. Create, pause, resume, and cancel ads, plus pull analytics, for openaiads.

Scheduled Sync

Zernio re-syncs connected ChatGPT Ads accounts on a schedule, so new campaigns and updated spend show up without a manual refresh.

How to Connect and Run ChatGPT Ads with Zernio

  1. 1.
    Get an API Key from Ads Manager
    In OpenAI Ads Manager, open Settings and generate an API key. Ads Manager access is currently open to US businesses.
  2. 2.
    Connect the Ad Account
    Paste the key into Zernio. One key maps to one ad account, so there's no account picker step.
  3. 3.
    Create or Read Campaigns
    POST a headline, body, image, and budget to create a campaign, or GET campaigns, ad groups, ads, and daily analytics from the same /v1/ads endpoints you use for other platforms.

Why Run ChatGPT Ads Through Zernio

One place for a new network

ChatGPT Ads is new. Instead of a standalone dashboard just for it, it shows up next to the ad accounts you already manage.

No OAuth to build

OpenAI Ads authenticates with a plain API key. Zernio validates and stores it, you never build the flow yourself.

Same shape as every other network

Campaigns, ad groups, ads, and daily metrics come back in the same normalized format Zernio uses for Meta, Google, and the rest.

Programmatic campaign management

Create campaigns, pause or resume them, adjust budget, and pull spend, impressions, and clicks by ad, by day, through REST.

Code Examples

Connect a ChatGPT Ads Account
cURL
curl -X POST "https://zernio.com/api/v1/connect/openai-ads/credentials" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "apiKey": "OPENAI_ADS_MANAGER_API_KEY",
    "profileId": "PROFILE_ID"
  }'
Create a Campaign
cURL
curl -X POST "https://zernio.com/api/v1/ads/create" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "accountId": "ACCOUNT_ID",
    "adAccountId": "AD_ACCOUNT_ID",
    "name": "Fall Launch",
    "goal": "traffic",
    "headline": "Ship faster with Zernio",
    "body": "One API for social posts and ads.",
    "imageUrl": "https://example.com/chat-card.jpg",
    "linkUrl": "https://zernio.com",
    "budgetAmount": 50,
    "budgetType": "lifetime",
    "endDate": "2026-08-31",
    "countries": ["US"]
  }'
Get Synced Ads and Daily Metrics
cURL
curl -X GET "https://zernio.com/api/v1/ads?platform=openaiads&accountId=ACCOUNT_ID" \
  -H "Authorization: Bearer YOUR_API_KEY"

# Response includes campaign / ad group / ad structure plus
# daily impressions, clicks, and spend per ad.

See it in action

OpenAI Ads dashboard

ChatGPT Ads campaigns and ad groups next to your other ad networks.

openai ads api daily performance report

Daily impressions, clicks, and spend synced automatically.

What Zernio's ChatGPT Ads Integration Supports Today

FeatureStatus
Connect with an API key (no OAuth)Yes
Create campaigns (chat card creative)Yes
Pause, resume, cancel campaignsYes
Update lifetime budgetYes
Country-level targetingYes
Pixels + Conversions APIYes
Sync campaigns, ad groups, adsYes
Daily reporting (impressions, clicks, spend)Yes
Unified view alongside 6 other ad networksYes
MCP server / AI agent accessYes
Boost existing content as an adRoadmap
Audience managementRoadmap

If audience management or boosting existing content is what you need, tell us so we can prioritize it.

Supported Ad Platforms

Each platform maps to native campaign objectives and targeting options. Click any to see its dedicated API guide.

Frequently Asked Questions

What is the OpenAI Ads API?
OpenAI Ads (ChatGPT Ads) lets advertisers run ads that appear in ChatGPT for Free and Go tier users in the US, Canada, Australia, and New Zealand. Advertisers can manage campaigns in OpenAI's Ads Manager or through an API key from Ads Manager Settings.
What does Zernio's OpenAI Ads integration do?
It connects a ChatGPT Ads account with an API key, then lets you create campaigns, pause or resume them, and update budget, on top of syncing campaigns, ad groups, and ads along with daily impressions, clicks, and spend. That data and control shows up in the same dashboard as your Meta, Google, LinkedIn, TikTok, Pinterest, and X ad accounts.
Can I create or manage ChatGPT Ads campaigns through Zernio?
Yes. Create a chat card campaign (headline, body, image, destination URL, lifetime budget, country targeting) with one API call, then pause, resume, adjust budget, or cancel it. Boosting existing content as an ad and audience management have no OpenAI API yet, so those aren't available.
Can I track conversions for ChatGPT Ads?
Yes. Create a pixel and Conversions API key with one call, then send server-side conversion events the same way you would for Meta or Google, through the same unified Conversions API endpoint.
How do I get an OpenAI Ads API key?
Open OpenAI Ads Manager, go to Settings, and generate an API key. Each key maps to a single ad account, so if you manage more than one, generate a key per account and connect each separately in Zernio.
What metrics does the sync include?
Impressions, clicks, and spend per ad, per day, plus the campaign, ad group, and ad structure with status and creative. Metrics are normalized into the same daily shape used for every other connected ad network.
Can I see ChatGPT Ads next to my other ad platforms?
Yes. Zernio's unified ads API covers all seven networks: OpenAI, Meta, Google, LinkedIn, TikTok, Pinterest and X. Campaigns and daily performance come back in one normalised shape, from the same endpoints, so you build one integration instead of seven.
Is this related to running Google Ads with ChatGPT?
No, these are two different things. Using ChatGPT to manage Google Ads copy is a workflow. ChatGPT Ads is a separate ad network where ads serve inside ChatGPT. Zernio supports both: the Google Ads API for the former, this integration for the latter.
Can an AI agent run ChatGPT Ads?
Yes. Every ChatGPT Ads action is available through Zernio's MCP server, so an agent using Claude Desktop, Cursor or any MCP client can create campaigns, read daily performance and pause ads with structured tool calls.

Create and Manage ChatGPT Ads Campaigns

Connect with an API key. Create campaigns, pause or resume them, and track conversions in minutes.

SOC 2 CompliantGDPR Compliant