OpenAI Ads from your shell.
Pull OpenAI Ads insights (impressions, clicks, spend, CTR, CPC, CPM) for campaigns, ad groups and chat-card ads — daily or by country and device — list conversion pixels and event settings, and push bid, budget or status changes — all from Bash over the OpenAI Ads MCP. No Advertiser API client to write.
cogny --who
TWO PATHSAds Manager at ads.openai.com shows one campaign at a time and no export of ad-level daily rows. The CLI returns any level of the hierarchy with a date range and optional country/device segments as JSON in one call — ready to pipe, diff or schedule. Connect OpenAI Ads once in Cogny Solo and let your coding agent — or scheduled reports — do the querying for you.
❯ start SoloSelf-onboard with one command. The CLI issues a key, wires nothing, and exposes every OpenAI Ads tool over JSON-RPC. First 15 calls are free.
$ npx @cogny/cli init --agent claude-codecogny tools call
3 EXAMPLESReal tool names from the OpenAI Ads MCP. Send --input JSON, get JSON back.
mcp__OpenAI_Ads__tool_get_insightsPerformance at account, campaign, ad group or ad level, optionally bucketed by day.mcp__OpenAI_Ads__tool_get_campaignsList campaigns with status, bidding type, budget and geo targeting.mcp__OpenAI_Ads__tool_update_campaign_statusActivate, pause or archive a campaign.cogny tools list
MOREA sample of the rest of the OpenAI Ads surface. Run cogny tools list --json for every tool and its input schema.
mcp__OpenAI_Ads__tool_get_ad_accountmcp__OpenAI_Ads__tool_get_ad_groupsmcp__OpenAI_Ads__tool_get_adsmcp__OpenAI_Ads__tool_search_geo_locationsmcp__OpenAI_Ads__tool_create_campaignmcp__OpenAI_Ads__tool_create_ad_groupmcp__OpenAI_Ads__tool_upload_imagemcp__OpenAI_Ads__tool_create_admcp__OpenAI_Ads__tool_preview_admcp__OpenAI_Ads__tool_list_pixelsmcp__OpenAI_Ads__tool_get_pixel_eventsmcp__OpenAI_Ads__tool_list_conversion_event_settingscogny --faq
No — it is the Cogny CLI calling the OpenAI Ads MCP over the cogny-mcp-proxy. You paste an Ads API key from ads.openai.com → Settings → API keys once in Cogny and then call every tool from Bash. The key is scoped to one ad account, so there is no account picker.
Budgets and bids are micros of the account currency (25000000 = 25.00). Insight metrics — spend, cpc, cpm — come back in plain currency units and ctr is a fraction, matching what the Advertiser API returns.
Yes — that is the point. `npx @cogny/cli init --agent claude-code` issues a key, then `cogny tools call mcp__OpenAI_Ads__tool_get_insights --input ...` works from any shell. No /mcp wiring or restart needed.
related CLIs
Building an agent? The full tool map for all servers is one fetch: /cli/llms.txt