Kiến trúc · Theo mã nguồn googleads/google-ads-mcp v0.0.4 · 2026-10-08
Máy chủ MCP chính thức của Google Ads là mã nguồn mở, bạn tự chạy, và hôm nay chỉ đọc: ba tool để liệt kê tài khoản, truy vấn GAQL và tra cứu metadata. AI đọc hết dữ liệu của MCC rồi đề xuất; mọi thay đổi bid, ngân sách, chiến dịch vẫn do người thực hiện trong giao diện Google Ads.
Architecture · From the googleads/google-ads-mcp source, v0.0.4 · 2026-10-08
Google's official Google Ads MCP server is open source, self-hosted and read-only today: three tools to list accounts, run GAQL queries and look up metadata. The AI reads everything in the MCC and proposes; every bid, budget or campaign change is still made by a person in the Google Ads UI.
架构 · 依据 googleads/google-ads-mcp v0.0.4 源码 · 2026-10-08
Google Ads 官方 MCP 服务器是开源的,由您自行运行,目前只读:三个工具分别用于列出账户、执行 GAQL 查询和查询元数据。AI 读取 MCC 的全部数据并给出建议;出价、预算、广告系列的任何更改仍由人在 Google Ads 界面中完成。
Architecture · D'après le code source googleads/google-ads-mcp v0.0.4 · 2026-10-08
Le serveur MCP officiel de Google Ads est open source, auto-hébergé et, aujourd'hui, en lecture seule : trois outils pour lister les comptes, exécuter des requêtes GAQL et consulter les métadonnées. L'IA lit toutes les données du MCC et propose ; chaque modification d'enchère, de budget ou de campagne reste faite par une personne dans l'interface Google Ads.
list_accessible_customers: liệt kê các tài khoản mà người đăng nhập có quyền; với MCC là toàn bộ tài khoản UA con.search: agent tự viết truy vấn GAQL (resource, fields, conditions, orderings, limit) và nhận bảng kết quả. Có tham số login_customer_id để đi qua MCC.get_resource_metadata: cho agent tra cứu field, metric, segment hợp lệ trước khi truy vấn, nên ít sai cú pháp.readOnlyHint; máy chủ không có mutate, không có recommender, không có "write proxy".tools_config.yaml, nhưng chưa phát hành (issue #84).recommendation chỉ cho đọc gợi ý của Google.adwords bằng tài khoản Google có quyền trên MCC.GOOGLE_ADS_LOGIN_CUSTOMER_ID = ID của MCC để mọi truy vấn đi qua manager account.pipx run google-ads-mcp trong cấu hình MCP của Claude Desktop/Code; hoặc tự host dạng Streamable HTTP với OAuth proxy khi muốn dùng chung.list_accessible_customers: lists the accounts the signed-in user can reach; for an MCC that covers every child UA account.search: the agent writes its own GAQL (resource, fields, conditions, orderings, limit) and receives a result table. A login_customer_id parameter routes the call through the MCC.get_resource_metadata: lets the agent look up valid fields, metrics and segments before querying, so syntax errors are rare.readOnlyHint; the server has no mutate tools, no recommender, no "write proxy".tools_config.yaml, but it has not shipped (issue #84).recommendation resource only reads Google's own suggestions.adwords scope using a Google account that has access to the MCC.GOOGLE_ADS_LOGIN_CUSTOMER_ID = the MCC ID so every query goes through the manager account.pipx run google-ads-mcp from the Claude Desktop/Code MCP config; or self-host it as Streamable HTTP with the OAuth proxy when it must be shared.list_accessible_customers:列出登录用户有权访问的账户;对 MCC 而言即全部子 UA 账户。search:代理自行编写 GAQL(resource、fields、conditions、orderings、limit)并获得结果表。login_customer_id 参数使调用经由 MCC。get_resource_metadata:让代理在查询前查到合法的字段、指标和维度,减少语法错误。readOnlyHint 标记;服务器没有修改类工具、没有推荐器、没有“写代理”。tools_config.yaml 以可选方式加入写权限,但尚未发布(issue #84)。recommendation 资源只能读取 Google 自己的建议。adwords 范围登录 ADC。GOOGLE_ADS_LOGIN_CUSTOMER_ID 设为 MCC ID,使所有查询经由管理账户。pipx run google-ads-mcp;需要共享时可自托管为带 OAuth 代理的 Streamable HTTP。list_accessible_customers : liste les comptes accessibles à l'utilisateur connecté ; pour un MCC, tous les comptes UA enfants.search : l'agent écrit lui-même le GAQL (resource, fields, conditions, orderings, limit) et reçoit un tableau. Le paramètre login_customer_id fait passer l'appel par le MCC.get_resource_metadata : permet à l'agent de consulter les champs, métriques et segments valides avant d'interroger, d'où peu d'erreurs de syntaxe.readOnlyHint ; le serveur n'a ni outil de modification, ni recommandeur, ni « proxy d'écriture ».tools_config.yaml, mais il n'est pas publié (issue #84).recommendation ne fait que lire les suggestions de Google.adwords depuis un compte Google ayant accès au MCC.GOOGLE_ADS_LOGIN_CUSTOMER_ID = l'ID du MCC pour que chaque requête passe par le compte administrateur.pipx run google-ads-mcp depuis la configuration MCP de Claude Desktop/Code ; ou l'auto-héberger en Streamable HTTP avec le proxy OAuth s'il doit être partagé.