agentleFS
itallstartedwithaideaitallstartedwithaidea/google-ads-skills/skills/google-ads-analysis/SKILL.md

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

  • Other versions3 projects use a version of this.

    Word for word · 1

    1. itallstartedwithaidea/claude-googleadsagent★ 2100% same

    Edited · 0

    None found.

    Wrote their own version · 2

    1. itallstartedwithaidea/MiniAgent★ 11same name
    2. 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.

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
  1. Distinctive:

    Use these templates when querying the Google Ads API.

    line 17
  2. Very specific:

    Use BETWEEN 'YYYY-MM-DD' AND 'YYYY-MM-DD' to compare two date ranges.

    line 90
  3. Distinctive:

    Always format output as dollars with 2 decimal places.

    line 100
  4. Distinctive:

    Always present analysis in structured tables with:

    line 118

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 DESC

Search 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 100

Keyword 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 DESC

Device Performance

SELECT
  segments.device,
  metrics.cost_micros, metrics.clicks, metrics.impressions,
  metrics.conversions, metrics.conversions_value
FROM campaign
WHERE segments.date DURING LAST_30_DAYS

Impression 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_DAYS

Period-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.50
  • campaign_budget.amount_micros = 50000000 → $50.00/day
  • cpc_bid_micros = 2500000 → $2.50

Always format output as dollars with 2 decimal places.

Anomaly Detection Thresholds

Flag these automatically in any analysis:

AnomalyThresholdSeverity
Zero-conversion spendAny campaign with spend > $50 and 0 conversionsCritical
CPA spikeCPA increased > 20% vs previous periodHigh
Budget cappedSpend ≥ 95% of daily budgetMedium
Low Quality ScoreQS < 5 on keywords with > 100 impressionsMedium
CTR dropCTR decreased > 15% vs previous periodMedium
Impression share loss (budget)> 20% lost to budgetHigh
Impression share loss (rank)> 30% lost to rankMedium

Output Format

Always present analysis in structured tables with:

  1. Summary metrics at the top (total spend, conversions, ROAS, CPA)
  2. Detailed breakdown by entity (campaign, keyword, search term, etc.)
  3. Anomaly flags highlighted with severity
  4. 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.