Set up an AI marketing agent in Claude Code (full walkthrough)
The premise is simple: your AI coding tool already understands tools, file systems, and structured data. Ad accounts are structured data. Wiring them together takes one config entry and one OAuth flow. After that, you ask questions and review proposed changes from the same terminal you use for everything else.
1. Create your SpendSignoff account
Go to spendsignoff.com and sign up. The free tier gives you one connected ad account and enough read and draft calls to evaluate the workflow without a credit card. No enterprise form, no sales call.
2. Add SpendSignoff to Claude Code
Claude Code loads MCP servers from ~/.claude/settings.json. If the file does not exist, create it. Add the following:
~/.claude/settings.json
{
"mcpServers": {
"spendsignoff": {
"type": "http",
"url": "https://mcp.spendsignoff.com/mcp"
}
}
}3. Connect your first ad account
In Claude Code, type:
Claude Code prompt
Connect my Google Ads account.What happens next
4. Run your first query
Once connected, try a quick read to confirm the integration works:
Claude Code prompt
Show me the top 5 campaigns by spend this month and their ROAS.5. Draft your first change
Ask the model to propose something:
Claude Code prompt
The campaign with the worst ROAS is burning budget. Propose pausing it.Nothing happens until you approve
6. Connect Meta Ads
Same flow, different platform:
- You can connect Google and Meta independently — no need to do both at once.
- After connecting Meta, queries can span both platforms: "Compare my Google and Meta ROAS for the last 30 days."
- LinkedIn and TikTok are on the roadmap; the same OAuth pattern will apply when they ship.
Claude Code prompt
Connect my Meta Ads account.FAQ
- How long does the setup take?
- Under ten minutes for the config and OAuth. Your first useful query runs in the same session.
- What if I already use Claude Code for coding work — will the ad tools interfere?
- No. The SpendSignoff tools only activate when you ask about your ad accounts. Claude Code treats them as optional context, not as instructions it applies to every task.
- Can I revoke the connection later?
- Yes. Disconnect from the SpendSignoff dashboard at any time. The OAuth token is revoked immediately, and Claude Code loses access to the ad account tools.
Connect an account read-only and watch the operator work.
Reads are free on every plan. Nothing spends without your two-step approval.
Related reading