google-ads-api-account-diagnostics
What it does
It investigates a Google Ads account with live data queries to explain conversion loss, low lead volume, and missed impression share. It is for advertisers and agencies troubleshooting sudden drops.
When to use it
- ✓When conversions or lead volume dropped suddenly and you need the cause.
- ✓When your campaigns are missing impressions because of bids or budgets.
- ✓When you want to check impression share metrics for a campaign.
Skill link
https://github.com/google/skills/blob/main/skills/ads/google-ads-api-account-diagnostics/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“My Google Ads conversions dropped sharply this week. Find out why using my account data.”
5 new skills a week. 1 minute to read.
How it works
It checks that the Google Ads tools are available, identifies the client accounts you can access, then runs targeted queries and reads the results for bid, budget, and ad rank limits.
Technical content (original SKILL.md)
Original text by the author, straight from 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:
- 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:
FAQ
Does it change my campaigns?
No. It diagnoses performance and is not for setting up or changing campaigns.
What if the Google Ads tools are not connected?
It has a fallback path for that case, as set out in its instructions.
How does it pick which account to check?
If you do not name one, it first lists the accounts you can access.
Details
Original description by the author
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
Popularity
- GitHub stars
- 22k
- Ranking position
- #10185
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
finding-google-skills
22kHelps your agent find the right Google guides for a setup task, such as hosting, databases, storage, sign-in or AI model serving.
gcloud
22kHelps your agent write and check Google Cloud gcloud commands, looking up exact syntax before it runs anything so it does not guess flags.
google-cloud-recipe-auth
22kGuides your agent through Google Cloud identity and access, including how people and services sign in and which permissions they get.
google-cloud-recipe-onboarding
22kWalks a new developer through first steps on Google Cloud, including choosing a project, linking billing, and deploying a first resource.
Similar skills
xurl
394kHelps your agent post, reply, search, and read on X, send direct messages, and upload media, using the authenticated xurl tool.
connections-optimizer
280kImproves your social network connections. It suggests who to follow or unfollow and helps create personalized messages to expand your network.
content-engine
280kCreates content for different platforms. It helps produce posts, scripts, and content calendars that work well on networks like X, LinkedIn, and YouTube.