What counts as context on a retailer's site
On the open web, context means the subject of a page. Google's system analyzes the content of each webpage to find its central theme, then matches it to the keywords or topics an advertiser chose. To describe that subject in a shared way, publishers and buyers use the IAB Tech Lab Content Taxonomy, whose typical uses are contextual targeting and brand safety.
A retailer's site works differently, because every page already sits in a product structure. Walmart Connect Canada analyzes page content and serves contextual display ads on item and search pages, using its retail taxonomy at the department and category levels. Amazon serves contextual ads on product detail pages, alongside customer reviews and on shopping results pages. The context is a precise shopping signal: a shopper on the eye makeup aisle is shopping for eye makeup.
How contextual targeting picks a placement, step by step
Each network keeps its own logic, and the sequence runs in five steps.
- A slot opens. A shopper loads a search results page, a category page or a product page, and the page requests an ad for an open display slot.
- The page is described. The retailer's algorithm labels the page by department and category. In programmatic buying the same description travels in the bid request: OpenRTB carries content categories for the site, the section and the current page, plus keywords about the site.
- Campaigns are matched. The system keeps every campaign that targets that category or product, then applies filters such as language and location or refinements such as price, brand and Prime eligibility.
- The auction picks a winner. Eligible ads compete in an auction, either the retailer's own or, on programmatic supply, real-time bidding.
- The ad renders and gets reported. Amazon's matched target reporting breaks category results down by the specific product detail pages where the ads appeared.
Contextual targeting on Amazon and Walmart
Amazon evolved Sponsored Display's product targeting into contextual targeting, and its documentation now uses the new name. Advertisers pick specific products or relevant categories in the Amazon store and narrow them by price, brand and Prime shipping. The same targets can also reach shoppers outside the store, on web pages and mobile apps. The Amazon network profile shows where these ads sit among its formats.
Walmart Connect Canada sets contextual targeting at the ad group level. The buyer selects contextual targeting as the strategy, then adds categories from the category tree, such as the Health & Beauty department or the Eye Makeup category. Ads then serve on matching item and search pages. The Walmart network profile covers how display and search fit together.
Pairing context with audiences and keywords
Context answers where an ad runs. Amazon recommends combining contextual targeting with display ads audiences, because the two together can help reach and engage relevant shoppers. It also lets advertisers pair contextual targeting with a remarketing strategy. Sponsored search adds a third layer, where the shopper's own query is the context and keywords decide which products appear. Contextual display then carries the same products onto detail pages, review sections and shopping results. Our audience targeting entry covers how segments are built, and the targeting entry maps every option side by side.
The same page labels that pick a placement also keep ads away from the wrong ones, which is why the Content Taxonomy serves brand safety as well. Because the signal is the page, contextual targeting is a natural part of privacy-first advertising.
Frequently asked questions
What is contextual targeting in advertising?
Contextual targeting places an ad according to the content a person is viewing. On the open web, Google analyzes each page's central theme and matches it to the keywords or topics an advertiser chose. On a retailer's site, the context is the search page, category or product page a shopper is browsing.
What is the difference between contextual and behavioral targeting?
Contextual targeting reads the page in front of the shopper right now. Behavioral targeting reads the shopper's history, such as past searches and purchases, and reaches that person wherever they browse. Many retail media plans use both: context for relevance in the aisle, audiences for shoppers who showed interest earlier.
Does contextual targeting need cookies?
Contextual targeting works from the page, so the core match needs no third-party cookie or personal profile. A category label or search term is enough to choose an ad. Filters such as location can still apply, and audience layers added on top bring their own data rules, set by each network.
What is category targeting on Amazon?
Category targeting is one form of contextual targeting in Amazon Sponsored Display. The advertiser picks a product category, optionally narrowed by price, brand or Prime eligibility. Ads then serve on detail pages and shopping results in that category, and matched target reporting shows which specific product pages carried them.
Is contextual targeting the same as keyword targeting?
They overlap. On display networks, keywords describe page content, so keyword targeting is one input to contextual matching. In sponsored search, keyword targeting matches the query a shopper types, with its own match types and bids. Contextual display usually works from categories and products.

















