Amazon seller advice
Daily seller insight

N-gram analysis for Amazon PPC: find wasted spend fast

Learn how n-gram analysis turns your Amazon search term report into negative keywords, bid cuts and listing fixes, with a UK worked example and a routine.

N-gram analysis for Amazon PPC: find wasted spend fast

Seller analysing Amazon PPC search terms

N-gram analysis breaks every customer search term in your Sponsored Products and Sponsored Brands reports into one-, two- and three-word chunks, then adds up spend, clicks and orders for each chunk. Instead of reading thousands of individual search terms, you see that “glass” or “kids” has cost you money across dozens of different searches. It is one of the quickest ways to find wasted ad spend, and it is a routine you can run every month. Done by hand it means exports and spreadsheets, which is where most part-time and new sellers stall. That is the problem our PPC tools are built to take off your hands.

TL;DR

  • An n-gram is a run of one word (unigram), two words (bigram) or three words (trigram) taken from a search term. Grouping by n-gram shows patterns that single search terms hide.
  • Export 60 to 90 days of search term data, split it, total spend, clicks and orders per n-gram, then sort by spend.
  • Decide on relevance first and profitability second: irrelevant and expensive means a negative phrase, relevant and expensive means a lower bid or a listing fix.
  • N-gram rows overlap, so check which converting search terms a negative would also block before you add it.
  • Re-run the analysis after launches and big bid changes, and at least quarterly.

Table of Contents

What n-gram analysis tells you about your search term data

The search term report lists what shoppers actually typed before clicking your ad. For a busy account that is thousands of rows, most with one or two clicks. Each row on its own is too thin to act on: one click and no order tells you almost nothing.

N-gram analysis fixes the sample size problem by pooling. Take the search term “insulated steel water bottle 1 litre”. It contains these chunks:

Type Examples from that term
Unigrams (1 word) insulated, steel, water, bottle, litre
Bigrams (2 words) insulated steel, steel water, water bottle, bottle 1
Trigrams (3 words) insulated steel water, steel water bottle, water bottle 1

Do the same for every search term, then add up the numbers. If “glass” appears inside 14 different search terms and none has produced an order, you now have a sizeable pool of clicks to judge instead of 14 rows of one or two clicks each.

This works for the readers most likely to be searching for it:

  • Larger sellers with thousands of search terms get a way to prioritise.
  • Newer and part-time sellers with little data per term get a way to pool what they have.
  • Anyone worried about profit can see which word patterns are quietly consuming margin.

What you need before you start

You need the search term report for your advertising. In Seller Central or the Amazon Ads console you create a report, choose the campaign type, pick Search Term as the report type, and choose a summary or daily view. A few details shape what you can analyse:

  • The report only lists search terms that earned at least one click, so you never see impressions that did not click. Ecom Enable’s broad-match guide also notes that product-page placements without a keyword appear as an asterisk and that there is no Sponsored Display search term report.
  • The lookback is limited. Amazon’s search term data goes back 65 days for Sponsored Products, so export regularly instead of waiting until you need it.
  • Sales are attributed within a window, so orders that land after the window do not appear against the click.

Export 60 to 90 days if you can. Shorter periods leave too few clicks per n-gram, and much longer ones mix in seasonality and old listings. If you run both Sponsored Products and Sponsored Brands, export both, because the same wasted words often show up in each.

How to run an n-gram analysis, step by step

1. Clean the export

Remove rows that would distort the totals: your own brand terms (they convert well and mask the rest), ASIN product-targeting rows (they are not typed words), and duplicates from overlapping date ranges. Keep a copy of the raw file.

Where it goes wrong: leaving brand terms in. A strong brand term makes every n-gram that contains your brand name look profitable.

2. Split terms into unigrams, bigrams and trigrams

Lower-case everything, strip punctuation, and generate every one-, two- and three-word chunk from each search term. Decide whether to drop filler words such as “for” and “with”; most sellers drop them from unigrams but keep them in phrases where they carry meaning (“for men”, “for kids”).

Where it goes wrong: doing this by hand. A single 20,000-row export becomes well over 100,000 chunk rows, which is why most people give up after the first month.

3. Total the metrics per n-gram

For each chunk, add up the number of search terms that contain it, impressions if you want them, clicks, spend, orders and sales. Then work out conversion rate and ACoS (advertising cost of sale: ad spend divided by ad sales).

Where it goes wrong: treating the totals as additive. N-gram rows overlap. In a UK worked example, “insulated bottle” and “water bottle 1l” share search terms, so the rows will never add up to your account total. Judge each n-gram on its own.

4. Sort by spend

Start with the highest spend and work down. A common rule of thumb is that most wasted spend sits in a small number of irrelevant patterns, so the top of the list is where an hour of work pays back. You do not need to review every chunk.

5. Set a click threshold

Decide how many clicks an n-gram needs before you judge it. A sensible starting point is the number of clicks that would cost you roughly your product’s break-even profit per order, or the clicks you would expect to need for a couple of orders at your usual conversion rate. Below that, you are guessing.

6. Drill into the search terms behind each candidate

Before negating anything, open the individual search terms behind the chunk. If “pink” appears in 8 clicks and no orders, the sample is too small to condemn it. If “kids” sits behind 22 different search terms with a 98% ACoS, you can see the pattern is real.

7. Add negatives, then monitor

Add negative phrase or negative exact keywords, then watch ACoS and sales for two to four weeks. If orders drop, you blocked something that was converting: remove the negative and tighten it.

A worked UK example

A published UK example uses a 1-litre insulated steel water bottle priced at £24, with a 40% break-even ACoS and a review threshold of 17 clicks or £9.00 spend. The results, from the Ecom Enable negative keyword guide:

N-gram Search terms Clicks Spend Orders Verdict
glass 14 41 £32.80 0 Negative phrase
plastic 9 19 £14.44 0 Negative phrase
kids 22 63 £47.25 2 (98% ACoS) Negate: wrong buyer
pink n/a 8 n/a 0 Leave: too few clicks
insulated bottle n/a 88 £70.40 13 (22.6% ACoS) Keep and promote to exact

The lesson sits in “pink”. At a 12% conversion rate, eight clicks with no order happens by chance roughly 36% of the time, so the data does not justify a negative. Meanwhile “glass” and “plastic” are plain mismatches: the product is steel. Together those two chunks account for £47.24 of spend with no sales.

Turning results into decisions

Profitability alone is the wrong test. A chunk with a 200% ACoS may mix good and bad search terms, so the first question is whether the chunk is relevant to your product, and the second is whether it is making money. This gives a simple decision grid:

Spend Orders Relevant? Action
High None or few No Add a negative phrase now
High None or few Yes Lower the bid and check the listing
High Good Yes Leave it, or move the best terms to exact match
Low None No Negate if it is easy
Low None Yes Ignore until it has more data

Negative phrase or negative exact?

A negative phrase blocks any search containing those words in order. One negative on “fashion tank top” would stop “blue fashion tank top” and “fashion tank top for men” together. A negative exact blocks only that precise search. Use phrase for patterns that are never right for your product, such as “glass” for a steel bottle, and exact when the same words appear in both good and bad searches. Negative phrase allows up to 4 words and negative exact up to 10, each capped at 80 characters, and negatives can take up to 72 hours to take effect, according to Mr Prime’s summary of Amazon’s limits. For a fuller walk-through, see our guide to negative keywords on Amazon.

Negative phrase or negative exact?

When the click was fine and the listing was not

If a relevant n-gram has high spend and no sales, the cause may be the product page, not the keyword: a weak main image, a price out of line with competitors, or a title that does not match what shoppers expect. Fix the listing before you cut the spend around it. In the other direction, winning n-grams are a signal for your copy. If shoppers convert on a word that is missing from your title, bullets or backend search terms, add it, and the listing can earn organic relevance instead of paying for it. Our guides to Amazon listing optimisation and backend keywords cover where each word belongs.

Where to start: account, category, campaign

Run the first analysis at account level to catch the broadest patterns, such as materials, ages or product types you do not sell. Then go to category level for waste specific to a product type, and campaign level for product-specific mismatches. Negatives added at campaign or ad group level only affect that campaign, so match the scope of the negative to the scope of the problem: a word that is wrong everywhere belongs in every campaign.

How often to repeat it

The first pass usually finds the most. After that, re-run the analysis:

  • two to four weeks after a product launch, a new campaign or a large bid change, because these bring new irrelevant traffic;
  • at least once a quarter for stable accounts;
  • monthly if you spend heavily or run broad and phrase match campaigns, where search terms drift furthest from your keywords.

Because search term data only goes back about 65 days, a monthly export means you never lose a stretch of history.

Limits to keep in mind

  • Overlap: the same search term counts toward several n-grams, so you cannot total the rows. Before adding a negative phrase, check which converting search terms it would also block.
  • Thin data: a chunk with a handful of clicks needs time, not a negative.
  • Window effects: recent clicks may not have their orders attributed yet, so avoid judging the last few days.
  • Context: the same word can be wrong in one campaign and right in another.

For a wider health check on your advertising, our Amazon PPC audit guide shows where else money leaks, and the piece on wasted ad spend and break-even ACoS explains how to set the profitability line that your n-gram decisions are measured against. If you want to feed the winners back into campaigns, search term discovery shows how to find and promote them, and PPC match types explains how to structure that move.

Our perspective

N-gram analysis is a good idea held back by the way most sellers do it. The method is sound: pool the data, find the patterns, act on the biggest ones first. The trouble is that it lives in spreadsheets, and a spreadsheet routine that takes an afternoon is a routine that gets skipped when you have orders to ship and a day job.

Our view is that the value is in the decision, not the splitting of words. Every seller should be asking the same three questions of their spend: is this relevant, is it converting, and is it still within break-even? The faster those answers arrive, the more of your budget goes to shoppers who buy.

That is why we built our tools around Amazon’s API and automated PPC management, so the data arrives without exports and the routine runs on a schedule instead of on willpower. Whether you sell part-time or manage a large catalogue, you should see your profit and your wasted spend in one place.

Harry

Take the manual work out of it

If you would rather not rebuild this analysis from exports every month, Osellpa’s PPC advertising and optimisation tools connect to Amazon through its API and combine automatic and manual PPC optimisation with automated systems that manage campaigns to reduce wasted ad spend. You can start with the free PPC bid optimisation report to see where your account stands. Plans on the pricing page are Launch at £10 per month (£96 per year), Scale at £20 per month (£192 per year) and Advanced at £40 per month (£384 per year).

Take the manual work out of it

FAQ

What is n-gram analysis in Amazon PPC?

It is a way of splitting search terms into one-, two- and three-word chunks and totalling spend, clicks and orders for each. It shows which words and short phrases consume budget without sales. You then use that to add negative keywords, lower bids or improve your listing.

How much data do I need?

Aim for 60 to 90 days of search term data, ideally across Sponsored Products and Sponsored Brands. Smaller accounts can still use it, but should set a higher click threshold before acting and avoid negating on a handful of clicks.

Should I negate a word just because its ACoS is high?

No. First check that the word is irrelevant to your product. A high-ACoS chunk can contain good and bad search terms, so open the terms behind it. If it is relevant but unprofitable, lower the bid or check the product page instead.

Why do my n-gram totals not match my account total?

Because each search term appears in several n-grams. “Insulated steel bottle” counts toward “insulated”, “steel”, “bottle” and the longer phrases. Judge each row on its own rather than adding them up.

How often should I repeat it?

Re-run it two to four weeks after launches, new campaigns or large bid changes, and at least quarterly otherwise. Monthly suits accounts with broad or phrase match campaigns and higher spend.

Sources

Recommended