openai-advertiser-api
Skill8 starsChanged 4 months agoApache-2.0View on GitHub
Use when OpenAI Ads work needs an API operation or parameter missing from the Ads Manager plugin, when that plugin is unavailable, or when the user requests direct API access. Covers campaigns, reporting, bulk jobs, product feeds, audiences, and conversion setup with an Ads Manager Advertiser API key.
- Reads credentials
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- claude-memory-curatorSkill
- claude-spec-interviewerSkill
- codex-memory-curatorSkill
- codex-spec-interviewerSkill
- cursor-memory-curatorSkill
- cursor-spec-interviewerSkill
- animated-readme-logoSkill
- architecture-compassSkill
- architecture-zoomSkill
- codegraph-ast-grepSkill
- code-qualitySkill
- drawio-diagramsSkill
- karakeep-knowledgeSkill
- telegram-serverlessSkill
- visual-reportsSkill
- jev-capability-advisorSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 8 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Use for a verified plugin capability gap, plugin absence, or explicit API access.
- Distinctive: line 24
Keep supported work in the available plugin unless the user selects the API.
- Very specific: line 43
Before API resource calls, match the expected account with ads_get_account or the runbook's GET /v1/ad_account verification mode.
- Distinctive: line 44
Before applying, verify the user authorized the operation, target, and affected fields.
- Distinctive: line 45
After applying, re-read the resource or operation status.
- Distinctive: line 49
Keep the key and sensitive responses out of chat, logs, and the repository.
- Distinctive: line 53
Use API operations for access setup, account verification, feeds, and conversion credentials.
- Distinctive: line 55
Use MCP workflows for connected tools, permission changes, pagination, and protected credential delivery.
- Distinctive: line 59
Use the shell request pattern in the reference.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
OpenAI Advertiser API
Goal
Extend the official Ads Manager plugin where its tools lack a documented operation or parameter, or manage supported Ads resources without that plugin through https://api.ads.openai.com/v1. Verify the requested result; do not promise full plugin parity.
When to use
Use for a verified plugin capability gap, plugin absence, or explicit API access. Inspect the currently available tool schemas before claiming a gap. The dated capability map and recipes give concrete examples.
When not to use
Keep supported work in the available plugin unless the user selects the API. Honor plugin-only and API-only requests. A missing tool or parameter can justify the API route; a permission denial, feature gate, or required approval cannot justify bypassing a restriction.
Website Pixel instrumentation and event delivery are separate from Advertiser API resource setup. Use openai-ads-conversions-setup when available; otherwise use the official Pixel/CAPI guides linked from the runbook. Neither companion plugin is a dependency.
Inputs to inspect
Resolve the requested outcome, surface preference, available tools, target account, resource IDs, and fields. Connected ads_* MCP tools execute the public API through their own OAuth connection; use their actual schemas and do not request a local key. For direct HTTPS, use OPENAI_ADS_API_KEY from the environment or authorized secret injection. Follow MCP workflows or the runbook's access setup for the selected transport. Never substitute a Platform OPENAI_API_KEY or a Conversions API key. Official Ads Manager calls use that plugin's own authentication. Offline preparation needs neither a key nor a connected plugin.
Workflow
| Workflow | Use when |
| Inspect | Verify Ads access, list resources, troubleshoot, or report without changing ad resources. |
| Prepare | Show API options, access requirements, or a proposed request; use placeholders offline. |
| Apply | Perform the authorized campaign, bulk, feed, audience, or conversion-setup write and verify it. |
For clear intent, announce the route (plugin or API), selected workflow, and reason, then proceed within scope. For a bare or materially ambiguous invocation, show all three workflows with relevant capability examples and ask for the choice and missing scope. For options-only requests, show the menu and stop without calls. Draft requests authorize preparation only; a local draft does not authorize server-side validation or uploads.
- Select the route by actual tool/field availability and user intent. For the official plugin route, follow its owning workflow. For the public API route, prefer a connected Ads MCP tool that supports the requested operation and fields; otherwise verify the direct request against current official documentation. An API-only request can use the Ads MCP because it calls the public API. Do not route around denied scopes. If credentials or execution are unavailable, prepare the request and state the missing prerequisite; if the contract is unverified, leave that part unresolved.
- Before API resource calls, match the expected account with
ads_get_accountor the runbook'sGET /v1/ad_accountverification mode. Pass the matched ID asexpected_account_idto MCP resource tools. Use the verified currency and timezone. For an account-identification request, return the account summary and stop there. - Before applying, verify the user authorized the operation, target, and affected fields. Inspect the resource and parent chain. Check for matching resources before creating one. Change only the authorized fields.
- After applying, re-read the resource or operation status. Distinguish accepted, processed, and serving.
Safety rules
Keep the key and sensitive responses out of chat, logs, and the repository. Use public endpoints on the fixed API origin. Verify that the user authorized the specific scope for spending, delivery, credentials, and destructive changes.
References
Use API operations for access setup, account verification, feeds, and conversion credentials. Use capabilities and recipes for plugin comparison, standalone reporting, field gaps, bulk jobs, and audience changes.
Use MCP workflows for connected tools, permission changes, pagination, and protected credential delivery. A download link is for the account owner; never fetch generated secrets into the conversation.
Scripts
Use the shell request pattern in the reference. The skill has no bundled executable.
Output format
Report the route and why it fits, account, resource, requested result, and verification. For proposals, distinguish ready requests from placeholders and missing access. Mention pending or unsupported steps.
Completion criteria
Return the requested read or proposal. For writes, verify each result or state what remains unverified.
Failure modes
Stop on account mismatch. Reconcile uncertain writes with resource readback or documented job or audit state. If the outcome remains uncertain, report it as pending and withhold the retry. Retry only when evidence establishes the first attempt had no effect or the reference documents an idempotent replay for that request. For unsupported operations, identify the documented UI or account-team route. Avoid internal browser endpoints and account switching.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

