Run ChatGPT Ads from Cursor
ChatGPT Ads is OpenAI's advertising platform. Valkiria connects an ad account with its own API key from ads.openai.com and gives the assistant campaigns, ad groups, ads and daily insights. Cursor reads the Valkiria server from a config file and authenticates with a developer API key in a header. The key carries the scopes you gave it, so you decide up front whether the editor can only read or also propose.
01
Connect Cursor in 3 steps
- In Valkiria create a developer API key with the scopes you need.
- Add the server to .cursor/mcp.json as shown below, replacing vk_live_… with your key.
- Restart Cursor and tell the assistant: "Get started with Valkiria".
- This recipe uses a header instead of a sign-in, so it needs a developer API key. Developer API keys are part of the plans that include API access; the pricing page shows which.
- Keep the key out of version control: put .cursor/mcp.json in .gitignore or use a user-level config.
{
"mcpServers": {
"valkiria": {
"url": "https://valkiria.pro/mcp",
"headers": { "Authorization": "Bearer vk_live_…" }
}
}
}02
What works for ChatGPT Ads today
Connection: An API key from ads.openai.com → Settings, one key per ad account. There is no OAuth and no app review.
The assistant can read
- Campaigns, ad groups and ads with their status.
- Daily impressions, clicks, spend and conversions from Insights, with money already converted from micros.
- ChatGPT Ads next to your other platforms in the same metrics.
The assistant can propose or request
- Create a campaign draft inside Valkiria. What later reaches the ad account is created paused.
- Request a pause or a resume of a campaign.
- Create a monitor that checks the account on a schedule and notifies you or queues a proposal, and schedule a report by email. Neither changes an ad account by itself.
03
Prompts to try: ChatGPT Ads in Cursor
Copy one, replace the parts in brackets and send it. The assistant picks the tools itself.
List my ChatGPT Ads campaigns with status, spend and conversions for the last 14 days.
Which ChatGPT Ads ad groups have impressions but no clicks this week?
What did ChatGPT Ads cost per conversion each day this month?
Compare ChatGPT Ads with Google Search for the last 30 days: spend, clicks and conversions.
Save daily ChatGPT Ads insights for this month to data/chatgpt-ads.csv.
Write notes/chatgpt-ads.md: which campaigns we tested, what they spent and what they returned.
04
How changes stay safe
- This client authenticates with a developer API key in a header. The key can only do what its scopes allow; create a read-only key if the editor should never propose changes.
- Two scopes, chosen by you at sign-in: read, and propose. With read alone the assistant cannot request any change.
- A change requested from an assistant is a proposal. It waits in Approvals in Valkiria until the account owner approves it, unless the write policy you set for that account allows that kind of change by itself.
- New campaigns are created paused. Starting new spend and deleting always wait for a person.
- The assistant can list what is waiting for approval and reject a proposal. It cannot approve one: approval stays with the owner in Valkiria.
- The change history shows who or what made each change and the value before and after, with Undo where the change can be reversed.
- You can disconnect an assistant at any time on the Connect AI page; a developer API key can be deleted the same way.
05
Limits
ChatGPT Ads
- Launching and archiving both need an explicit spend confirmation in Valkiria; the assistant cannot give it.
- Archiving is irreversible on the provider side, and the bidding type cannot be changed after a campaign is created.
- ChatGPT Ads accounts are available to self-serve advertisers only in the markets OpenAI has opened.
Cursor
- A developer API key is required, and developer API keys are not included in every plan.
- A key does what its scopes allow until you delete it, so create a read-only key if the editor should never propose changes.
- The assistant sees only your own Valkiria workspace, and only the ad accounts connected there.
- Numbers are as fresh as the last sync or import; the assistant can tell you when that was.
- Money stays in each account's own currency. Different currencies are not converted or added up.
- Reading data is not counted against the monthly allowance; changes and AI generations are. Allowances per plan are on the pricing page.
06
FAQ
Ask Cursor about your ChatGPT Ads account
Create a free account, connect an ad account and add the connector. The first pass only reads.