Claude Code for ads: briefs before spend
Draft campaign briefs in Claude Code with Marketing, then create ads only in Meta or Google Ads under your control.
Published here · 8 sources · Resume reading
Paid ads and Claude Code only mix cleanly when Claude drafts the brief and a human (or a tightly scoped Ads API client you control) places the spend. Anthropic's knowledge-work marketplace has Marketing and Sales plugins; it does not ship a dedicated Ads buyer plugin. [1] [2] [3]
Related reading: Claude Code for a marketing sprint, Lock Claude Code out of your .env.
Install Marketing for the brief, not for the bid
claude plugin marketplace add anthropics/knowledge-work-plugins
claude plugin install marketing@knowledge-work-pluginsUse the README commands that produce planning artifacts: [1]
/campaign-plan
/competitive-brief
/draft-content
/performance-report/campaign-plan builds objectives, channels, calendar, and success metrics. /draft-content can draft landing and social copy that an ad points at. /performance-report shapes a metrics narrative after you paste real numbers from the ad platform. [1]
Do not ask Claude to "launch the campaign" unless you have a separate, reviewed automation that talks to Meta or Google under your credentials. That automation is outside the Marketing plugin.
Keep Meta and Google as the systems of record
Meta's Marketing API docs describe the Marketing API as "a collection of Graph API endpoints and other features that can be used to help you advertise across Meta technologies." Google documents the Google Ads API start path for developer tokens, client libraries, and account access. Both require your own app registration and account permissions. [4] [5]
| Layer | Tool | Job |
|---|---|---|
| Brief and copy | Marketing plugin in Claude Code [1] | Objectives, angles, landing copy drafts |
| Sales follow-up | Sales plugin (optional) [2] | CRM and outreach, not media buy |
| Create / edit / pause ads | Meta Marketing API or Ads Manager [4] | Spend and delivery |
| Create / edit / pause ads | Google Ads API or Google Ads UI [5] | Spend and delivery |
| Secrets | Deny rules / env lock [6] [8] | Keep tokens out of the agent |
Draft ad variants as text, then paste into the UI
A safe Claude Code prompt for ads work:
- Paste the approved offer, audience, and landing URL.
- Ask
/draft-contentfor three headline and primary-text variants under the platform's character habits you already know. - Ask
/competitive-briefonly for public positioning notes, not scraped private competitor dashboards. - You (or your Ads ops person) create the ad set in Meta or Google and set budgets there. [4] [5]
Warning: never paste production Ads API tokens into a Claude Code chat. Prefer env lock deny rules so tools cannot read .env. [8]
Close the loop with a performance report you fill
After the platform has real delivery numbers, paste those numbers into /performance-report and ask for trends and next tests. The skill table behind Marketing includes performance-analytics; it still depends on the metrics you supply. [1]
Sales plugin skills (forecast, pipeline-review, deal-review) belong to CRM work, not to media buying. Keep them out of the ads brief unless the brief is literally a sales-led account push. [2]
You now have a Claude Code ads pattern: Marketing briefs and drafts in the agent, spend and delivery only in Meta or Google under human control.
Send this to the growth lead who wants Claude Code for ad copy without giving it the credit card.
Keep this guide
Filed under Claude Code, Dev tools
Questions about this guide
Does Anthropic ship an Ads plugin?
No dedicated Ads plugin appears in knowledge-work-plugins. Use the Marketing plugin's /campaign-plan, /competitive-brief, /draft-content, and /performance-report, then publish spend in the ad platforms.
Where do live ad campaigns get created?
In Meta's Marketing API / Ads Manager, or Google Ads API / Google Ads UI, under your own account permissions. Claude Code drafts; those systems spend.
Can I paste API tokens into Claude Code?
Prefer deny rules and env locks so the agent cannot read secrets. Create campaigns from a human-controlled session that already has Ads access.
What about the Sales plugin?
Anthropic's Sales plugin covers CRM, call prep, and pipeline work. It is not an ads buyer. Keep sales and paid media workflows separate.
Sources
- Anthropic Marketing plugin README, accessed 2026-11-26raw.githubusercontent.com
- Anthropic Sales plugin README, accessed 2026-11-26raw.githubusercontent.com
- Meta Marketing APIs documentation, accessed 2026-11-26developers.facebook.com
- Google Ads API get started, accessed 2026-11-26developers.google.com
- Full Byte Developer: Claude Code for a marketing sprintfullbytedeveloper.com
- Full Byte Developer: Lock Claude Code out of your .envfullbytedeveloper.com