# How to integrate Google Ads MCP with Grok Build

```json
{
  "title": "How to integrate Google Ads MCP with Grok Build",
  "toolkit": "Google Ads",
  "toolkit_slug": "googleads",
  "framework": "Grok Build",
  "framework_slug": "grok-build",
  "url": "https://composio.dev/toolkits/googleads/framework/grok-build",
  "markdown_url": "https://composio.dev/toolkits/googleads/framework/grok-build.md",
  "updated_at": "2026-05-12T10:13:46.642Z"
}
```

## Introduction

### How to integrate Google Ads MCP with Grok Build
[Grok Build](https://docs.x.ai/build/overview) is xAI's terminal coding agent. It runs on Grok 4.5, plans its work before it acts, and can run multiple sub-agents in parallel. It also reads Claude Code's MCP configuration, so any server you already have in a .mcp.json is picked up with no changes.
In this guide, I will show you how to connect your Google Ads account to Grok Build through Composio, so it can create a new customer list for holiday campaigns, get campaign details by campaign ID, list all current customer lists in your account, and more without leaving the terminal. Composio holds the OAuth tokens for you, and Grok Build only calls the tools you approve.

## Also integrate Google Ads with

- [ChatGPT Work](https://composio.dev/toolkits/googleads/framework/chatgpt)
- [Antigravity](https://composio.dev/toolkits/googleads/framework/antigravity)
- [OpenAI Agents SDK](https://composio.dev/toolkits/googleads/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/googleads/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/googleads/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/googleads/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/googleads/framework/codex)
- [Kimi Code](https://composio.dev/toolkits/googleads/framework/kimi)
- [Cursor](https://composio.dev/toolkits/googleads/framework/cursor)
- [VS Code](https://composio.dev/toolkits/googleads/framework/vscode)
- [OpenCode](https://composio.dev/toolkits/googleads/framework/opencode)
- [OpenClaw](https://composio.dev/toolkits/googleads/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/googleads/framework/hermes-agent)
- [CLI](https://composio.dev/toolkits/googleads/framework/cli)
- [Google ADK](https://composio.dev/toolkits/googleads/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/googleads/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/googleads/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/googleads/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/googleads/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/googleads/framework/crew-ai)

## TL;DR

### Why use Composio over a standalone MCP server?
- Read and write access. Composio's Google Ads integration lets Grok Build take real actions like creating drafts, sending updates, and labeling records, not just reading data.
- 1,000+ SaaS toolkits out of the box. One endpoint gives you a full catalog of pre-built connectors, from Gmail and Slack to Notion, Linear, and Salesforce.
- One MCP server for every app. Wire up a single Composio server instead of maintaining a separate MCP entry for each app.
- Smart, context-aware tool loading. Grok Build caps how many tools it holds in a single request. Composio loads only the tools a task needs, so you do not spend that budget on tools you are not using.
- Cross-app automation. Chain actions across apps in one run. Pull a thread, summarize it in Notion, and post the highlights to Slack from a single prompt.

## Connect Google Ads to Grok Build

### Prerequisites
- Grok Build installed and signed in. Install with curl -fsSL https://x.ai/cli/install.sh | bash on macOS or Linux, or irm https://x.ai/cli/install.ps1 | iex on Windows PowerShell. On first launch Grok opens a browser to authenticate; for headless or CI use, set an XAI_API_KEY environment variable instead (create the key at [console.x.ai](https://console.x.ai/)).
- Access to the Google Ads account you want to connect.
- The [Composio MCP endpoint](https://dashboard.composio.dev/login?utm_source=toolkits&utm_medium=framework_template&utm_campaign=grok-build&utm_content=composio_connect). Composio's server is remote and hosted, so there is nothing to run locally and no tunnel to set up.
### Step-by-step: Connect Google Ads to Grok Build
### 1. Install and verify Grok Build
Install the CLI, then restart your shell so the grok binary lands on your PATH:

```bash
curl -fsSL https://x.ai/cli/install.sh | bash
which grok
```

## What is the Google Ads MCP server, and what's possible with it?

The Google Ads MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Google Ads account. It provides structured and secure access to your advertising data, so your agent can perform actions like creating customer lists, retrieving campaign details, and managing audience segments on your behalf.
- Automated customer list creation: Instantly have your agent create new customer lists for targeted marketing campaigns, streamlining your segmentation workflows.
- Campaign insights by ID or name: Let your agent fetch detailed information for any ad campaign using its ID or name, making reporting and optimization a breeze.
- Customer list management: Ask your agent to retrieve and review all your existing customer lists, so you always know who you're targeting.
- Add or remove contacts from lists: Seamlessly update audience membership by having your agent add or remove contacts from specified customer lists for more dynamic targeting.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `GOOGLEADS_ADD_OR_REMOVE_TO_CUSTOMER_LIST` | Add or remove to customer list | AddOrRemoveToCustomerList Tool will add a contact to a customer list in Google Ads. Note: It takes 6 to 12 hours for changes to be reflected in the customer list. Email addresses must comply with Google Ads policies and applicable privacy/consent laws. |
| `GOOGLEADS_CREATE_CUSTOMER_LIST` | Create customer list | Creates a customer list in Google Ads. Note: Requires an authenticated Google Ads connection with customer_id configured. Email-based lists must comply with Google Ads policies and applicable privacy/consent laws. Membership updates can take many hours to propagate; targeting eligibility is not immediate after creation. |
| `GOOGLEADS_GET_CAMPAIGN_BY_ID` | Get Campaign By Id | GetCampaignById Tool returns details of a campaign in Google Ads. Requires an active Google Ads OAuth connection with the correct customer_id configured; missing or mismatched customer_id will cause empty results. |
| `GOOGLEADS_GET_CAMPAIGN_BY_NAME` | Get campaign by name | Queries Google Ads via SQL to retrieve a campaign by its exact name. Requires an active Google Ads connection with valid customer_id and appropriate OAuth scopes. |
| `GOOGLEADS_GET_CUSTOMER_LISTS` | Get customer lists | GetCustomerLists Tool lists all customer lists (audience/remarketing lists) in Google Ads. These are user segments for targeting, not Google Ads accounts — list IDs are distinct from account IDs. When multiple lists share similar names, review all returned results before selecting one for downstream operations. |
| `GOOGLEADS_LIST_ACCESSIBLE_CUSTOMERS` | List Accessible Customers | ListAccessibleCustomers retrieves all Google Ads customer accounts accessible to the authenticated user. Returns resource names of customers (e.g., customers/1234567890) that can be accessed with the current OAuth credentials. Use this action to discover which customer IDs are available before making other API calls. Use this action when you need to determine which customer accounts the authenticated user has access to, or when you want to populate a dropdown of available accounts for the user to select from. |
| `GOOGLEADS_MUTATE_AD_GROUPS` | Mutate Ad Groups | Create, update, or remove ad groups within Google Ads campaigns. Supports batch operations with multiple ad group changes in a single request. Use when you need to manage ad groups programmatically, such as creating new ad groups for campaigns, updating ad group settings or status, or removing ad groups that are no longer needed. This action is irreversible for remove operations — deleted ad groups cannot be recovered once removed. |
| `GOOGLEADS_MUTATE_CAMPAIGNS` | Mutate Campaigns | Create, update, or remove Google Ads campaigns in batch. Supports multiple operations (create, update, remove) in a single request. Use when managing campaign lifecycle, applying bulk changes, or automating campaign management workflows. This action is irreversible for remove operations — deleted campaigns cannot be recovered. Plan accordingly and consider using validate_only=true to test changes before applying them. |
| `GOOGLEADS_SEARCH_STREAM_GAQL` | Search Stream GAQL | Execute a Google Ads Query Language (GAQL) query and stream all results in a single response. This method is more efficient than paginated search for bulk data retrieval of campaigns, ad groups, and performance metrics (clicks, impressions, cost). Use this action when you need the entire result set without pagination. Results are returned as a single response containing all matching rows. |

## Supported Triggers

None listed.

## Creating MCP Server - Stand-alone vs Composio SDK

Once connected, Grok Build can access the Google Ads MCP server via Composio to run the app actions you authorize, directly from your terminal.

## Complete Code

None listed.

## How to build Google Ads MCP Agent with another framework

- [ChatGPT Work](https://composio.dev/toolkits/googleads/framework/chatgpt)
- [Antigravity](https://composio.dev/toolkits/googleads/framework/antigravity)
- [OpenAI Agents SDK](https://composio.dev/toolkits/googleads/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/googleads/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/googleads/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/googleads/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/googleads/framework/codex)
- [Kimi Code](https://composio.dev/toolkits/googleads/framework/kimi)
- [Cursor](https://composio.dev/toolkits/googleads/framework/cursor)
- [VS Code](https://composio.dev/toolkits/googleads/framework/vscode)
- [OpenCode](https://composio.dev/toolkits/googleads/framework/opencode)
- [OpenClaw](https://composio.dev/toolkits/googleads/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/googleads/framework/hermes-agent)
- [CLI](https://composio.dev/toolkits/googleads/framework/cli)
- [Google ADK](https://composio.dev/toolkits/googleads/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/googleads/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/googleads/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/googleads/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/googleads/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/googleads/framework/crew-ai)

## Related Toolkits

- [Metaads](https://composio.dev/toolkits/metaads) - Metaads is Meta's official Ads API that lets you manage, analyze, and optimize your Facebook and Instagram ad campaigns. Streamline ad operations and gain deeper insights with robust automation.
- [Adrapid](https://composio.dev/toolkits/adrapid) - Adrapid is a platform for rapid creation of digital marketing visuals using templates. It streamlines design workflows for banners, images, and HTML5 content with automation.
- [Adyntel](https://composio.dev/toolkits/adyntel) - Adyntel is an API that retrieves LinkedIn ads for any company using a domain or LinkedIn Page ID. Easily access competitive ad intelligence to power your marketing workflows.
- [Beaconstac](https://composio.dev/toolkits/beaconstac) - Beaconstac is a platform for creating and managing QR codes and proximity beacons. It helps businesses engage customers and track marketing performance with powerful analytics.
- [Campaign cleaner](https://composio.dev/toolkits/campaign_cleaner) - Campaign cleaner is an email campaign optimization tool that boosts compatibility and deliverability across email clients. It helps marketers get better results by cleaning, enhancing, and ensuring high performance for every campaign.
- [Deadline funnel](https://composio.dev/toolkits/deadline_funnel) - Deadline Funnel lets you create personalized deadlines and timers for your marketing campaigns. It helps marketers boost conversions by adding authentic urgency to offers.
- [Instantly](https://composio.dev/toolkits/instantly) - Instantly is a platform for automating cold email outreach, managing leads, and optimizing deliverability. Get better results from email campaigns with minimal manual effort.
- [Keyword](https://composio.dev/toolkits/keyword) - Keyword.com is a digital marketing platform for search rank tracking and SEO analytics. Use it to monitor keyword performance, spot ranking changes, and measure SEO visibility.
- [Linkedin Ads](https://composio.dev/toolkits/linkedin_ads) - Linkedin Ads is LinkedIn's marketing platform for creating, managing, and measuring paid campaigns across LinkedIn. It helps teams reach professional audiences with precise targeting, campaign analytics, and sponsored content tools.
- [Proofly](https://composio.dev/toolkits/proofly) - Proofly is a social proof platform that displays real-time notifications of customer activity on your site. It helps you increase website conversions by building trust and urgency for visitors.
- [Reddit Ads](https://composio.dev/toolkits/reddit_ads) - Reddit Ads is Reddit's advertising platform for running paid campaigns, managing ad accounts, and tracking conversions. It helps advertisers reach high-intent communities with targeted, interest-based campaigns.
- [Segmetrics](https://composio.dev/toolkits/segmetrics) - Segmetrics is a marketing analytics platform that reveals detailed insights into your customer journeys. It helps businesses optimize marketing strategies with accurate, actionable reporting.
- [Semrush](https://composio.dev/toolkits/semrush) - Semrush is a leading SEO tool suite for keyword research, competitor analysis, and campaign tracking. It empowers marketers to improve search rankings and optimize online visibility.
- [Sendloop](https://composio.dev/toolkits/sendloop) - Sendloop is an all-in-one email marketing platform built for SaaS, e-commerce, and small businesses. It makes it easy to send campaigns, manage lists, and track results—all in one place.
- [Sidetracker](https://composio.dev/toolkits/sidetracker) - Sidetracker is a marketing analytics platform that tracks expenses, sales funnels, and customer journeys. It helps optimize marketing spend and visualize campaign performance from start to finish.
- [Snapchat](https://composio.dev/toolkits/snapchat) - Snapchat is a multimedia messaging and social platform with camera-first content, Stories, and Ads Manager. It helps brands reach mobile audiences with visual ads and measurable campaign performance.
- [Stannp](https://composio.dev/toolkits/stannp) - Stannp is an API-driven direct mail platform for sending postcards and letters programmatically. It lets you automate physical mail delivery—no manual printing or mailing required.
- [Tapfiliate](https://composio.dev/toolkits/tapfiliate) - Tapfiliate is an affiliate and referral tracking platform for businesses. It helps companies efficiently manage, track, and grow their affiliate programs.
- [Tpscheck](https://composio.dev/toolkits/tpscheck) - Tpscheck is a real-time service for verifying UK phone numbers against TPS and CTPS registers. It helps prevent unwanted marketing calls and ensures compliance with UK telemarketing laws.
- [Gmail](https://composio.dev/toolkits/gmail) - Gmail is Google's email service with powerful spam protection, search, and G Suite integration. It keeps your inbox organized and makes communication fast and reliable.

## Frequently Asked Questions

### What is the difference between the Composio Tool Router and a standalone Google Ads MCP server?

A standalone Google Ads MCP server gives Grok Build a fixed set of Google Ads tools tied to that one server. The Composio Tool Router lets Grok Build load tools from Google Ads and many other apps on demand, based on the task, all through a single endpoint.

### Does Grok Build support MCP?

Yes. Grok Build ships with native MCP support. Add a server with the grok mcp add command, from the in-session /mcps modal, or by editing ~/.grok/config.toml. It also reads Claude Code-style .mcp.json files, so Grok Build discovers the tools automatically.

### Can I reuse the same MCP config I already use with Claude Code?

Yes. Grok Build has zero-migration compatibility with Claude Code's configuration, so the same Composio server entry works in both without edits.

### How safe is my Google Ads data with Composio?

Tokens, keys, and configuration are encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant, so your Google Ads data and credentials are handled to that standard.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
