How to run Google Performance Max from Claude Code

You run Performance Max from Claude Code through a third-party MCP server that writes to Google Ads: Adspirer (a Claude Code plugin) and Pipeboard create the campaign paused for your review (Dec 2026). Google's own Ads MCP cannot create campaigns.

By Grace Kong·Updated ·9 min read

Build a Performance Max folder from your agent

TL;DR

  • Four routes: Adspirer (free for 15 tasks a month, paid $40 to $167 billed yearly) or Pipeboard (free plan, paid $29.90 to $199) creates the campaign; a script on the Google Ads API needs API access and code review; Google's Ads MCP reads and adds assets only; Hypesonic builds a checked asset folder, and launching on Google through Hypesonic is coming soon.

  • Adspirer installs inside Claude Code with /plugin marketplace add amekala/ads-mcp and /plugin install adspirer-advertising-agent@adspirer-marketplace, then /mcp > Authenticate; its docs say every campaign is created paused.

  • Images must be 1200 x 628 and 1200 x 1200 (960 x 1200 optional), JPG or PNG under 5 MB; Claude Code checks pixel and file sizes in a script before anything reaches Google (Google).

  • Google reviews most ads within one business day (Google), then learning takes 1 to 2 weeks and sometimes up to 6.

  • At the 2026 all-industry average of $66.69 per lead (2026 benchmarks), $75 a day buys about 34 leads a month.

Can Claude Code run Performance Max today?

Yes, with a server that can write to your Google Ads account. Claude Code has no Google Ads connection of its own, and Google's official server stops short of campaigns.

RouteWhat Claude Code can doCost (Dec 2026)Suits
Adspirer (third-party MCP, Claude Code plugin)Creates Performance Max campaigns with your budget, target ROAS (return on ad spend), headlines, descriptions, images and Merchant Center feed; reads reports. All campaigns are created paused.Free for 15 tasks a month; paid plans $40 to $167 a month billed yearly, $49 to $199 monthlyBuilding and launching the whole campaign from the terminal
Pipeboard (third-party MCP)Manages Search, Performance Max and Shopping campaigns: creates, edits and pauses campaigns, ads, bids and assets. Campaigns are created paused by default.Free plan; paid plans $29.90 to $199 a monthSeveral Google accounts from one session
Your own script on the Google Ads APIClaude Code writes and runs the code that creates the campaign and uploads the folder.Free API; needs API access approval and someone to review the codeTeams with engineers and custom needs
Google Ads MCP (Google's official server)Reads the account with GAQL (Google Ads Query Language) and creates assets and labels; cannot create, change, pause or enable campaigns, budgets or bids.Free, open source, self-hosted with PythonThe review after launch
HypesonicMakes every asset as checked files: headlines with character counts, images at Google's sizes, video in three shapes. You upload them, or hand the folder to one of the servers above. Launching Google campaigns through Hypesonic is coming soon.Images from about $0.03, video from about $0.09 a second, quoted before each runNew creative for the asset group

Sources: Adspirer, Claude Code setup, Adspirer pricing, Pipeboard, Google Ads MCP guide, Pipeboard pricing, googleads/google-ads-mcp, read Dec 3, 2026.

Third-party servers hold a token to your ad account on their side. Both create campaigns paused, so nothing spends until you enable it in Google Ads.

Steps: launch Performance Max from Claude Code with a server that writes

About ten minutes to connect, then one prompt per campaign.

  1. Connect the server. For Adspirer, type /plugin marketplace add amekala/ads-mcp, then /plugin install adspirer-advertising-agent@adspirer-marketplace and /reload-plugins yourself (asking Claude to run them starts a nested session), then open /mcp, pick the Adspirer server and choose Authenticate. For Pipeboard, run claude mcp add --transport http google-ads https://google-ads.mcp.pipeboard.co/ and sign in.
  2. Set up conversion tracking first. Google says a campaign can run without it but spend may be limited, and new conversion actions take 24 to 48 hours to register.
  3. Ask for the campaign from the folder: "Create a paused Performance Max campaign from pmax/winter-sale/ with the settings in settings.md." The text comes from assets.csv, already within Google's limits.
  4. Review the paused campaign in Google Ads: ad strength, business name (it must match your verified name or domain), logos and the asset group.
  5. Enable it in Google Ads, and ask for spend and conversions from the same session a week later.

Sources: Adspirer, Pipeboard, Google Ads Help, create a Performance Max campaign, read Dec 3, 2026.

Steps: upload the folder in Google Ads yourself

No third-party token on your ad account: Claude Code builds the folder below, and you click through Google Ads.

  1. In Google Ads, go to Campaigns and create a new campaign. Pick Sales, Leads or Local store visits and promotions as the objective, then Performance Max.
  2. Add your conversion goals, then the daily budget and bidding from settings.md.
  3. Build the asset group: paste the headlines, long headlines and descriptions from assets.csv, upload images/ and logos/, add the three videos from video/, and enter the business name.
  4. Add audience signals and search themes, check ad strength, and publish.

Source: Google Ads Help, create a Performance Max campaign, read Dec 3, 2026.

Set up Claude Code to build the asset group

Add Hypesonic, then write Google's asset limits into CLAUDE.md so every asset group passes on the first try.

Open the folder for your Google Ads work and run:

claude mcp add --transport http hypesonic https://www.hypesonic.com/mcp

Restart Claude Code and sign in when the browser opens. Do it once in an interactive session: a claude -p run cannot finish the sign-in (Claude Code docs). Add --scope user to use Hypesonic in every project. Full setup: hypesonic.com/agents/claude-code.

Then put the standing rules in CLAUDE.md at the top of the folder. Claude reads it at the start of every session there, so you stop repeating yourself:

# Performance Max
- Account: Hearth Furniture. Goal: purchases.
- Business name: "Hearth Furniture" (25 characters max, matches the site).
- 15 headlines of 30 characters or fewer, at least one of 15 or fewer.
- 5 long headlines and 5 descriptions, 90 characters or fewer.
- Images: 4+ at 1200x628, 4+ at 1200x1200, 2+ at 960x1200. JPG or PNG, under 5 MB.
- Logos: 1200x1200 and 1200x300, from our logo file.
- Our own videos in 16:9, 1:1 and 9:16, 10 seconds or longer.
- Save to pmax/{campaign}/ with assets.csv (asset, text, characters, file).
- Quote every paid run before you make anything.

Google's own Ads MCP server also runs in Claude Code, with Python and a Google Cloud project; it reads reports, so add it for the review after launch (googleads/google-ads-mcp).

The command

One prompt produces the whole asset group; a second, two weeks after you launch, reviews it.

Build a Performance Max asset group for https://hearthfurniture.com/winter-sale
following CLAUDE.md. Save every asset to pmax/winter-sale/ with assets.csv.
Check every character count and image size and fix what fails. Quote the
images and video first, and write the settings for a $75 a day purchase
campaign to settings.md.

Claude Code keeps the counts honest by writing them next to the text. A slice of assets.csv:

type,text,characters
headline,Solid Oak Tables,16
headline,Sofas Built to Last,19
headline,Winter Sale Now On,18
headline,Oak,3
long_headline,Solid oak dining tables built in California, now 20% off,58
description,Free delivery in Sacramento, Reno and Fresno. Shop the winter sale today.,73

The 3-character "Oak" is deliberate: Google wants at least one headline of 15 characters or fewer, and very short ones fill narrow placements.

What Claude Code does, step by step

Text, images and video are built and checked locally, so nothing fails Google's limits at upload.

  1. Reads the landing page and CLAUDE.md, and pulls the brand logo and product photos into pmax/winter-sale/source/.
  2. Writes the text assets and counts characters in a script, so nothing over 30 or 90 characters reaches Google. Characters in Chinese, Japanese and Korean count double.
  3. Quotes the creative with run and estimate: true: images about $0.03 to $0.17 each, and failed runs cost nothing.
  4. Makes the images in 1.91:1, 1:1 and 4:5 after your yes, keeping the product near the center so Google's crops still show it.
  5. Makes the videos in 16:9, 1:1 and 9:16. With no video in the asset group, Google may generate one from your other assets; your own videos prevent that.
  6. Checks everything: pixel sizes, file sizes under 5 MB, counts within limits, business name matching the site.
  7. Hands you the folder for either launch route above. Launching it through Hypesonic is coming soon.

What you get back

An asset group you can diff, rerun and reuse for the next sale.

pmax/winter-sale/
  assets.csv            (every text asset with its character count)
  images/1200x628_*.jpg  images/1200x1200_*.jpg  images/960x1200_*.jpg
  logos/1200x1200.png   logos/1200x300.png
  video/16x9_15s.mp4    video/1x1_15s.mp4   video/9x16_15s.mp4
  settings.md           (goal, daily budget, location, final URL)

Performance Max numbers to build around

The asset limits are strict, and the learning period is long enough to plan a check-in.

Asset or ruleLimit
Headlines3 to 15, up to 30 characters, at least one of 15 or fewer
Long headlines1 to 5, up to 90 characters
Descriptions2 to 5, up to 90 characters
Business name25 characters, matching your domain or verified name
ImagesUp to 20: 1200 x 628 and 1200 x 1200 required, 960 x 1200 optional; JPG or PNG up to 5 MB
Logos1200 x 1200 required, 1200 x 300 optional; up to 5
VideosUp to 15, 10 seconds or longer; one each in 16:9, 1:1 and 9:16 recommended
ReviewMost ads within one business day
Learning1 to 2 weeks, sometimes up to 6 after big changes

Sources: Performance Max specs, ad review process, learning period, all Google Ads Help, checked Nov 30, 2026.

On cost, 2026 Google Ads averages were $5.42 per click and $66.69 per lead across industries (LocaliQ). At $75 a day, that is about 34 leads a month (our math), so judge the campaign on cost per conversion after learning, not in week one.

Plan the two-week review now

Google says to avoid big edits during learning, so plan one review for when it ends.

Read pmax/winter-sale/asset-report.csv, list the assets Google rates low,
and draft replacements in pmax/winter-sale/round-2/ following CLAUDE.md.
Quote the images and video first.

Export the asset report from the campaign in Google Ads, or read it with Google's own Ads MCP. For a nudge on the day, /schedule a one-off run 14 days out. One-off runs are a kind of cloud scheduled task, available on Pro, Max, Ultra, Team and Enterprise plans; they use the connectors on your claude.ai account (Claude Code docs). Until then, resist daily tweaks: Google recommends allowing one to two conversion cycles after a big change (Google).

What Claude Code is best and worst at for Performance Max

It handles the tedious, exact work of an asset group better than any form; strategy calls and the upload stay with you.

StrongWeak
Exact character counts and pixel sizes on every asset.Brand judgment: read the headlines aloud before you upload.
Reusing last sale's folder as the template for the next.Seeing how Google combines assets: only the live preview shows that.
Timed reminders with /schedule.Launching needs a third-party server or your own API code, each with access to your ad account.
Video in three shapes, reframed on your machine.Sign-in: OAuth must happen interactively before scripted runs.

Questions

Can Claude Code create a Google Ads campaign?

Yes, with a third-party MCP server that writes to Google Ads, such as Adspirer or Pipeboard, or with your own Google Ads API code. The servers create campaigns paused for your review; Google's official Ads MCP cannot create campaigns.

When will Hypesonic launch Google campaigns?

Google and YouTube launching through Hypesonic is coming soon, with no public date. Today it builds the Performance Max assets and launches on Meta, TikTok, Pinterest, Reddit, LinkedIn, streaming TV and billboards.

How many headlines does Performance Max need?

At least 3 and up to 15, each 30 characters or fewer, with at least one of 15 or fewer. Google recommends 11 or more.

Do I need video for Performance Max?

It is optional, but without one Google may generate a video from your other assets. Upload your own in 16:9, 1:1 and 9:16, each 10 seconds or longer.

How long before Performance Max results are reliable?

Learning typically takes 1 to 2 weeks and sometimes up to 6 after big changes, so review after the first two weeks.

Sources

  1. 1Claude Code docs, Connect to tools via MCP · accessed Nov 30, 2026
  2. 2Claude Code docs, Automate work with scheduled tasks · accessed Nov 30, 2026
  3. 3Google Ads Help, Performance Max specs and format requirements · checked Nov 30, 2026
  4. 4Google Ads Help, About the ad review process · accessed Nov 30, 2026
  5. 5Google Ads Help, Performance Max troubleshooting and learning · accessed Nov 30, 2026
  6. 6LocaliQ, search advertising benchmarks 2026 · Jun 2026
  7. 7GitHub, googleads/google-ads-mcp README · accessed Nov 30, 2026
  8. 8Adspirer docs, Claude Code · read Dec 3, 2026
  9. 9Adspirer, pricing · read Dec 3, 2026
  10. 10Pipeboard, Google Ads MCP guide · read Dec 3, 2026
  11. 11Pipeboard, pricing · read Dec 3, 2026
  12. 12Google Ads Help, create a Performance Max campaign · read Dec 3, 2026

Build a Performance Max folder from your agent

Keep reading