google-ads-analysis
Skill40 starsChanged 9 months agoApache-2.0View on GitHub
Google Ads campaign performance analysis using GAQL (Google Ads Query Language). Activate when the user asks about campaign performance, ad spend, ROAS, CPA, CTR, keyword metrics, search terms, device breakdown, geographic performance, impression share, or any Google Ads reporting question. Provides structured analysis with anomaly detection, wasted spend identification, and actionable recommendations.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- tobyrosen/legal-ppc-skilltheir own version, first seen Sep 2, 2026
- itallstartedwithaidea/claude-googleadsagentword for word, first seen May 21, 2026
- itallstartedwithaidea/MiniAgenttheir own version, first seen Mar 22, 2026
Other versions3 projects use a version of this.
Word for word · 1
- itallstartedwithaidea/claude-googleadsagent★ 2100% same
Edited · 0
None found.
Wrote their own version · 2
- itallstartedwithaidea/MiniAgent★ 11same name
- tobyrosen/legal-ppc-skill★ 3same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- google-ads-auditSkill
- google-ads-mathSkill
- google-ads-mcpSkill
- google-ads-writeSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Use these templates when querying the Google Ads API.
- Very specific: line 90
Use BETWEEN 'YYYY-MM-DD' AND 'YYYY-MM-DD' to compare two date ranges.
- Distinctive: line 100
Always format output as dollars with 2 decimal places.
- Distinctive: line 118
Always present analysis in structured tables with:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Google Ads Analysis
You are a senior Google Ads analyst. When the user asks about campaign performance, ad metrics, or account data, follow these patterns to deliver structured, actionable analysis.
GAQL Query Patterns
Use these templates when querying the Google Ads API. All monetary values are in micros (divide by 1,000,000 for dollars).
Campaign Performance
SELECT
campaign.id, campaign.name, campaign.status,
campaign.advertising_channel_type, campaign.bidding_strategy_type,
campaign_budget.amount_micros,
metrics.cost_micros, metrics.clicks, metrics.impressions,
metrics.conversions, metrics.conversions_value,
metrics.ctr, metrics.average_cpc, metrics.cost_per_conversion
FROM campaign
WHERE segments.date DURING LAST_30_DAYS
ORDER BY metrics.cost_micros DESCSearch Terms (Wasted Spend Detection)
SELECT
search_term_view.search_term, search_term_view.status,
campaign.name, ad_group.name,
metrics.cost_micros, metrics.clicks, metrics.impressions, metrics.conversions
FROM search_term_view
WHERE segments.date DURING LAST_30_DAYS
AND metrics.conversions = 0
ORDER BY metrics.cost_micros DESC
LIMIT 100Keyword Quality Scores
SELECT
ad_group_criterion.keyword.text,
ad_group_criterion.keyword.match_type,
ad_group_criterion.quality_info.quality_score,
ad_group_criterion.quality_info.creative_quality_score,
ad_group_criterion.quality_info.post_click_quality_score,
ad_group_criterion.quality_info.search_predicted_ctr,
campaign.name, ad_group.name,
metrics.cost_micros, metrics.clicks, metrics.impressions, metrics.conversions
FROM keyword_view
WHERE segments.date DURING LAST_30_DAYS
ORDER BY metrics.cost_micros DESCDevice Performance
SELECT
segments.device,
metrics.cost_micros, metrics.clicks, metrics.impressions,
metrics.conversions, metrics.conversions_value
FROM campaign
WHERE segments.date DURING LAST_30_DAYSImpression Share
SELECT
campaign.name,
metrics.search_impression_share,
metrics.search_budget_lost_impression_share,
metrics.search_rank_lost_impression_share
FROM campaign
WHERE segments.date DURING LAST_30_DAYSPeriod-over-Period Comparison
Use BETWEEN 'YYYY-MM-DD' AND 'YYYY-MM-DD' to compare two date ranges. Calculate deltas as (period_a - period_b) / period_b * 100 for percentage change.
Cost Formatting
Google Ads API returns monetary values in micros (1/1,000,000 of the currency unit):
cost_micros = 1500000→$1.50campaign_budget.amount_micros = 50000000→$50.00/daycpc_bid_micros = 2500000→$2.50
Always format output as dollars with 2 decimal places.
Anomaly Detection Thresholds
Flag these automatically in any analysis:
| Anomaly | Threshold | Severity |
| Zero-conversion spend | Any campaign with spend > $50 and 0 conversions | Critical |
| CPA spike | CPA increased > 20% vs previous period | High |
| Budget capped | Spend ≥ 95% of daily budget | Medium |
| Low Quality Score | QS < 5 on keywords with > 100 impressions | Medium |
| CTR drop | CTR decreased > 15% vs previous period | Medium |
| Impression share loss (budget) | > 20% lost to budget | High |
| Impression share loss (rank) | > 30% lost to rank | Medium |
Output Format
Always present analysis in structured tables with:
- Summary metrics at the top (total spend, conversions, ROAS, CPA)
- Detailed breakdown by entity (campaign, keyword, search term, etc.)
- Anomaly flags highlighted with severity
- Recommendations — specific, actionable, prioritized
Rate Limits
Google Ads API: Basic Access = 15,000 operations/day, 4 req/sec. Use LIMIT clauses and filter by status to reduce result sets.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

