Google Ads MCP for Claude Code
AdWhiz gives Claude Code direct access to the Google Ads API via MCP. Create campaigns, add keywords, analyze performance, and run audits without leaving your terminal — using plain English.
Get MCP AccessHow to Set Up AdWhiz in Claude Code
Create your AdWhiz account and get your API key
Sign up at adwhiz.ai and navigate to Settings > API Keys. Generate a new API key for your Claude Code workspace. Keep this key secure — treat it like a password.
Add AdWhiz to your .mcp.json configuration
Claude Code reads MCP server configuration from a .mcp.json file in your project root or your global Claude config directory (~/.claude/mcp.json). Add the AdWhiz server entry shown below.
{ "mcpServers": { "adwhiz": { "command": "npx", "args": ["-y", "@adwhiz/mcp-server"], "env": { "ADWHIZ_API_KEY": "your-api-key-here" } } } }Authorize your Google Ads account
On first use, Claude Code will prompt you to connect your Google Ads account via OAuth. Run the authorization flow once — AdWhiz stores your access token securely and refreshes it automatically.
Start managing Google Ads from Claude Code
Once configured, you can ask Claude anything about your Google Ads account directly in your terminal session. AdWhiz MCP tools are automatically available to Claude.
# Example Claude Code prompts: # "Audit my Google Ads account and show the top 5 waste areas" # "Pause all campaigns with CPA above $150" # "Add these negative keywords to my Search campaigns: [list]" # "Create a new Search campaign targeting lawyers in New York with $100/day budget"
AdWhiz works with any MCP-compatible AI coding tool.
支持任何兼容 MCP 的 AI 工具
What You Can Do with AdWhiz in Claude Code
- Full Google Ads account audit from the terminal
- Create, update, pause, and remove campaigns via natural language
- Keyword and negative keyword management
- Budget and bidding strategy configuration
- Conversion action setup and tracking validation
- Sitelink and ad asset management
- Search term report analysis and negative keyword discovery
- Dry-run mode — preview API calls before executing
- Mutation audit log — every change is recorded
- Support for Google Ads API v23
AdWhiz + Claude Code: Common Questions
No server infrastructure is required on your end. The AdWhiz MCP server runs via npx and connects to AdWhiz's hosted API. You only need Node.js installed (for npx) and your AdWhiz API key.
AdWhiz works with any version of Claude Code that supports the MCP protocol. MCP support was introduced in Claude Code in early 2025. Make sure you are running a recent release.
Yes. The AdWhiz MCP server accepts environment variables for the API key and customer ID, making it compatible with CI/CD environments. However, all mutate operations still require confirmation unless you explicitly enable unconfirmed mode for automated workflows.
Claude Code processes your prompts and tool calls locally. When you ask Claude to use the AdWhiz MCP tools, Claude sends tool call requests to the AdWhiz server — not to Anthropic. Your Google Ads data is fetched directly from the Google Ads API by AdWhiz's server.
Start Managing Google Ads from Claude Code
Get MCP access and connect your Google Ads account to Claude Code in under 5 minutes.
或加入邮件列表