[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-112041":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":8,"htmlUrl":9,"language":10,"languages":8,"totalLinesOfCode":8,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":8,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":13,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":8,"rankLanguage":8,"license":8,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":8,"createdAt":8,"pushedAt":22,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":15,"starSnapshotCount":15,"syncStatus":26,"lastSyncTime":27,"discoverSource":28},112041,"google-ads-mcp","googleads\u002Fgoogle-ads-mcp","googleads",null,"https:\u002F\u002Fgithub.com\u002Fgoogleads\u002Fgoogle-ads-mcp","Python",1214,386,25,6,0,3,45,16,72.75,false,"main","2026-11-17 15:02:49","2026-11-23 19:56:59","# Google Ads MCP Server\n\nThis repo contains the source code for running an\n[MCP](https:\u002F\u002Fmodelcontextprotocol.io) server that interacts with the\n[Google Ads API](https:\u002F\u002Fdevelopers.google.com\u002Fgoogle-ads\u002Fapi).\n\n## Tools\n\nThe server uses the\n[Google Ads API](https:\u002F\u002Fdevelopers.google.com\u002Fgoogle-ads\u002Fapi\u002Freference\u002Frpc\u002Flatest\u002Foverview)\nto provide several\n[Tools](https:\u002F\u002Fmodelcontextprotocol.io\u002Fdocs\u002Fconcepts\u002Ftools) and [Resources](https:\u002F\u002Fmodelcontextprotocol.io\u002Fdocs\u002Fconcepts\u002Ftools) for use with LLMs and AI agents.\n\n### Tools available\n\n- `search`: Retrieves information about the Google Ads account using GAQL.\n- `get_resource_metadata`: Retrieves metadata about a Google Ads API resource type, for example \"campaign\". This is useful to understand the structure of the data and what fields are available for querying.\n- `list_accessible_customers`: Returns IDs of customers directly accessible\n  by the user authenticating the call.\n- `create_asset`: Creates Google Ads assets (`TEXT`, `IMAGE`, `YOUTUBE_VIDEO`, `SITELINK`, `CALLOUT`, `STRUCTURED_SNIPPET`, and other asset types via `extra_params`). Note: `image_asset_path` is supported in local `stdio` mode only; use base64 `image_asset_data` for remote HTTP deployments.\n- `upload_video_asset`: Uploads a local video file to YouTube via the Google Ads API using a background task so it can be referenced by video assets (supported in local `stdio` mode only).\n- `manage_labels`: Creates, updates, and removes account labels.\n- `manage_label_associations`: Creates and removes label associations on `CAMPAIGN`, `CUSTOMER`, `AD_GROUP`, and `AD_GROUP_CRITERION` resources.\n\n### Propose & Confirm Safety Workflow (Mutate Tools)\n\nAll write\u002Fmutate tools (`create_asset`, `upload_video_asset`, `manage_labels`, and `manage_label_associations`) enforce a two-step **Propose & Confirm** safety workflow:\n\n1. **Propose (`validate_only=True`, default)**: Validates the operation (including a Google Ads API `validate_only` dry run where supported) without committing changes, returning human-readable `change_items` and a cryptographic `checksum` bound to the customer ID and parameters.\n2. **Confirm (`validate_only=False`)**: Requires passing the exact same parameters and `customer_id` together with the `checksum` returned in step 1 after explicit user approval. Any missing or mismatched checksum is rejected before mutating the account.\n\n### Configuring and Namespacing Tools\n\nThe Google Ads MCP server uses `tools_config.yaml` to let you selectively enable or disable individual tools or tool categories (namespaces) and customize their namespace prefixes.\n\nA default `tools_config.yaml` with all tools enabled is bundled with the package, so the server works out of the box with no extra setup. For strictly read-only deployments, set `labels: false` and `assets: false` in your `tools_config.yaml`. To customize your installation, the server resolves the configuration in the following order:\n\n1. An explicit path set via the `GOOGLE_ADS_MCP_TOOLS_CONFIG` environment variable.\n2. A `tools_config.yaml` file in the current working directory.\n3. The default `tools_config.yaml` bundled with the package.\n\nIf an explicitly requested configuration file (via the environment variable) is missing, or any resolved file is invalid, the server raises an error and fails to start.\n\n#### Configuration Example:\n```yaml\nnamespaces:\n  # Option 1: Enable category 'customers' with default prefix -> \"customers_list_accessible_customers\"\n  customers: true\n\n  # Option 2: Enable category 'search' with a custom prefix -> \"query_search\"\n  search: \"query\"\n\n  # Option 3: Fine-grained control over tools in a category\n  metadata:\n    enabled: true\n    prefix: \"metadata\"\n    enabled_tools:\n      - get_resource_metadata: true\n\n  # Option 4: Disable write\u002Fmutate categories for a strictly read-only server\n  labels: false\n  assets: false\n```\n\n\n### Resources available\n\n- `discovery-document`: Retrieve the Google Ads API discovery document. Provides the discovery document for the latest version of the Google Ads API, which describes the API surface, including resources, methods, and schemas. Host LLMs should access this resource to understand the structure of the Google Ads API and discover available features.\n- `metrics`: Retrieve information about the metrics available for reporting in the Google Ads API.\n- `segments`: Retrieve information about the segments available for reporting in the Google Ads API.\n- `release-notes`: Retrieve the release notes for the latest version of the Google Ads API.\n\n## Notes\n\n1.  The MCP Server will expose your data to the Agent or LLM that you connect to it.\n1.  If you have technical issues, please use the [GitHub issue tracker](https:\u002F\u002Fgithub.com\u002Fgoogleads\u002Fgoogle-ads-mcp\u002Fissues).\n1.  To help us collect usage data, you will notice an extra header has been added to your API calls: this data is used to improve the product.\n\n## Setup instructions\n\nSetup involves the following steps:\n\n1.  Configure Python.\n1.  Enable APIs in your project\n1.  Configure Credentials.\n1.  Configure your MCP client.\n\n### Configure Python\n\n[Install pipx](https:\u002F\u002Fpipx.pypa.io\u002Fstable\u002F#install-pipx).\n\nAfter a version has been published to PyPI, you can run that exact version\ninstead of following the latest repository state:\n\n```shell\npipx run --spec \"google-ads-mcp==X.Y.Z\" google-ads-mcp\n```\n\n### Enable APIs in your project\n\n[Follow the instructions](https:\u002F\u002Fsupport.google.com\u002Fgoogleapi\u002Fanswer\u002F6158841)\nto enable the following APIs in your Google Cloud project:\n\n* [Google Ads API](https:\u002F\u002Fconsole.cloud.google.com\u002Fapis\u002Flibrary\u002Fgoogleads.googleapis.com)\n\n### Configure Credentials\n#### Option 1: Using FastMCP OAuth Proxy\n\nThe server supports FastMCP's [OAuth proxy](https:\u002F\u002Fgofastmcp.com\u002Fservers\u002Fauth\u002Foauth-proxy) feature for dynamic user authentication. This is useful when running the server as a web service.\n\nTo enable it, set the following environment variables:\n\n- `GOOGLE_ADS_MCP_OAUTH_CLIENT_ID`: Your Google Cloud OAuth 2.0 Client ID.\n- `GOOGLE_ADS_MCP_OAUTH_CLIENT_SECRET`: Your Google Cloud OAuth 2.0 Client Secret.\n- `GOOGLE_ADS_MCP_BASE_URL`: (Optional) The base URL where the server is accessible (defaults to `http:\u002F\u002Flocalhost:8080`).\n- `GOOGLE_ADS_MCP_JWT_SIGNING_KEY`: (Optional) Secret key used to sign FastMCP JWT tokens across multiple server instances or deployments.\n- `GOOGLE_ADS_MCP_STORAGE_TYPE`: (Optional) Storage backend for OAuth state (`filetree`, `redis`, `firestore`, or `memory`).\n- `GOOGLE_ADS_MCP_STORAGE_PATH`: (Optional) Directory path for `filetree` persistent storage.\n- `GOOGLE_ADS_MCP_STORAGE_REDIS_URL`: (Optional) Redis URL for `redis` persistent storage.\n- `GOOGLE_ADS_MCP_STORAGE_FIRESTORE_PROJECT`: (Optional) Google Cloud project for `firestore` persistent storage. Defaults to the project inferred from Application Default Credentials. Setting it selects the `firestore` backend even if `GOOGLE_ADS_MCP_STORAGE_TYPE` is unset.\n- `GOOGLE_ADS_MCP_STORAGE_FIRESTORE_DATABASE`: (Optional) Firestore database name for `firestore` persistent storage. Defaults to `(default)`.\n- `GOOGLE_ADS_MCP_STORAGE_ENCRYPTION_KEY`: (Optional) Encryption key for stored OAuth tokens.\n- `GOOGLE_ADS_MCP_STORAGE_DISABLE_ENCRYPTION`: (Optional) Set to `true` to disable token encryption.\n\nThe `redis` and `firestore` backends need their storage library installed\nalongside the server: `pip install py-key-value-aio[redis]` and\n`pip install google-ads-mcp[firestore]` respectively.\n\nOnce this is enabled, you can authenticate to the API through your MCP client.\n\nWhen these variables are set, the server automatically switches to the\n`streamable-http` transport instead of `stdio`.\n\nYou will need to run the server as a separate process and configure your MCP\nclient to connect to the Streamable HTTP endpoint (for example,\n`http:\u002F\u002Flocalhost:8080\u002Fmcp`).\n\n### Local WSL and Podman deployment\n\nThis deployment has been tested with rootless Podman in WSL and exposes a single\nStreamable HTTP endpoint at `http:\u002F\u002Flocalhost:8080\u002Fmcp`. Build the image from\nthe repository inside WSL:\n\n```shell\npodman build --tag localhost\u002Fgoogle-ads-mcp:latest --file Dockerfile .\n```\n\nKeep server credentials out of MCP client configuration. The tested Quadlet\nloads Google Ads and OAuth settings from a private host-side file through\n`EnvironmentFile=` and uses a separate named volume for persistent encrypted\nOAuth state:\n\n```ini\n[Container]\nImage=localhost\u002Fgoogle-ads-mcp:latest\nPublishPort=127.0.0.1:8080:8080\nEnvironmentFile=\u002Fabsolute\u002Fhost\u002Fpath\u002Fgoogle-ads-mcp.env\nVolume=google-ads-mcp-oauth.volume:\u002Fvar\u002Flib\u002Fgoogle-ads-mcp:rw\nReadOnly=true\nNoNewPrivileges=true\nDropCapability=all\n```\n\nThe environment file and the OAuth-state volume serve different purposes: the\nvolume does not contain the `.env` file. Keep the environment file outside the\nrepository, restrict it to the service owner, and never commit it. Antigravity\nand Codex then need only the MCP endpoint and their own OAuth authorization;\nthey do not need the server's OAuth client secret,\nor signing and storage keys. Publish port 8080 only on the loopback interface\nwhen the server is intended for local agents.\n\nThe endpoint deliberately keeps stateful Streamable HTTP enabled. It supports\nlegacy MCP 2025 clients that use `Mcp-Session-Id` and GET SSE as well as MCP\n2026 clients that use sessionless POST requests and `subscriptions\u002Flisten`.\nDo not enable FastMCP's `stateless_http` option on this shared endpoint; doing\nso removes the legacy GET channel.\n\nThe server runs on FastMCP 4 (`fastmcp>=4.0.6,\u003C5`) paired with `mcp[cli]>=2.0.0,\u003C3`. The Docker build also applies a version-guarded\nOAuth metadata workaround for Codex CLI 0.146. It stops advertising the RFC\n9207 authorization-response `iss` parameter as mandatory while FastMCP still\nincludes it in redirects. The build fails if the expected FastMCP major version or\npatch location changes, so upgrades require explicit interoperability tests.\n\nFor Codex, configure and authenticate the server as described in the\n[official Codex MCP documentation](https:\u002F\u002Fdevelopers.openai.com\u002Fcodex\u002Fmcp\u002F):\n\n```shell\ncodex mcp add google_ads --url http:\u002F\u002Flocalhost:8080\u002Fmcp\ncodex mcp login google_ads\n```\n\nFor Antigravity, configure the same URL as `serverUrl` in its MCP configuration.\nThis key is required for Streamable HTTP in Antigravity 2.8.1 and Antigravity\nIDE 2.5.5; `httpUrl` is not accepted by those versions. After authentication,\nboth clients should list these namespaced tools:\n\n- `assets_create_asset`\n- `assets_upload_video_asset`\n- `customers_list_accessible_customers`\n- `labels_manage_label_associations`\n- `labels_manage_labels`\n- `metadata_get_resource_metadata`\n- `search_search`\n\n#### Option 2: Configure credentials using Application Default Credentials\n\nConfigure your [Application Default Credentials\n(ADC)](https:\u002F\u002Fcloud.google.com\u002Fdocs\u002Fauthentication\u002Fprovide-credentials-adc).\nMake sure the credentials are for a user with access to your Google Ads\naccounts or properties.\n\nCredentials must include the Google Ads API scope:\n\n```\nhttps:\u002F\u002Fwww.googleapis.com\u002Fauth\u002Fadwords\n```\n\nCheck out\n[Manage OAuth Clients](https:\u002F\u002Fsupport.google.com\u002Fcloud\u002Fanswer\u002F15549257)\nfor how to create an OAuth client.\n\nHere are some sample `gcloud` commands you might find useful:\n\n\n- Set up ADC using user credentials and an OAuth desktop or web client after\n  downloading the client JSON to `YOUR_CLIENT_JSON_FILE`.\n\n  ```shell\n  gcloud auth application-default login \\\n    --scopes https:\u002F\u002Fwww.googleapis.com\u002Fauth\u002Fadwords,https:\u002F\u002Fwww.googleapis.com\u002Fauth\u002Fcloud-platform \\\n    --client-id-file=YOUR_CLIENT_JSON_FILE\n  ```\n\n- Set up ADC using service account impersonation.\n\n  ```shell\n  gcloud auth application-default login \\\n    --impersonate-service-account=SERVICE_ACCOUNT_EMAIL \\\n    --scopes=https:\u002F\u002Fwww.googleapis.com\u002Fauth\u002Fadwords,https:\u002F\u002Fwww.googleapis.com\u002Fauth\u002Fcloud-platform\n  ```\n\nWhen the `gcloud auth application-default` command completes, copy the\n`PATH_TO_CREDENTIALS_JSON` file location printed to the console in the\nfollowing message. You will need this for a later step!\n\n```\nCredentials saved to file: [PATH_TO_CREDENTIALS_JSON]\n```\n\n#### Option 3: Configure credentials using the Google Ads API Python client library.\n\n[Follow the instructions](https:\u002F\u002Fdevelopers.google.com\u002Fgoogle-ads\u002Fapi\u002Fdocs\u002Fclient-libs\u002Fpython\u002F)\nto setup and configure the Google Ads API Python client library\n\nIf you have already done this and have a working `google-ads.yaml` , you can reuse this file!\n\nIn the utils.py file, change get_googleads_client() to use the load_from_storage() method.\n\n### Configure your MCP client\n\nAdd the server to your MCP client's configuration. Below are examples for\npopular clients.\n\n#### Antigravity \u002F Antigravity IDE\n\n1.  Install [Antigravity](https:\u002F\u002Fantigravity.google\u002Fproduct\u002Fantigravity-cli)\n    or Antigravity IDE.\n\n1.  Configure your server. Refer to the docs at [https:\u002F\u002Fantigravity.google\u002Fdocs\u002Fmcp](https:\u002F\u002Fantigravity.google\u002Fdocs\u002Fmcp) for details on setting up MCP servers.\n\n- Option 1: Using FastMCP OAuth Proxy (Streamable HTTP)\n\n  You can run the server as a separate process and configure your MCP client\n  to connect to the Streamable HTTP endpoint (for example,\n  `http:\u002F\u002Flocalhost:8080\u002Fmcp`).\n  This also allows using FastMCP's [OAuth proxy](https:\u002F\u002Fgofastmcp.com\u002Fservers\u002Fauth\u002Foauth-proxy) feature for dynamic user authentication.\n\n  Antigravity 2.8.1 and Antigravity IDE 2.5.5 require `serverUrl` for a\n  Streamable HTTP server. Do not use the older `httpUrl` key. Server-side\n  credentials belong in the server process, not in this client configuration.\n\n    ```json\n    {\n      \"mcpServers\": {\n        \"google-ads-mcp\": {\n          \"serverUrl\": \"http:\u002F\u002Flocalhost:8080\u002Fmcp\"\n        }\n      }\n    }\n    ```\n\n- Option 2: the Application Default Credentials method\n\n    This remains a supported alternative, but it provides less credential\n    isolation than the server-managed Streamable HTTP deployment above. The MCP\n    client starts the server and its configuration contains the ADC file path.\n    Prefer the Quadlet deployment when several\n    local clients share the same server or client configuration may be copied,\n    synchronized, or inspected by other tools.\n\n    Replace `PATH_TO_CREDENTIALS_JSON` with the path you copied in the previous\n    step.\n\n    We also recommend that you add a `GOOGLE_CLOUD_PROJECT` attribute to the\n    `env` object. Replace `YOUR_PROJECT_ID` in the following example with the\n    [project ID](https:\u002F\u002Fsupport.google.com\u002Fgoogleapi\u002Fanswer\u002F7014113) of your\n    Google Cloud project.\n\n    ```json\n    {\n      \"mcpServers\": {\n        \"google-ads-mcp\": {\n          \"command\": \"pipx\",\n          \"args\": [\n            \"run\",\n            \"--spec\",\n            \"git+https:\u002F\u002Fgithub.com\u002Fgoogleads\u002Fgoogle-ads-mcp.git\",\n            \"google-ads-mcp\"\n          ],\n          \"env\": {\n            \"GOOGLE_APPLICATION_CREDENTIALS\": \"PATH_TO_CREDENTIALS_JSON\",\n            \"GOOGLE_PROJECT_ID\": \"YOUR_PROJECT_ID\"\n          }\n        }\n      }\n    }\n    ```\n\n- Option 3: the Python client library method\n\n    ```json\n    {\n      \"mcpServers\": {\n        \"google-ads-mcp\": {\n          \"command\": \"pipx\",\n          \"args\": [\n            \"run\",\n            \"--spec\",\n            \"git+https:\u002F\u002Fgithub.com\u002Fgoogleads\u002Fgoogle-ads-mcp.git\",\n            \"google-ads-mcp\"\n          ],\n          \"env\": {\n            \"GOOGLE_PROJECT_ID\": \"YOUR_PROJECT_ID\"\n          }\n        }\n      }\n    }\n    ```\n\n#### Login Customer Id\n\nIf your access to the customer account is through a manager account, you can\neither provide the manager account's customer ID per tool call via the optional\n`login_customer_id` parameter, or set `GOOGLE_ADS_LOGIN_CUSTOMER_ID` in the\nsettings file as a default (the per-call `login_customer_id` parameter takes\nprecedence when specified).\n\nSee [here](https:\u002F\u002Fdevelopers.google.com\u002Fgoogle-ads\u002Fapi\u002Fdocs\u002Fconcepts\u002Fcall-structure#cid) for details.\n\nThe final file will look like this:\n\n  ```json\n  {\n    \"mcpServers\": {\n      \"google-ads-mcp\": {\n        \"command\": \"pipx\",\n        \"args\": [\n          \"run\",\n          \"--spec\",\n          \"git+https:\u002F\u002Fgithub.com\u002Fgoogleads\u002Fgoogle-ads-mcp.git\",\n          \"google-ads-mcp\"\n        ],\n        \"env\": {\n          \"GOOGLE_APPLICATION_CREDENTIALS\": \"PATH_TO_CREDENTIALS_JSON\",\n          \"GOOGLE_PROJECT_ID\": \"YOUR_PROJECT_ID\",\n          \"GOOGLE_ADS_LOGIN_CUSTOMER_ID\": \"YOUR_MANAGER_CUSTOMER_ID\"\n        }\n      }\n    }\n  }\n  ```\n\n#### Other MCP clients (Claude Code, Cursor, VS Code, etc.)\n\nThe `mcpServers` block format is the same across all MCP clients. Add the configuration shown above to the appropriate settings file for your client (e.g., `~\u002F.claude\u002Fsettings.json` for Claude Code, `.cursor\u002Fmcp.json` for Cursor, `.vscode\u002Fmcp.json` for VS Code with Copilot).\n\n## Deployment to Google Cloud Platform\n\nInstead of hosting this MCP server locally, you can host it on Google Cloud Run or on any other cloud-based infrastructure. This is useful if you want to share the server across different agents or run it as a web service.\n\nNote that this only supports authentication with an OAuth Client ID and Client Secret pair through the OAuth proxy (Option #1 above).\n\n### Prerequisites\n\n1.  A Google Cloud project.\n2.  The `gcloud` CLI installed, authenticated, and active project set.\n    ```shell\n    gcloud config set project YOUR_PROJECT_ID\n    ```\n\n### Step 1: Build and Push Docker Image\n\nYou can use Cloud Build to build and push the image to Artifact Registry without needing Docker installed locally.\n\n1.  Create a repository in Artifact Registry:\n    ```shell\n    gcloud artifacts repositories create mcp-servers --repository-format=docker --location=us-central1\n    ```\n2.  Build and submit the image:\n    ```shell\n    gcloud builds submit --tag us-central1-docker.pkg.dev\u002FYOUR_PROJECT_ID\u002Fmcp-servers\u002Fgoogle-ads-mcp:latest .\n    ```\n    Replace `YOUR_PROJECT_ID` with your Google Cloud project ID.\n\n### Step 2: Deploy to Google Cloud Run\n\nMake sure to set the required environment variables:\n\n- `GOOGLE_PROJECT_ID`: Your Google Cloud project ID.\n- `GOOGLE_ADS_MCP_OAUTH_CLIENT_ID`: The OAuth Client ID you want the MCP server to use.\n- `GOOGLE_ADS_MCP_OAUTH_CLIENT_SECRET`: The OAuth Client secret you want the MCP server to use.\n- `GOOGLE_ADS_MCP_BASE_URL`: The base URL where your MCP server is accessible: this will be automatically assigned by Google Cloud Run after your first deployment. You can update the environment variables after deployment. \n- `GOOGLE_ADS_MCP_JWT_SIGNING_KEY`: (Recommended for production) Persistent JWT signing key across Cloud Run instances.\n- `GOOGLE_ADS_MCP_STORAGE_TYPE`: (Recommended for production) Storage backend to persist OAuth tokens across instances. Set it to `firestore` to use Firestore through Application Default Credentials, which needs no VPC connector, or to `redis` along with `GOOGLE_ADS_MCP_STORAGE_REDIS_URL`.\n\n  Using `firestore` requires three things: build the image with the extra\n  installed (change the Dockerfile to `uv pip install --system .[firestore]`),\n  create a Firestore database in the project, since one is not provisioned\n  automatically, and grant the Cloud Run service account `roles\u002Fdatastore.user`.\n  Note that entries are not expired automatically: the store filters expired\n  entries on read but never deletes them, and `expires_at` is written as a\n  string, so a Firestore TTL policy cannot collect them either. Plan on a\n  periodic cleanup job for long-running deployments. Redis expires entries on\n  its own.\n- `FASTMCP_HOST`: Set this to `0.0.0.0` to allow FastMCP to accept connections from all IP addresses.\n- `GOOGLE_ADS_LOGIN_CUSTOMER_ID`: Required if your access to the customer account is through a manager account. Set it to the customer ID of the manager account. See [Login Customer Id](#login-customer-id) above for details.\n\n```shell\ngcloud run deploy google-ads-mcp \\\n  --image us-central1-docker.pkg.dev\u002FYOUR_PROJECT_ID\u002Fmcp-servers\u002Fgoogle-ads-mcp:latest \\\n  --platform managed \\\n  --region us-central1 \\\n  --allow-unauthenticated \\\n  --set-env-vars=\"GOOGLE_PROJECT_ID=YOUR_PROJECT_ID,GOOGLE_ADS_MCP_OAUTH_CLIENT_ID=YOUR_CLIENT_ID,GOOGLE_ADS_MCP_OAUTH_CLIENT_SECRET=YOUR_CLIENT_SECRET,GOOGLE_ADS_MCP_BASE_URL=YOUR_BASE_URL,GOOGLE_ADS_MCP_JWT_SIGNING_KEY=YOUR_JWT_SIGNING_KEY,GOOGLE_ADS_MCP_STORAGE_TYPE=firestore,FASTMCP_HOST=0.0.0.0\"\n```\n\n### Step 3: Configure MCP Client\n\nOnce deployed, update your MCP client configuration (refer to the docs at [https:\u002F\u002Fantigravity.google\u002Fdocs\u002Fmcp](https:\u002F\u002Fantigravity.google\u002Fdocs\u002Fmcp)) to use the Cloud Run URL.\n\n```json\n{\n  \"mcpServers\": {\n    \"google-ads-mcp\": {\n      \"httpUrl\": \"https:\u002F\u002Fyour-cloud-run-url.a.run.app\u002Fmcp\"\n    }\n  }\n}\n```\n\n## Try it out\n\nLaunch your MCP client. You should see `google-ads-mcp` listed in the\navailable servers.\n\nHere are some sample prompts to get you started:\n\n- Ask what the server can do:\n\n  ```\n  what can the ads-mcp server do?\n  ```\n\n- Ask about customers:\n\n  ```\n  what customers do I have access to?\n  ```\n\n- Ask about campaigns \n\n  ```\n  How many active campaigns do I have?\n  ```\n\n  ```\n  How is my campaign performance this week?\n  ```\n\n### Note about Customer ID\n\nYour agent will need and ask for a customer id for most prompts. If you are \nmoving between multiple customers, including the customer ID in the prompt may\nbe simpler.\n\n```\nHow many active campaigns do I have for customer id 1234567890\n```\n\n## Contributing\n\nContributions welcome! See the [Contributing Guide](CONTRIBUTING.md).\nProject maintainers can find the Trusted Publishing and release procedure in\nthe [release guide](docs\u002Freleasing.md).\n","这是一个为大语言模型（LLM）和AI智能体提供安全访问 Google Ads 平台能力的 MCP（Model Context Protocol）服务端实现。它封装了 Google Ads API 的核心功能，支持账户查询、资源元数据获取、客户列表检索、广告素材创建与视频上传、标签管理等操作，并通过‘提案-确认’双步安全机制保障写操作的可控性。项目采用模块化工具配置（YAML），支持按需启用\u002F禁用功能，适用于广告自动化、AI驱动的营销运营、LLM增强型广告管理等场景。",2,"2026-11-24 04:42:11","trending"]