Try it free
Guide · Google Ads search terms

Google Ads n-gram analysis: find the words that waste spend

A search terms report shows you what people typed. N-gram analysis shows you which words inside those searches cost money and never convert. Here's how to do it properly, including the checks that stop you switching off good traffic.

What n-gram analysis is

An n-gram is a run of n consecutive words. The search "emergency plumber near me" contains four 1-grams (emergency, plumber, near, me), three 2-grams (emergency plumber, plumber near, near me) and two 3-grams (emergency plumber near, plumber near me).

N-gram analysis splits every search term in your report this way, then adds up impressions, clicks, cost and conversions for each n-gram across all the searches it appears in. Instead of 4,000 rows of individual searches you get a list of words and phrases ranked by what they cost you and what they returned.

Why reviewing search terms one at a time misses waste

Most search terms in a report have tiny numbers: one or two clicks, a few dollars, no conversions. Individually none of them looks worth acting on, and with a few thousand rows nobody has time to read them all anyway. So the usual review sorts by cost, fixes the top 20 and stops.

The problem is that waste is usually spread thin. A word like jobs might appear in 40 different searches ("plumber jobs", "plumbing jobs near me", "apprentice plumber jobs"), each spending $3 or $4. None of them reaches the top of a cost-sorted list, but together they're a real line item. N-grams add those fragments up so the pattern is visible, and one negative keyword covers all 40 searches plus the ones that haven't happened yet.

It works the other way too. N-grams show which words reliably convert, which is useful for new keywords, ad copy and landing pages.

Step by step

1. Export the search terms report

  1. In Google Ads, open Insights and reports, then Search terms. You can do this for the whole account or from inside one campaign.
  2. Pick a date range. 60 to 90 days is a sensible start for most accounts; low-volume accounts may need longer to get enough data per word.
  3. Make sure the columns include Search term, Clicks, Cost and Conversions. Campaign, Impressions and Conv. value are worth adding.
  4. Click the download icon and choose .csv.

Two things to keep in mind. First, Google doesn't list every search: some low-volume terms are left out of the report, so its totals will usually be lower than your campaign totals. Second, conversions can be recorded days after the click, so if your range ends yesterday the most recent searches will look worse than they are. Ending the range a week or so back avoids that, or at least keep it in mind.

2. Split the terms and total each n-gram

You can do this with a spreadsheet and some formulas, a script, or a tool like TermSweep, which does it in your browser without uploading the file. Whatever you use, count each n-gram once per search term, then sum the metrics of every search term it appears in.

3. Read 1, 2 and 3-grams differently

A good habit: when a 1-gram looks bad, look at the 2 and 3-grams that contain it before deciding. Use the shortest n-gram that captures the waste without catching the searches that convert.

4. Set thresholds before you start

Without thresholds every n-gram with one unlucky click looks like waste. Two numbers do most of the work:

If you track conversion value rather than conversions, the same idea applies with ROAS: flag n-grams whose return is far below the account's.

5. Apply guardrails, then add negatives

This is where most of the damage is done, so take it slowly.

Then pick a match type. Phrase match negatives are a sensible default for n-grams, since they block any search containing those words in that order. The negative keyword list guide covers match types and how to add lists in Google Ads and Google Ads Editor.

6. Repeat on a schedule

New searches keep arriving. Running the analysis monthly, or every couple of weeks on bigger accounts, catches new patterns before they add up. Keep a note of what you added and when, so you can check later that nothing important dropped off.

A worked example

Here's a made-up local plumbing account to show the process. Over 90 days the search terms report shows $6,000 of spend and 150 conversions, so the account CPA is $40. The minimum spend threshold is set to $40 (one CPA) and the CPA multiple to 2× ($80).

N-gramSearchesCostConv.CPAShare of spendVerdict
plumber1,240$4,310118$36.5372%own keyword
emergency210$1,48052$28.4625%winner
how64$3102$155.005%high CPA
how to51$2620–4%negative
how much13$482$24.001%keep
jobs38$1420–2%negative
job9$310–1%below threshold
diy22$960–2%negative

Figures are invented for illustration. Shares add up to more than 100% because one search contains several n-grams.

Reading it:

Those four negatives cover $531 of the 90 days' spend that produced no conversions. That isn't all saved money, since some of those clicks might have gone to better searches, but it's budget that was clearly going to the wrong people.

TermSweep does the splitting, totals, thresholds and guardrails above on your own report, in your browser. Nothing is uploaded and it doesn't need access to your Google Ads account.

Run it on your report free

Common mistakes

This guide is about Search campaigns. Performance Max and Shopping campaigns report search terms and handle negatives differently, so check what's currently available for those before applying the same process.