Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

google-ads-api-account-diagnostics

БесплатноБез исполняемых скриптовНе проверен

Diagnoses Google Ads account performance issues such as conversion loss (value or volume), low lead flow/volume, and lost impression share (opportunities) due…

googleот google★ 25 380 звёзд на 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 — exposed with default server prefixes as search_search, customers_list_accessible_customers, and metadata_get_resource_metadata) 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 — exposed with default server prefixes as search_search, customers_list_accessible_customers, and metadata_get_resource_metadata) 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_name set to 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, plus segment fields (segments.date, segments.device, segments.conversion_action) inside fields rather than as a separate segments argument.
    • Conditions: Compare the period of decline with a previous period using a finite date range (e.g., segments.date >= '{start_date}' AND segments.date <= '{end_date}').
    • Gotcha: metrics.cost_micros must be divided by 1,000,000 to get standard currency amounts.
    • Gotcha (conversion action segmentation): In GAQL, metrics.cost_micros cannot be selected when segmenting by segments.conversion_action
Полный SKILL.md на GitHub

Установить google-ads-api-account-diagnostics в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл google-ads-api-account-diagnostics?

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).

Как установить скилл google-ads-api-account-diagnostics?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл google-ads-api-account-diagnostics запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить google-ads-api-account-diagnostics с