Keyword contextual targeting: how Google matches your ad to a page and how to build the list
Choose words, let Google read the pages, and group keywords the way Google advises.
Published by AI Knows Us · Updated 13 October 2026
Keyword contextual targeting shows your ad on web pages, apps and videos whose content matches keywords you choose. You do not pick the sites. You pick words, and Google reads each page to decide whether its central theme matches them. If it does, your ad becomes eligible to appear there. It is the Display Network's way of putting an ad next to the subject it is about.
This guide uses Google's own help page on contextual targeting as its base: what the feature is, how the matching works, and the rules Google gives for building keyword lists that reach the right pages.
What contextual targeting is
Google describes contextual targeting as one of several methods for reaching sites, apps and videos. You supply keywords or topics, and the system matches your ads to relevant content. The two inputs are different:
- A keyword is an individual word or short phrase.
- A topic is a concept for a web page or video, the central theme of the content.
Placements are a separate method. With placements you name the exact sites, apps or YouTube channels where the ad can run. Contextual targeting hands the choice of page to Google's analysis instead.
How the matching works
When you target keywords on the Display Network, your ad is eligible on any page with related content. Google analyses each page, looking at text, language, link structure and page structure, to work out its central theme. When a keyword matches the concepts or central theme of the page, the ad can show there. Whether it does show also depends on your language and location targeting.
Two things follow from that, and they should shape how you build the campaign.
First, the match is about the theme of the page, not about whether the keyword appears in the text. So choose keywords that name the subject of the pages you want, because the subject is what gets compared.
Second, this is not the same system as search keywords. On search, a person types a query and your keyword matches the query. In contextual targeting nobody has typed anything. The person is reading something, and your keyword matches that reading material. Intent is weaker and the audience is earlier in the buying process. Judge the campaign by that standard: reach, engaged visits and assisted sales, not only last click sales.
Building the keyword list: Google's rules
Google gives specific guidance for contextual keyword lists, and it is the part most advertisers skip.
- Group keywords by theme. Aim for roughly 5 to 10 keywords per ad group, all about one subject.
- Keep each keyword to about 2 or 3 terms. Longer phrases narrow your reach.
- Set bids and tracking URLs at the ad group level, not per keyword.
- Do not use keyword match types. Contextual targeting does not work like the match types you use on search.
- Select "Content" in the keyword settings. The keyword behaviour described here applies to keywords with Content selected.
The effect of the first rule is practical. A tight theme gives Google a clear target and gives you a clear read on results. One ad group for "kitchen renovation" keywords tells you how kitchen renovation performs. One ad group mixing kitchens, gardens and insurance tells you nothing.
A worked example
Say you sell accounting software to small shops. A sensible first structure is one ad group per subject a shop owner would read about:
| Ad group theme | Example keywords | Ad message |
|---|---|---|
| Invoicing | small business invoicing, invoice templates, late payment | Send invoices and see who has paid |
| Bookkeeping | small business bookkeeping, bookkeeping basics | Keep your books without a bookkeeper |
| Tax time | sole trader tax, tax deadlines | Know what you owe before the deadline |
Each group has its own ad, because each group meets a reader in a different frame of mind. A person reading about late payers wants a different message from a person reading about tax deadlines. Matching the ad to the page theme is the reason to use the method at all.
Where it does not run
Google lists limits worth knowing before you budget:
- Discover and Gmail do not support contextual targeting. On those inventories, ads will not serve at all when Topics or Keyword Inclusions are enabled, so keep campaigns for those placements separate.
- On YouTube, keywords and topics work as a hint rather than a strict target. Expect your ads to appear near related videos, not only on exact matches.
If you need strict control over the exact site, use placements instead, and combine the two when you want both.
Keyword contextual targeting versus the other ways to choose an audience
Contextual targeting is one of six signals you can use to pick who sees an ad. Demographic, interest, search intent, first party and lookalike targeting are the others, and the guide to audience targeting in marketing sets them side by side. The distinguishing feature of contextual targeting is that it needs no data about the person. It looks at the page, so it works for people you have never met. That makes it the natural first test for a brand with no customer list.
Reading the results
Check three reports after the first fortnight.
- Where the ads ran. Open the placements report for the campaign and read the list. Remove sites and apps that do not fit your brand. Pages that are about your theme but sit next to content you would not want to be seen beside are the usual cause.
- Which ad group earns attention. Compare click through rate and cost across the themed groups. Add budget to the themes that work and split or drop the ones that do not.
- What happens after the click. A reader coming from an article is not ready to buy. Send them to a page that answers the question they were reading about, and measure the sales that follow over a longer window than a search campaign needs. The guide to Google Ads and Facebook Ads explains why campaigns that create demand are read differently from campaigns that capture it, and what Google Ads costs sets the budget range.
Questions about keyword contextual targeting
What is the difference between keyword and topic targeting?
A keyword is a word or short phrase. A topic is a concept covering a whole page or video. Keywords give you precision, and topics give you breadth.
How many keywords should one ad group hold?
Google suggests about 5 to 10, all on the same theme, each 2 or 3 terms long.
Should I use broad, phrase and exact match?
No. Google advises against match types for contextual targeting. The system matches page themes, not query text.
Does it work on YouTube?
Yes, with a difference. Keywords and topics act as a hint there, so ads can appear near related videos without exact matching.
Is contextual targeting better than audience targeting?
They answer different questions. Contextual reaches people by what they are reading right now. Audience targeting reaches them by who they are or what they did before. Many accounts run both and compare.
What an assistant does with the same words
Contextual targeting works because a machine reads a page and decides what it is about. An assistant reads a buyer's question the same way, then decides which businesses belong in the answer. The keywords you choose for an ad group are a good list of questions to ask it. Put each theme to ChatGPT, Gemini, Perplexity and Claude and read who gets named. AI Knows Us does that comparison across the assistants and shows which businesses are named, so the themes you pay to advertise against can also tell you where you are missing from the answer.