All posts

Guides

Claude Code for Google Ads and Meta Ads: A PPC Guide

Claude Code for Google Ads and Meta Ads, for non-developers: install, add an MCP server with one command, test it, six PPC prompts and the safety rules.

Author: Dominik Papaj9 min read

LinkedIn

Yes, you can use Claude Code for Google Ads and Meta Ads without being a developer. You paste one command to install it, a second one to add an MCP server (the plug-in that lets Claude reach your ad accounts), sign in in the browser, and from there you type plain-language requests. What you get over the regular Claude chat is one thing: Claude Code runs on your computer, so it can work with the files in your folder as well as with the ad accounts.

Checked November 30, 2026 against the Claude Code documentation. If you'd rather stay in the browser, read how to connect Claude to Google Ads instead. This post is only about the terminal.

Claude Code vs the Claude chat#

Claude Code is Claude running in a terminal, the window where you type commands as text. Anthropic built it for software work: it reads files, edits them and runs commands. A PPC specialist needs only a small part of that:

  • The conversation works like the chat. You type, it answers.
  • It reads and writes files in the folder you start it in: CSV exports, client notes, finished reports.
  • You can keep a CLAUDE.md file in that folder with standing instructions. Per the docs, Claude Code reads it at the start of every session, so you don't re-explain the client and the target CPA every morning.
Claude chat (browser, apps)Claude Code (terminal)
SetupNoneOne install command
Adding an MCP serverSettings, connectors, paste a URLclaude mcp add
Files on diskOnly what you uploadReads and writes in the working folder
Standing instructionsSettings or a projectCLAUDE.md in the folder
PlanDepends on the featurePaid (the free plan doesn't include Claude Code)

If the terminal itself puts you off: the Claude desktop app has a Code tab which, per the docs, includes Claude Code with no separate CLI install.

Step 1: install and start#

Open a terminal (Terminal on a Mac, PowerShell on Windows) and paste the command for your system.

macOS and Linux:

curl -fsSL https://claude.ai/install.sh | bash

Windows PowerShell:

irm https://claude.ai/install.ps1 | iex

When it finishes, open a new terminal window and check it:

claude --version

You should see a version number. Now make a working folder, say ppc in Documents, move into it and start Claude Code:

cd ~/Documents/ppc
claude

The first run asks you to log in through the browser. Use a dedicated folder: Claude Code reads files in its working folder without asking, so don't start it somewhere that holds everything you own.

Step 2: add an MCP server with one command#

You add the server from the regular terminal prompt, before starting a session (not inside claude). The syntax from the docs:

claude mcp add --transport http <name> <url>

--transport http says the server lives at a URL instead of running as a program on your machine. The name is yours to pick, and the URL comes from the tool vendor.

With AdSparky as the example:

claude mcp add --transport http adsparky https://adsparky.onrender.com/mcp

By default the server is registered only for the folder you ran the command in. To have it everywhere, add --scope user:

claude mcp add --scope user --transport http adsparky https://adsparky.onrender.com/mcp

Per the docs, connectors you already added in claude.ai load automatically in Claude Code when you sign in with the same account. If you set one up in the chat earlier, check /mcp before adding it a second time.

Step 3: check that the connector works#

List your servers and their status:

claude mcp list
StatusMeaningWhat to do
ConnectedReadyNothing
Needs authenticationServer is reachable, waiting for sign-inSign in through /mcp
Failed to connectServer didn't respondCheck the URL and your connection

For servers with a login, "Needs authentication" right after adding is expected. Start claude, type /mcp, select the server and choose Authenticate. Your browser opens on the vendor's sign-in page. Claude Code stores and refreshes the tokens itself, and the same /mcp menu has a Clear authentication option when you want to revoke access.

Finish with a read-only test:

List the ad accounts you have access to.

The tool call in the output is labeled with the server name. That's your proof the answer came from the account. Compare the numbers in your first report with the Google Ads UI or Ads Manager once.

Six prompts from real PPC work#

What works depends on the server: a read-only one answers 1, 2, 3 and 5 but changes nothing.

1. Morning review#

Check all my Google Ads and Meta Ads accounts. What changed since yesterday and what needs action today? Urgent items first.

2. Account audit#

Audit client X's Google Ads account for the last 30 days. List the problems starting with the most expensive one and save the result to audit-x.md.

3. Search terms and negatives#

Show search terms from the last 14 days that had spend and zero conversions. Suggest negative keywords, but first check that none of them would block terms we actually sell.

4. A budget change with a preview#

Raise the Brand campaign budget by 20%. Show me a preview first: current value and new value. Change nothing until I approve.

5. Client report#

Write the November report for client X: spend, leads, cost per lead, comparison with October, three takeaways in plain language. Save it to report-x-november.md.

6. Account data plus the client's file#

leads-november.csv has the leads from the client's CRM. Match them against Google Ads and Meta Ads conversions and tell me which campaigns bring leads that most often turn into sales.

Once prompts like these become routine, it helps to write your own thresholds down. My list is in PPC if-then rules.

Terminal, chat or ChatGPT?#

Pick the terminal when:

  • you combine account data with files on disk (exports, CRM dumps, notes),
  • you want a folder per client with its own CLAUDE.md,
  • you save outputs as files because you come back to them,
  • you're at your desk most of the day anyway.

Pick the regular Claude chat when you check things from your phone, show results in a client meeting, or onboard a team that won't open a terminal. And if your company runs on ChatGPT, stay there: a remote MCP server is not tied to one assistant.

Safety: two layers, not one#

Layer 1: Claude Code permissions#

Claude Code has its own permission system. You manage it with /permissions, and there are three kinds of rules:

  • allow: the tool runs without asking,
  • ask: Claude Code asks you every time,
  • deny: the tool is blocked.

Rules are evaluated deny first, then ask, then allow. The docs stress that Claude Code enforces them, not the model, so nothing typed in the conversation changes them.

For MCP tools a rule looks like mcp__servername (the whole server) or mcp__servername__toolname (one tool). Select the server in /mcp to see its tool list. My advice: put an ask rule on every tool that changes an account. Per the docs, an explicit ask rule prompts in every permission mode.

That matters because of permission modes, which you cycle with Shift+Tab. In recent versions an interactive terminal session starts in auto mode by default, where a classifier reviews routine actions instead of you. So don't assume Claude Code will ask about everything. And on client accounts I never use the mode that skips permission prompts (bypassPermissions).

One warning straight from the docs: verify you trust a server before connecting it.

Layer 2: what the MCP server itself enforces#

Claude Code permissions decide whether a tool may be called. They say nothing about what the tool does to the account. Before you connect a client account, look for four things in the server's documentation:

  1. Is there a before/after preview of each change?
  2. Does the change wait for your approval?
  3. Is there a change log with undo?
  4. Can the tool delete anything?

Which MCP server to connect#

claude mcp add works with any MCP server, and there are plenty for advertising now. Two come from the platforms themselves:

Around them are servers from independent vendors that combine platforms or add their own guardrails. AdSparky is one of those. It's our product and I'm the founder.

What it looks like with AdSparky#

AdSparky is an AI assistant for Google Ads, Meta Ads, GA4, GTM and Merchant Center: an MCP connector plus a web panel. It works in Claude, ChatGPT, Claude Code and Codex. The parts that matter from a terminal:

  • every change follows the same path: before/after preview, approval, execution,
  • change history and undo,
  • nothing is deleted, only paused,
  • per-client limits (for example a budget increase capped at +30%) that can't be bypassed from the chat,
  • ready-made routines: morning account review, Google Ads and Meta Ads audits, a monthly client report,
  • watchdogs: conditions checked automatically. A watchdog reports and changes nothing on its own.

The account is free with no card: three days of the full version for one client, after which reads, audits and change previews stay free. Executing changes is on the paid plan: PLN 3,500 net per year (freelancer) or PLN 5,000 net per year (agency). You also need your own Claude or ChatGPT subscription. More in the free AI assistant for Google Ads and Meta Ads.

FAQ#

Is Claude Code free?#

No. Per the documentation, Claude Code requires a Pro, Max, Team, Enterprise or Console account, and the free claude.ai plan doesn't include it.

Do I need to code to use Claude Code for Google Ads?#

No. You paste two commands (install, then add the MCP server), sign in in the browser and type requests in plain language. The only new thing is getting used to a terminal window.

How do I check that an MCP server is connected?#

Run claude mcp list in the terminal or /mcp inside a session. Connected means it's ready; Needs authentication means you still have to sign in.

Can Claude Code change a campaign budget on its own?#

Only if the MCP server has tools that write. To be safe, put an ask rule on those tools in /permissions and use a server that shows a preview and waits for approval.

Sources, checked November 30, 2026: Claude Code docs on setup, MCP, permissions and permission modes, plus the Google Ads API MCP server page.

If you want to try this on your own account, create a free AdSparky account and add the connector with the command above: adsparky.com.

  • AI
  • Claude Code
  • Google Ads
  • Meta Ads
  • MCP
  • Guide

Share

LinkedIn

Running Google Ads or Meta Ads for clients?

AdSparky runs audits, daily checks and reports, and shows every account change before it happens - nothing goes live without your yes. 3 days of the full version for one client, no card.

Start free