google-ads-api-account-diagnostics
Skill này làm gì
Skill này điều tra một tài khoản Google Ads bằng các truy vấn dữ liệu trực tiếp để giải thích việc mất chuyển đổi, số lượng khách hàng tiềm năng thấp và thị phần hiển thị bị bỏ lỡ. Dành cho nhà quảng cáo và agency xử lý sự sụt giảm đột ngột.
Khi nào nên dùng
- ✓Khi chuyển đổi hoặc số lượng khách hàng tiềm năng giảm đột ngột và bạn cần nguyên nhân.
- ✓Khi chiến dịch của bạn thiếu lượt hiển thị vì giá thầu hoặc ngân sách.
- ✓Khi bạn muốn kiểm tra các chỉ số thị phần hiển thị cho một chiến dịch.
Liên kết skill
https://github.com/google/skills/blob/main/skills/ads/google-ads-api-account-diagnostics/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Chuyển đổi Google Ads của tôi giảm mạnh trong tuần này. Tìm hiểu vì sao bằng dữ liệu tài khoản của tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill kiểm tra các công cụ Google Ads có sẵn, xác định các tài khoản khách hàng bạn truy cập được, rồi chạy các truy vấn có mục tiêu và đọc kết quả về giới hạn giá thầu, ngân sách và thứ hạng quảng cáo.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Google Ads API Account Performance Diagnostics Skill
This skill provides instructions on how to use the Google Ads MCP server tools to diagnose common account performance issues.
Workflows
Pre-Flight Tool Verification
Before starting any diagnostic task, verify whether the Google Ads MCP Server tools (search, list_accessible_customers, get_resource_metadata — these may be exposed with a server prefix, e.g. customers_list_accessible_customers) are available in the runtime environment:
- If MCP tools are available: Proceed with live diagnostics — first identify active client accounts, then run GAQL via the
searchtool (argumentscustomer_idandquery). - If MCP tools are missing: Follow Fallback When MCP Tools Are Unavailable.
Identifying Active Client Accounts
Most diagnostics tasks require sending GAQL queries to a specific customer account. If the customer ID is not explicitly provided by the user, you must first call the list_accessible_customers (or customers_list_accessible_customers) tool to retrieve the customer resource names/IDs you have access to.
Once you have the list of accessible customer IDs, query the customer_client resource using the search tool under those customer accounts to find active client customer accounts. Make sure to select only enabled client accounts and filter out manager accounts:
SELECT
customer_client.id,
customer_client.descriptive_name,
customer_client.status,
customer_client.manager
FROM customer_client
WHERE customer_client.status = 'ENABLED' AND customer_client.manager = FALSE
Only run subsequent diagnostic queries against the enabled client customer IDs retrieved from this list. Do not query deactivated or manager accounts, as doing so will cause API errors.
Fallback When MCP Tools Are Unavailable
When Google Ads MCP tools (search, list_accessible_customers, get_resource_metadata — these may be exposed with a server prefix, e.g. customers_list_accessible_customers) are not registered in the runtime environment:
- Inform the User: State that live account performance diagnostics require the Google Ads MCP Server.
- Reference Setup Guide: Direct the user to the setup instructions in the google-ads-api-mcp-setup skill to install and configure the Google Ads MCP Server for their assistant environment.
- Provide GAQL Templates, Gotchas, and Remediation Guidance: Formulate and output the complete diagnostic plan for manual execution in the Google Ads Query Builder or via API integration:
- Provide all multi-step GAQL queries for the workflow, including current-vs-prior date window comparisons (e.g. traffic, impression share, conversion breakdowns, or change events).
- Explain all metric conversion and constraint gotchas (
metrics.cost_micros / 1,000,000for currency, impression share reported as decimals or"< 0.10",change_event30-day window andLIMIT 10000withoutmetrics.*, andsuccessful_event_count / total_event_countplusstatusfor upload health). - Outline concrete actionable next steps for each diagnostic branch (e.g., raising campaign budgets when
search_budget_lost_impression_shareis high vs. improving ad quality or bids whensearch_rank_lost_impression_shareis high).
- Do Not Attempt Unauthorized Local Probing: Do not attempt to run shell commands, custom Python scripts, local SQL/database queries, or direct RPC CLI utilities to access account data. These commands lack credentials and API access and will fail.
1. Conversion and Conversion Value Loss
When conversions or conversion value suddenly decline, use the following steps to diagnose the issue.
Steps:
- Discover Fields: Use
get_resource_metadatawith resourcecampaignorad_groupto ensure you have the correct field names. - Query Performance: Use
searchto retrieve performance data.- Resource:
campaignorad_group - Fields: Include
campaign.name,metrics.conversions,metrics.conversions_value,metrics.cost_micros. - Segments: To isolate the loss, include segments like
segments.date,segments.device,segments.conversion_action. - Conditions: Compare the period of decline with a previous period (e.g.,
segments.date >= '{start_date}'). - Gotcha:
metrics.cost_micros
- Resource:
Câu hỏi thường gặp
Nó có thay đổi chiến dịch của tôi không?
Không. Nó chẩn đoán hiệu suất và không dành cho việc thiết lập hoặc thay đổi chiến dịch.
Nếu các công cụ Google Ads chưa được kết nối thì sao?
Nó có một đường dự phòng cho trường hợp đó, như được nêu trong hướng dẫn của nó.
Nó chọn tài khoản nào để kiểm tra?
Nếu bạn không nêu tên, trước tiên nó liệt kê các tài khoản bạn truy cập được.
Chi tiết
Mô tả gốc của tác giả
Diagnoses Google Ads account performance issues such as conversion loss (value or volume), low lead flow/volume, and lost impression share (opportunities) due to ad rank, bids, or budgets. Use when troubleshooting sudden performance drops, analyzing campaign impression share metrics, investigating low lead flow, or searching for bidding and budget constraints. Don't use for setting up new campaigns, uploading conversion events directly, or general Google Mobile Ads SDK integration issues (use gma-android-integrate instead).
repo: google/skills
Độ phổ biến
- Sao GitHub
- 22k
- Vị trí xếp hạng
- #10185
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
finding-google-skills
22kGiúp agent của bạn tìm hướng dẫn Google phù hợp cho việc thiết lập, như hosting, cơ sở dữ liệu, lưu trữ, đăng nhập hoặc phục vụ mô hình AI.
gcloud
22kGiúp agent của bạn viết và kiểm tra các lệnh gcloud của Google Cloud, tra cứu cú pháp chính xác trước khi chạy bất cứ thứ gì để không đoán các flag.
google-cloud-recipe-auth
22kHướng dẫn agent của bạn qua quản lý danh tính và quyền truy cập của Google Cloud, gồm cách con người và dịch vụ đăng nhập và những quyền họ nhận được.
google-cloud-recipe-onboarding
22kHướng dẫn một lập trình viên mới qua các bước đầu tiên trên Google Cloud, gồm chọn dự án, liên kết thanh toán và triển khai tài nguyên đầu tiên.
Skill tương tự
xurl
394kGiúp agent của bạn đăng, trả lời, tìm kiếm và đọc trên X, gửi tin nhắn riêng và tải lên phương tiện, bằng công cụ xurl đã xác thực.
connections-optimizer
280kCải thiện các kết nối trên mạng xã hội của bạn. Gợi ý ai nên theo dõi hoặc bỏ theo dõi và giúp soạn tin nhắn cá nhân hóa để mở rộng mạng lưới.
content-engine
280kTạo nội dung cho nhiều nền tảng khác nhau. Giúp soạn bài đăng, kịch bản và lịch nội dung phù hợp với các mạng như X, LinkedIn và YouTube.