Google Ads Search Terms Audit Skill

Audit every search term in your Google Ads account. This skill labels each term by brand, competitor, duplicate, relevance, intent and performance, ties it to the keyword that triggered it and turns the findings into negatives and keyword fixes in dollars. It delivers a live dashboard.

By , Co-founder and CEO, Porter Metrics

Install skill

Setup

Pick the app you use. Every route starts by connecting Porter Metrics, because the skill reads all its data through it.

  1. 1
    Connect Porter Metrics to your AI app: add this MCP server and sign in with Google. It is what lets the skill read the search terms report of your own Google Ads account.
    MCP SERVER URL
    https://mcp.portermetrics.com/mcp
  2. 2
  3. 3
    Open claude.ai or Claude Desktop, go to Customize › Skills, click +, then Upload a skill and pick the zip.
  4. 4
    Ask: Use the Google Ads Search Terms Audit skill to audit the search terms of my Google Ads account [account name] for the last 30 days.

Prompt

Once the skill and Porter Metrics are connected, paste this and replace the company name.

PROMPT
Use the Google Ads Search Terms Audit skill to audit the search terms of my Google Ads account [account name] for the last 30 days.

Example outputs

A run of this skill on a fictional account with sample data, published as a Porter dashboard.

The full skillEverything below is the skill file itself: its summary, its Index and every step. Copy it, download it or read it here.

name: search-terms-audit

  • objective: Break down every Google Ads search term by brand, competitor, duplicate, relevance and opportunity, tied to the keyword and match type that triggered it, sorted by spend, and return the optimizations in dollars.
  • trigger: Ask to audit or clean a Google Ads search terms report, or ask which search terms are branded, competitor, duplicate, irrelevant or an opportunity. To check each keyword’s ad and landing page, use Google Ads Ad Relevance Audit.
  • parameters: The Google Ads account; the period, the last 30 days by default.
  • output: A live Porter Metrics dashboard with the optimizations in dollars, the brand split, the match types and one card per keyword with its search terms, plus the run’s JSON.
  • reference: Banks, the fixed value lists every label comes from. Every step runs through the Porter Metrics MCP (https://mcp.portermetrics.com/mcp) with the user’s own Google Ads account connected.

Index

Item Part Use it when
Connect Porter Metrics Start Starting any run
Workflow Start Checking the steps, what each reads and what each returns
Shared rules Start Applying scope, sorting, math and language rules to every step
Build the context Setup Reading brand, competitors, products, geos and model before any label
Pull the search terms Setup Pulling every search term of the period in one query
Map the keywords Setup Tying each search term to its keyword, match type, ad group and campaign
Label the brand class Labels Labeling brand, competitor and generic, and finding brand and competitor leaks
Judge relevance Labels Judging each search term against its keyword, blind to money
Route duplicates Labels Routing a search term caught by several keywords to one owner
Read the match types Labels Choosing between tightening a keyword and blocking its terms
Find opportunities Labels Grouping terms by intent and naming unmet demand
Judge performance Money Labeling Winning, Watch or Waste against the account’s own CPA
Write the optimizations Money Writing one action per lane, with its terms and dollars
Build the dashboard Finish Building the live Porter Metrics dashboard
Design Finish Styling the dashboard in light and dark
Output Reference Filling the JSON every run returns
Explaining the skill Reference Answering how the skill works
Banks Reference Looking up the fixed value lists used for labeling
Tools Reference Finding the Porter Metrics tool for each job

Connect Porter Metrics

Index ↑

Run this before any other step.

Rule What to do
Check Call the Porter Metrics MCP whoami tool. A reply with an account means the connection works.
Not connected Stop the task and help the user connect: add the MCP server https://mcp.portermetrics.com/mcp to their AI app, sign in with Google, then run the check again.
Google Ads account Call list_accounts with connector google-ads. When it returns no account, help the user connect Google Ads with connect_account, then run it again.
Several accounts List them by name and ask which one to audit; pass the chosen account_id unchanged to every later call.
Resume Continue with Build the context once the check passes.
Porter only Every step runs through the Porter Metrics MCP; the skill needs no browser and no other tool.

Run one agent per step; each step reads the previous step’s output.

Step Agent Reads Returns
Build the context Context agent The account The context block
Pull the search terms Data agent Account, period, context The rows, the period and the coverage block
Map the keywords Data agent The rows One row per search term and keyword, sorted by spend
Labels Five agents in parallel: brand class, relevance, duplicates, match types, opportunity The keyword map and the context Their labels on each row
Judge performance Money agent The keyword map Winning, Watch or Waste per search term
Write the optimizations Synthesis agent Every label and the money The action list in dollars
Build the dashboard Build agent The filled output The Porter Metrics dashboard link

Shared rules

Index ↑

These rules apply to every step.

Rule What to do
Search campaigns Audit Search campaigns, Dynamic Search Ads included: these are the campaigns that tie a search term to a keyword.
Sorted by spend Sort by cost, highest first; every table and card keeps this order.
Math in code Sums, shares, counts and rates run in code; labels come from the agent reading the rows.
Base counts Compute CPA, conversion rate and ROAS from summed cost, clicks, conversions and value; native ratio fields read wrong in totals.
Money apart from meaning A relevant term that loses money keeps its relevance verdict; money and meaning stay in separate columns.
Measured apart from estimated Measured dollars are money already spent; estimated dollars are a forecast, labeled as one and never added to the measured total.
Language Write in the language the user asks for, or the language of the request when they name none. Search terms stay as typed.
Reuse Save the run’s JSON in a run folder named search-terms-audit/[date]/[account]/, and reuse its context on the next run.

Build the context

Index ↑

Build the account context from the account’s own signals before any label.

Field Rule
Brand terms Read the account name, domain and brand campaign keywords; confirm the list with the user.
Competitor terms Read competitor names from the search terms and the category; confirm the list with the user.
Competitor policy Ask the user whether the account bids on competitors or blocks them.
Brand campaigns Read them from campaign names; when the account has none, carry that into the optimizations.
Products Read product lines from campaign names, ad group names and keywords; confirm the edges.
Geos Read the regions served from campaign names and targeting.
Business model Lead generation is judged on CPA, ecommerce on ROAS. Ask the user when the account puts a value on leads.
Refresh Reuse the last run’s context and refresh it when campaigns change.

Pull the search terms

Index ↑

Pull the complete search terms report of the period in one query, sorted by spend.

Rule What to do
Complete Pull every search term of the period with the limit in Tools, following next_cursor until it is absent; read large results from the saved file with code.
One query Ask every field in Tools in one call, so every label reads the same rows.
Search only Filter the campaign advertising channel type to SEARCH.
Coverage Pull spend by campaign type and report the share of spend outside Search as outside the analysis.
Hidden terms Google hides low-volume terms; report campaign spend minus the summed term spend as hidden.
Period Read the resolved date range from the response and carry it to the dashboard header.
Cost Read cost as returned; Porter already converts it to the account currency.
Paid rows Rows with spend carry the money and get every label; rows with impressions and zero spend count for duplicates only.
Empty account When Search spend is near zero or one campaign holds it all, pick another account or period before labeling.

Map the keywords

Index ↑

Tie every search term to the keyword that triggered it.

Field Rule
Row One row per search term, keyword, ad group and campaign.
Keyword The keyword text that triggered the term.
Match type Exact, phrase or broad, from the keyword.
Place The campaign and ad group of the keyword.
Money Cost, impressions, clicks, conversions and conversion value of that row.
Term total Sum the base counts across a term’s rows for every term-level view.
Keyword group Group terms under their keyword; keywords sorted by spend, terms inside each keyword sorted by spend.
Echo Mark the row when the keyword text equals the search term.

The five label steps run in parallel on the keyword map and the context.

Label the brand class

Index ↑

Label each search term with the Search term brand class bank, then check that the right campaign serves every brand and competitor term.

Rule What to do
Label Tag each term Brand, Competitor or Generic with the Search term brand class bank.
Competitor list Start from the account’s own competitor negative lists and conquest lists, then add rivals read in the terms; drop names that are common words.
Brand leak A brand term served by a campaign outside the brand campaigns; the action is a brand negative list on those campaigns.
Competitor leak A competitor term served outside the competitor campaigns, when the account bids on competitors on purpose.
Brand role Report brand spend as defense, kept apart from generic performance.
Split Return spend, clicks, conversions and CPA for brand, competitor and generic.

Judge relevance

Index ↑

Judge each search term against the keyword that triggered it with the Search term relevance bank, reading meaning only.

Rule What to do
Inputs The keyword, its match type, the term and the context, judged blind to cost and conversions.
Grain One verdict per term and keyword pair; a term caught by several keywords carries one verdict per keyword.
Tag Leak shows as Irrelevant on the dashboard; Loose and Misplaced keep the term and fix its routing.
Scope Judge every row with spend; rows with zero spend wait until they spend.
Storage Save each verdict under its search term and keyword together, so the same term under its right keyword keeps Justified.

Route duplicates

Index ↑

Route each search term caught by two or more keyword texts to one owner keyword.

Rule What to do
Trigger Two or more distinct keyword texts serve the same search term.
Pattern Name it: across ad groups of one campaign, across campaigns of one product, or across products.
Intentional copies The same keyword text copied across segment or test campaigns counts as one keyword; leave it.
Geo and language split Campaigns split by region or language keep the shared term; compare keywords inside one region and one language.
Same ad group Two keywords of one ad group catching one term stay as they are.
Owner Pick in order: the right product line, then exact over phrase over broad, then the closest keyword text, then spend.
Fix Add the term as a negative in every other keyword’s ad group; negatives inside test campaigns go to review.
Own keyword When no keyword text equals the term, add the term as an exact keyword under the owner.
Dollars Each row carries its own keyword’s spend; the duplicate dollars are the spend on rows outside the owner keyword.
Harm Describe it as wrong routing and split data: Google runs one auction per search and picks one keyword.

Read the match types

Index ↑

Read every keyword through its match type to choose between tightening the keyword and blocking its terms.

View Rule
Spend share Spend, clicks, conversions and CPA per match type: exact, phrase, broad.
Spread Per keyword: number of search terms, share of spend on Justified terms, share on Loose and Leak terms.
Tighten A keyword with more than half its spend on Loose and Leak terms: move broad to phrase or exact, or split the keyword.
Block A keyword with more than half its spend on Justified terms: add negatives for its few Leak terms.
Promote A Winning term served by a phrase or broad keyword, with no echo keyword: add it as an exact keyword.
Close variants Count the distinct search terms under each exact keyword; many terms under one exact keyword show Google widening it.
Blended conversions When the account counts several primary conversion actions, label match-type efficiency directional.

Find opportunities

Index ↑

Group search terms by intent with the Search term intents bank and name what each underserved intent calls for.

Rule What to do
Intent Tag each term with the first intent in the bank whose words it holds, read in the account’s language.
Signal Clicks with conversions below the account rate on a cost, comparison or informational intent mark the cluster as an opportunity.
New keyword A converting term with no echo keyword, outside Irrelevant: add it as an exact keyword.
Served check Read campaign names and current landing pages, and mark each cluster served or unmet.

Judge performance

Index ↑

Judge each search term’s money against the account’s own CPA with the Search term performance bank.

Rule What to do
Label Tag each term Winning, Waste or Watch with the Search term performance bank.
Benchmark The account CPA, total Search spend over total conversions, or the target CPA the user gives; for ecommerce, the target ROAS.
Floor A term passes the floor when its clicks times the account conversion rate reach one conversion; below it the term is unproven.
Keyword level Apply the same floor to each keyword’s summed rows; a keyword past the floor with CPA above the account CPA, or with zero conversions, is Above CPA. Search terms rarely reach the floor alone, so the keyword shows the waste.

Write the optimizations

Index ↑

Turn every finding into one action that names its search terms, its campaign and its dollars, with each dollar in one lane.

Lane Dollars Basis Action
Keywords above account CPA Keyword spend minus its conversions times the account CPA, for keywords marked Above CPA Measured Cut bids or budget until the keyword’s CPA nears the account CPA.
Irrelevant Spend of Leak pairs Measured Add the terms as negatives, or one phrase negative when a word repeats, naming the good terms it would also block.
Competitor leak Spend of competitor terms served outside competitor campaigns Measured Add the names to the competitor negative list of those campaigns.
Brand leak Spend of brand terms served outside brand campaigns Measured Add a brand negative list to those campaigns.
Misplaced Spend of Misplaced pairs Measured Add the term as a negative where it landed, so the right campaign serves it.
Duplicate Spend of rows outside the owner keyword Measured Add the term as a negative in the ad groups that do not own it.
Tighten Spend of Loose pairs under keywords marked Tighten Measured Change the match type or split the keyword.
Opportunity Clicks of underserved intent terms times account conversion rate times account CPA Estimated Build the page or keyword the intent calls for.
Rule What to do
Lane order A row joins the first lane it fits, in this order: irrelevant, competitor leak, brand leak, misplaced, duplicate, tighten. The keyword lane is counted on its own.
Existing negatives Read the account’s negatives first and list only the ones it lacks.
Competitor policy When the account bids on competitors on purpose, competitor spend inside competitor campaigns is judged on CPA through the keyword lane; name the policy in the action.
Totals The measured total leads; estimated lanes stay apart, marked, with their formula.
Order Measured lanes by dollars, then estimated lanes; each lane names its top terms with their spend.
Read only The skill suggests changes and applies none; the user makes them in Google Ads.

Build the dashboard

Index ↑

Build the output as a live Porter Metrics dashboard where the run’s judgments travel as rules and every number comes from the live query.

Part Rule
Route draft_report_spec with a KPIs section, then publish_report_spec with one custom section uploaded through prepare_upload with purpose report_source.
Live only Every number, tag and lane comes from the query and refreshes with the date control; only titles are fixed text, and explanations sit in tooltips.
Rules, live numbers The custom section carries the run’s rules: brand pattern, brand campaigns, competitor list, competitor campaign marker, language markers and the verdicts by search term and keyword. It queries search terms live and computes every label, lane and dollar in the page.
Not reviewed A row with spend and no stored verdict shows the tag Not reviewed; its spend shows as a total.
Search only Query the campaign type as a dimension and keep Search rows in code.
Row limit A report query returns at most a thousand rows in no set order; read queries with zero-spend rows through useTopRows.
Header Account name and a title with a light lead-in and a semibold payoff; the period sits in the date control.
KPI row Spend, clicks, conversions, CPA and conversion rate, each card with a tinted header.
Splits Two cards side by side: spend by brand class and spend by match type, each row with spend, share of spend, conversions and CPA.
Filter bar All, Branded, Duplicate, Competitor, Irrelevant, Opportunity; it hides rows, and a card when none of its rows are left.
Keyword cards One card per keyword, two per row on desktop, sorted by spend. Header: keyword, match type, action tag, campaign and ad group. Body: each search term with status dot, spend, conversions, CPA and tags. Footer: the keyword total.
Equal heights Every box in a row shares one fixed height; longer content scrolls inside its box and shorter content keeps blank space.
One-line cells Keyword, search term and campaign stay on one line, cut with an ellipsis and shown whole in the tooltip; tags stay in one row.
Insights card Below the cards: the measured total as the headline, then one row per lane with its tag, action, top terms and dollars, marked measured or estimated.
Tags Branded, Competitor, Duplicate, Irrelevant, Misplaced, Opportunity, Review, Not reviewed; a term that needs no action stays untagged.
States Each section shows loading, empty and error states; an error breaks only its own section, with a retry.
Known gap The live query returns rows with spend only, so a duplicate whose owner keyword has zero spend appears in the run’s JSON and stays off the dashboard.
Check Read the preview image with preview_report and compare each lane with the run’s JSON before handing over.
Return The dashboard link, the period and who it is shared with.

Style the dashboard with the Dashboard design bank, once for light and once for dark, then give each label its family.

Family Labels
Purple Branded
Aqua Opportunity
Pink Irrelevant
Yellow Review, Duplicate
Neutral Competitor, Not reviewed

Every run fills this JSON, and the dashboard reads it.

Block Fields
account name, id, period_from, period_to
coverage search_spend, other_spend_by_type, hidden_spend, terms_count, keywords_count
context brand_terms, competitor_terms, competitor_policy, brand_campaigns, products, geos, model
benchmark cpa, conversion_rate, roas_target
brand_split brand, competitor, generic: spend, clicks, conversions, cpa
match_types exact, phrase, broad: spend, clicks, conversions, cpa, keywords
keywords keyword, match_type, campaign, ad_group, spend, clicks, conversions, cpa, spread, keyword_action, terms
terms (inside each keyword) term, spend, clicks, conversions, cpa, brand_class, brand_leak, relevance, duplicate, owner, intent, performance, tags
optimizations lane, basis, dollars, action, formula, terms
totals measured, total
{
  "account": {"name": "", "id": "", "period_from": "", "period_to": ""},
  "coverage": {"search_spend": 0, "other_spend_by_type": {}, "hidden_spend": 0, "terms_count": 0, "keywords_count": 0},
  "context": {"brand_terms": [], "competitor_terms": [], "competitor_policy": "", "brand_campaigns": [], "products": [], "geos": [], "model": ""},
  "benchmark": {"cpa": 0, "conversion_rate": 0, "roas_target": 0},
  "brand_split": [{"class": "", "spend": 0, "clicks": 0, "conversions": 0, "cpa": 0}],
  "match_types": [{"match_type": "", "spend": 0, "clicks": 0, "conversions": 0, "cpa": 0, "keywords": 0}],
  "keywords": [{
    "keyword": "", "match_type": "", "campaign": "", "ad_group": "",
    "spend": 0, "clicks": 0, "conversions": 0, "cpa": 0,
    "spread": {"terms": 0, "justified_share": 0, "loose_leak_share": 0},
    "keyword_action": "",
    "terms": [{
      "term": "", "spend": 0, "clicks": 0, "conversions": 0, "cpa": 0,
      "brand_class": "", "brand_leak": false, "relevance": "",
      "duplicate": false, "owner": "", "intent": "", "performance": "", "tags": []
    }]
  }],
  "optimizations": [{"lane": "", "basis": "", "dollars": 0, "action": "", "formula": "", "terms": []}],
  "totals": {"measured": 0, "total": 0}
}

Explaining the skill

Index ↑

When the user asks how it works, say it in plain words:

Question Answer
What it does It reads every search that triggered your Google Ads in a period and tells you what each one is and what to do with it.
What it reads The search terms report of your Search campaigns, through Porter Metrics, with the keyword behind each search.
How it labels Each search gets a brand class, a relevance verdict against its keyword, a duplicate check, its match type, its intent and a money verdict.
How it ranks Everything is sorted by spend, so the biggest dollars come first.
What you get A live Porter Metrics dashboard: the optimizations in dollars, the brand split, the match types and one card per keyword with its searches.
Measured and estimated Measured dollars are money already spent; estimated dollars are a forecast and say so.
What it changes Nothing in your account: it suggests the negatives, keywords and match types, and you apply them.
What it leaves out Performance Max, Demand Gen and Shopping hide the keyword behind a search; their spend shows as outside the analysis.

Porter Metrics MCP tools. Actions run through execute_action, or read_action for read-only ones.

Use Tool Parameters
Connection check whoami none
Account list_accounts connector google-ads; query the account name; pass the returned account_id unchanged to every later call
Connect Google Ads connect_account connector google-ads; only when list_accounts returns none
Search terms query_data metrics google_ads_cost_micros, google_ads_impressions, google_ads_clicks, google_ads_conversions, google_ads_conversions_value; dimensions google_ads_search_term, google_ads_keyword_info_text, google_ads_keyword_info_match_type, google_ads_campaign_name, google_ads_ad_group_name; filter google_ads_campaign_advertising_channel_type eq SEARCH; order by google_ads_cost_micros desc; limit 5000; date_range preset or from and to; follow next_cursor until it is absent
Coverage query_data metrics google_ads_cost_micros, google_ads_clicks, google_ads_conversions; dimensions google_ads_campaign_name, google_ads_campaign_advertising_channel_type; same period
Existing negatives google_ads.keyword_list customer_id (and login-customer-id under a manager account) from the account; a GAQL query on campaign_criterion, ad_group_criterion and shared_criterion where negative is true, plus campaign_shared_set for the lists each campaign uses
Quick first read google_ads_analysis.search_term_insights brand_terms, competitor_terms, target_cpa or roas_breakeven, date_range; a cross-check only, the skill’s own steps decide labels and lanes
Dashboard draft_report_spec, prepare_upload purpose report_source, publish_report_spec As set in Build the dashboard
Dashboard check preview_report the report id
Large results Saved file The MCP saves big results to a file; read it with code.
Period date_range_resolved Read it from every response and carry it to the output.

FAQ

Yes. The skill is free to copy, download and change. It reads data through the Porter Metrics MCP, which you can connect for free.

Yes. Every step reads or publishes data through the Porter Metrics MCP. Without it the skill stops at its first step, Connect Porter Metrics, and walks you through connecting.

No. It only reads your account. It suggests negatives, new exact keywords and match type changes, and you decide which to apply.

Search campaigns, Dynamic Search Ads included. Performance Max, Demand Gen and Shopping hide the keyword behind each search, so their spend shows as outside the analysis.

Measured dollars are spend that already went to the problem terms, such as irrelevant searches or brand terms in the wrong campaign. Opportunity dollars are an estimate from your own conversion rate and CPA, and the dashboard keeps them apart.

Claude (web, desktop and Claude Code), ChatGPT, Codex, Cursor and any app that reads skill files or lets you paste instructions, as long as the Porter Metrics MCP is connected there.

The skill is free. The Porter connection is free.

Start free