Diagnoses and improves Google Ads Quality Score by analyzing eCTR, Ad Relevance, and Landing Page Experience. Tracks historical trends and prioritizes keywords by spend for maximum CPC savings.
Ships in all-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Part of Agent Skills™ by googleadsagent.ai™
The Quality Score Optimization skill provides a systematic framework for diagnosing, tracking, and improving Quality Score across every keyword in a Google Ads account. Quality Score is Google's 1-10 rating of the overall relevance and quality of your keywords, ads, and landing pages. It directly impacts ad rank, cost-per-click, and whether your ads show at all. A one-point Quality Score improvement can reduce CPCs by 10-15%.
The skill decomposes Quality Score into its three sub-components — Expected Click-Through Rate (eCTR), Ad Relevance, and Landing Page Experience — and provides targeted improvement strategies for each. It goes beyond the current snapshot by tracking historical Quality Score trends at the keyword level, identifying score degradation patterns, and correlating changes with account modifications. This longitudinal analysis reveals the root causes behind score fluctuations.
The optimization engine prioritizes improvement efforts by weighting keywords by spend volume. A Quality Score improvement on a keyword consuming $1,000/day has far greater impact than the same improvement on a $5/day keyword. The skill generates impact-ranked improvement plans, estimates CPC savings, and tracks improvement progress against benchmarks specific to each industry vertical.
flowchart TD
A[Google Ads API:\nKeyword Quality Data] --> B[QS Data Extraction]
B --> C[Current QS Snapshot]
B --> D[Historical QS Tracking]
B --> E[Sub-Component Breakdown]
E --> F[Expected CTR Analysis]
E --> G[Ad Relevance Analysis]
E --> H[Landing Page Experience Analysis]
F --> I[CTR Improvement Engine]
I --> I1[Ad Copy Testing]
I --> I2[Ad Extension Optimization]
I --> I3[Audience Refinement]
G --> J[Relevance Improvement Engine]
J --> J1[Keyword-Ad Alignment]
J --> J2[Ad Group Restructuring]
J --> J3[DKI Opportunities]
H --> K[Landing Page Improvement Engine]
K --> K1[Page Speed Optimization]
K --> K2[Content Relevance Matching]
K --> K3[Mobile Experience Audit]
I1 --> L[Spend-Weighted Priority Ranker]
I2 --> L
I3 --> L
J1 --> L
J2 --> L
J3 --> L
K1 --> L
K2 --> L
K3 --> L
L --> M[QS Improvement Plan]
M --> N[Estimated CPC Savings]
M --> O[Implementation Roadmap]
M --> P[Progress Tracking Dashboard]
Quality Score extraction and analysis engine:
async function analyzeQualityScores(customerId) {
const keywordData = await getKeywordQualityData(customerId);
const analysis = keywordData.map(kw => ({
keyword: kw.text,
matchType: kw.matchType,
qualityScore: kw.qualityScore,
expectedCtr: kw.expectedCtr,
adRelevance: kw.adRelevance,
landingPageExperience: kw.landingPageExperience,
monthlySpend: kw.costMicros / 1_000_000,
impressions: kw.impressions,
weightedImpact: calculateWeightedImpact(kw)
}));
return {
distribution: buildQSDistribution(analysis),
bottomKeywords: analysis.filter(kw => kw.qualityScore <= 5)
.sort((a, b) => b.weightedImpact - a.weightedImpact),
componentBreakdown: analyzeComponents(analysis),
estimatedSavings: estimateCPCSavings(analysis),
improvementPlan: generateImprovementPlan(analysis)
};
}
function calculateWeightedImpact(keyword) {
const spendWeight = keyword.costMicros / 1_000_000;
const qsDeficit = 10 - keyword.qualityScore;
const cpcSavingsPerPoint = keyword.avgCpc * 0.12;
return spendWeight * qsDeficit * cpcSavingsPerPoint;
}
function analyzeComponents(keywords) {
const components = { expectedCtr: [], adRelevance: [], landingPageExperience: [] };
for (const kw of keywords) {
if (kw.expectedCtr === 'BELOW_AVERAGE') components.expectedCtr.push(kw);
if (kw.adRelevance === 'BELOW_AVERAGE') components.adRelevance.push(kw);
if (kw.landingPageExperience === 'BELOW_AVERAGE') components.landingPageExperience.push(kw);
}
return {
expectedCtr: {
belowAverage: components.expectedCtr,
totalSpendAffected: sumSpend(components.expectedCtr),
strategies: [
'Test new ad copy with stronger CTAs and benefit statements',
'Add sitelink and callout extensions to increase ad real estate',
'Refine audience targeting to reach higher-intent users',
'Use ad customizers for time-sensitive or location-specific messaging'
]
},
adRelevance: {
belowAverage: components.adRelevance,
totalSpendAffected: sumSpend(components.adRelevance),
strategies: [
'Restructure ad groups to tighter keyword themes (max 15-20 keywords)',
'Include exact keyword text in at least 2 headlines per RSA',
'Use dynamic keyword insertion where natural',
'Create SKAGs for highest-spend keywords with persistent relevance issues'
]
},
landingPageExperience: {
belowAverage: components.landingPageExperience,
totalSpendAffected: sumSpend(components.landingPageExperience),
strategies: [
'Improve page load speed (target under 3 seconds on mobile)',
'Ensure keyword-relevant content appears above the fold',
'Add trust signals: reviews, certifications, security badges',
'Optimize mobile layout with clear CTA and minimal form fields'
]
}
};
}
Historical Quality Score tracking:
async function trackQualityScoreHistory(customerId, keyword, days = 180) {
const snapshots = await getHistoricalQSSnapshots(customerId, keyword, days);
return {
trend: calculateTrend(snapshots),
changePoints: detectChangePoints(snapshots),
correlations: correlateWithAccountChanges(snapshots, customerId),
forecast: forecastQS(snapshots, 30)
};
}
function estimateCPCSavings(keywords) {
let totalMonthlySavings = 0;
for (const kw of keywords) {
if (kw.qualityScore < 7) {
const targetQS = Math.min(kw.qualityScore + 2, 10);
const qsImprovement = targetQS - kw.qualityScore;
const cpcReduction = qsImprovement * 0.12;
const monthlySavings = kw.monthlySpend * cpcReduction;
totalMonthlySavings += monthlySavings;
}
}
return { estimatedMonthlySavings: totalMonthlySavings, annualized: totalMonthlySavings * 12 };
}
Quality Score Optimization is a persistent monitoring layer in Buddy™ Agent. The platform takes daily Quality Score snapshots for all active keywords, building the longitudinal dataset needed for trend analysis and change-point detection. When Buddy™ detects a Quality Score drop on a high-spend keyword, it immediately triggers an investigation workflow.
Buddy™ routes Quality Score findings to the appropriate downstream skill: eCTR issues trigger the Ad Copy Generation skill, ad relevance issues trigger keyword restructuring recommendations, and landing page issues trigger the Landing Page Audit skill. This creates an automated quality improvement loop.
The Buddy™ dashboard displays a real-time Quality Score health indicator for the account, weighted by spend, showing the account-level QS trajectory alongside estimated CPC savings achieved through improvements over time.
| Platform | Supported |
|---|---|
| Claude Code | ✅ |
| Cursor | ✅ |
| Codex | ✅ |
| Gemini | ✅ |
quality score, QS optimization, expected CTR, ad relevance, landing page experience, google ads quality score, CPC reduction, ad rank improvement, quality score tracking, keyword quality, quality score components, quality score history, quality score improvement
© 2026 googleadsagent.ai™ | Agent Skills™ | MIT License
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/all-skills:quality-score-optimizationfrom all-skills
npx claudepluginhub itallstartedwithaidea/agent-skills --plugin all-skills73 skills in this plugin
/ad-copy-generationThe Ad Copy Generation skill produces high-performance responsive search ad (RSA) copy using AI-driven generation pipelines calibrated against millions of ad performance data points./adversarial-resilienceAdversarial Resilience is the practice of hardening AI agents against deliberate attacks — prompt injection, data exfiltration, sandbox escape, and unauthorized capability escalation./agent-instinct-systemThe Agent Instinct System implements pre-cognitive reflexes — automatic safety checks and validations that fire before every code change, tool call, or output generation./agent-security-scanningAgent Security Scanning detects vulnerabilities in AI-generated code before it reaches production./ai-chat-studioAI Chat Studio provides a multi-LLM chat orchestration framework with 300+ assistant presets, intelligent model routing, and conversation management./anthropic-tool-masteryAnthropic Tool Mastery is the definitive skill for leveraging Claude's native tool_use capability to its fullest potential.2 plugins ship this exact skill · first indexed Jul 18, 2026