Skip to content
  • Google Ads
  • Plugin
  • MCP server

How to use Google Ads in Claude Code with AdsGPT

Ask Claude Code how your Google Ads campaigns are doing, request optimizations and launch new ads on Google Search, YouTube, Display, Discover, Gmail, Maps and Google Play, always with your approval.

Try it free — 50 actions/moInstall in Claude CodeOfficial documentation

AdsGPT connects Claude Code to your Google Ads account. You connect Google Ads once in AdsGPT and Claude Code can read your metrics instantly, suggest changes and create new campaigns. The other networks already work in the AdsGPT assistant and are coming soon to Claude Code.

Google Ads is the largest ad network in the world: your ads show when people search for what you sell, and across YouTube, Gmail, Discover, Maps and Google Play. With AdsGPT your AI reports by campaign, ad group, ad, keyword or search term, finds wasted spend, researches keywords, makes changes with your approval and creates Search, Performance Max, Demand Gen, Display and App campaigns in one step.

What you can do with Google Ads

  • Wasted spend

    Find the search terms that cost money without converting and add them as negative keywords.

  • Changes with your approval

    Budgets, bid strategies, ads, keywords, targeting and extensions: your AI shows what will change before it applies it.

  • Campaigns in one step

    Search, Performance Max, Demand Gen, Display or App by goal, with budget, dates, targeting and ads.

Requirements

  • An AdsGPT account with at least one ad platform connected.
  • Claude Code installed (terminal, VS Code extension or the Code tab in the desktop app).
  • A browser to complete the OAuth sign-in.

Step-by-step setup

Connect Google Ads in AdsGPT

    1. Sign in to app.adsgpt.dev as the organization owner.
    2. Open Plugins and choose Google Ads.
    3. Sign in with the Google account that has access to your ad accounts and authorize AdsGPT.
    4. Your Google Ads accounts show up in AdsGPT and any member can use them from their AI, as their role allows.

    Add AdsGPT to Claude Code: install with one link

    • Plugin
    • Recommended
    1. With Claude Code installed, open the AdsGPT install link. Claude Code opens in a new terminal with the install request already typed.
    2. Review the request and press Enter. Claude Code adds the marketplace and installs the plugin, asking your permission for each command.
    3. Run /reload-plugins and then /mcp, choose plugin:adsgpt:adsgpt and sign in in the browser.

    The link works once you have sent at least one message in an interactive Claude Code session on that computer, which is when it registers claude-cli:// links. If nothing opens, use the commands below.

    Install the AdsGPT plugin

    • Plugin
    1. In a Claude Code session, add the marketplace and install the plugin.
      Claude Code
      /plugin marketplace add adsgpt-dev/agent-plugins
      /plugin install adsgpt@adsgpt
    2. Or from your shell, without opening a session:
      Terminal
      claude plugin marketplace add adsgpt-dev/agent-plugins
      claude plugin install adsgpt@adsgpt
    3. If Claude Code asks, run /reload-plugins.
    4. Run /mcp, choose plugin:adsgpt:adsgpt and sign in in the browser window that opens.

    In the desktop app's Code tab use + → Plugins → Add plugin; in the VS Code extension, /plugins. To update: /plugin marketplace update adsgpt.

    Add the MCP server only

    • MCP server
    1. Add it for all your projects:
      Terminal
      claude mcp add --transport http --scope user adsgpt https://mcp.adsgpt.dev
    2. Or for a single project, in .mcp.json:
      .mcp.json
      {
        "mcpServers": {
          "adsgpt": {
            "type": "http",
            "url": "https://mcp.adsgpt.dev"
          }
        }
      }
    3. Run /mcp, choose adsgpt and sign in.

    Example prompts for Google Ads

    • “Find the search terms that spend without converting in the last 30 days.”
    • “Compare this month with last month and explain why my cost per conversion went up.”
    • “Research keywords for my dental clinic and plan a Search campaign.”

    Security and approvals

    • You sign in with OAuth 2.1: you never copy or share API keys.
    • The ads:read scope comes first; ads:write is only requested the first time a tool changes something.
    • Every change shows the current and new value and waits for your approval.
    • New campaigns launch paused unless you ask otherwise.
    • AdsGPT acts with your role on the account and receives tool calls, never your conversation.

    Tips

    • Ask Claude Code to save reports as CSV or Markdown in your repository so you can version them.
    • Plugin skills appear as /adsgpt:<skill>, but Claude also uses them on its own when relevant.

    Frequently asked questions

    Can I use Google Ads in Claude Code?

    Yes. With AdsGPT, Claude Code can query and manage your Google Ads campaigns: reports, budgets, statuses and new campaigns.

    Do I have to connect Google Ads inside Claude Code?

    No. Google Ads is connected once in AdsGPT and is then available to your organization.

    Can my Google Ads campaigns be changed without permission?

    No. Reads run instantly, but every change shows the current and new value and waits for your approval. New campaigns are created paused.

    Can I manage several networks at once?

    In the AdsGPT assistant you already work with Google Ads, Meta Ads, TikTok Ads, LinkedIn Ads, X Ads, Reddit Ads, OpenAI Ads and Unity Ads. From Claude Code, Google Ads is available today and the rest are coming soon. A campaign on several networks is created on each with the same name, so your reports tie them together.

    Which Google Ads campaign types can I create?

    Search, Performance Max, Demand Gen, Display and App, depending on your goal: awareness, traffic, engagement, leads, sales or app promotion. Performance Max bids for conversions, so the account must measure them.

    Does it work with manager accounts (MCC)?

    Yes. A manager account groups other accounts and has no campaigns of its own: AdsGPT reports on, changes and creates campaigns in its client accounts.

    Can it apply Google's recommendations?

    Yes. Your AI reads Google's recommendations and can apply or dismiss them, always with your approval.

    Google Ads with artificial intelligence →
    Google Ads + Claude Code

    Start managing your ads from your AI

    Create your AdsGPT account, connect your ad networks and add the integration in minutes.