# OpenAI Ads MCP server

On OpenAI Ads, an agent on PubNio's hosted MCP server runs 8 of the 12 ad operation kinds. `campaign.activate` and `budget.update` are human-only and come back with a link to the web app; `creative.create` and `boost.create` are not supported on OpenAI.

## What PubNio supports from an agent on OpenAI

```text
search   ads.validateCampaignPlan, ads.createCampaignPlan
execute  ads.listAccounts, keep provider "openai_ads"
execute  ads.validateCampaignPlan "Meeting notes app trial": valid, no provider call
execute  ads.createCampaignPlan, key plan-openai-ads-1: 202 queued
execute  ads.activateCampaign: 403 human_actor_required, then stop
```

From "Advertise our meeting notes app in ChatGPT, 20 a day", the agent picks the `traffic` objective, which OpenAI receives as `clicks`, and a 20 USD daily budget, names the campaign "Meeting notes app trial", and fills the ad group "People asking about meeting notes" with the ad "Notes that write themselves". It sends no audience. What only OpenAI reads travels in `plan.adGroups[0].ads[0].creative.providerSettings` (fileId).

Before it validates, the agent drafts a headline of 3 to 50 characters, a body of up to 100, a landing page, and an uploaded image's file ID, then shows them with the budget to the person.

The writes an agent can run here are `ads.createCampaignPlan`, `ads.createAdGroup`, `ads.attachAd`, `ads.duplicateCampaign`, `ads.pauseCampaign`, `ads.archiveCampaign`, `ads.setAdGroupStatus` and `ads.setAdStatus`.

## Spend controls

- An agent can pause, archive, and turn on the kill switch; a person resumes spend and clears it in the console.

## Connect your agent

```sh
claude mcp add --transport http pubnio https://pubnio.com/mcp
```

## Limits

- What an agent creates stays inert: a create leaves `status: paused` on the campaign, ad group, and ad.

## Related

- [OpenAI Ads through PubNio](https://pubnio.com/ads/openai-ads)
- [All ad providers](https://pubnio.com/ads)
- API reference: [ads.createCampaignPlan](https://pubnio.com/docs/reference/ads-create-campaign-plan/)

