跳到正文
Skillpedia
社交媒体22k · #10185

google-ads-api-account-diagnostics

它能做什么

它会通过实时数据查询调查你的 Google Ads 账户,解释转化损失、潜在客户数量偏低以及错失的展示份额。适合遇到效果突然下滑、需要排查的广告主和代理机构。

适用场景

  • ✓当转化或潜在客户数量突然下降,你需要找出原因时。
  • ✓当你的广告因出价或预算而缺少展示时。
  • ✓当你想检查某个广告系列的展示份额指标时。

技能链接

https://github.com/google/skills/blob/main/skills/ads/google-ads-api-account-diagnostics/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/google/skills/blob/main/skills/ads/google-ads-api-account-diagnostics/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我的 Google Ads 转化本周大幅下降。请根据我的账户数据查明原因。”

每周 5 个新技能,1 分钟读完。

工作原理

它会先检查 Google Ads 工具是否可用,确认你可以访问的客户账户,然后运行有针对性的查询,并阅读出价、预算和广告排名限制的相关结果。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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:

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:

  1. Inform the User: State that live account performance diagnostics require the Google Ads MCP Server.
  2. 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.
  3. 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,000 for currency, impression share reported as decimals or "< 0.10", change_event 30-day window and LIMIT 10000 without metrics.*, and successful_event_count / total_event_count plus status for upload health).
    • Outline concrete actionable next steps for each diagnostic branch (e.g., raising campaign budgets when search_budget_lost_impression_share is high vs. improving ad quality or bids when search_rank_lost_impression_share is high).
  4. 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:

  1. Discover Fields: Use get_resource_metadata with resource campaign or ad_group to ensure you have the correct field names.
  2. Query Performance: Use search to retrieve performance data.
    • Resource: campaign or ad_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
常见问题

它会更改我的广告系列吗?

不会。它只诊断效果问题,不负责设置或修改广告系列。

如果 Google Ads 工具没有连接怎么办?

它有针对这种情况的备用路径,具体见其说明。

它如何选择要检查的账户?

如果你没有指定,它会先列出你可以访问的账户。

详情

作者的原始描述

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

热度

GitHub 星标
22k
排名
#10185
许可证
Apache-2.0
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能