OpenAI Ads API guide

ads.openai.com

Use OpenAI Ads to review campaign budgets and ad group status, check spend pacing, and spot ads with declining click-through rates.

Actions and inputs

tree

View campaigns, ad groups, and ads with their statuses and budgets.

pace

Project campaign spend against budget caps using stored snapshots.

fatigue

Rank ads by declining click-through rates across stored snapshots.

Inputs result limit

campaigns pause campaign-method

Pause an existing campaign.

Inputs campaign ID

Ad campaigns

Create

Create a campaign in an ad account you administer and leave it paused.

Inputs Ad account, campaign name, objective, budget, schedule

Read

Review campaign status, budget, spend, and ad groups.

Inputs Ad account, campaign ID, reporting date range

Update

Edit the budget or schedule of a campaign you administer after confirming the changes.

Inputs Campaign ID, revised budget or schedule, confirmation

Delete

Pause a campaign you administer to stop delivery without deleting its reporting history.

Inputs Campaign ID, confirmation