Table of Contents
Google is changing how it understands what we’re interested in on the internet— all while protecting our privacy. It’s all around the Topics API. It analyzes the pages you visit and picks general topics you might like, like “Fitness” or “Travel,” instead of tracking everything you do.

This article breaks down how the Topics API works, where it is seen (like in ads, Google Trends, and Chrome), and why it matters for marketers, SEOs, and everyday users. Let’s dive in and make sense of it all!
1. Topics API for Ads
Let’s start with the basics — API stands for Application Programming Interface. In simple terms, it’s a way for different software systems to talk to each other. The Topics API is how Google makes it possible for websites and advertisers to show you relevant ads — but with privacy built in from the start.
Instead of tracking all your activity online, the Topics API chooses some board topics based on what kinds of sites you visit. For example, if you often browse travel blogs or book sites, Google might tag you with topics like “Fitness”, “Travel” or “Books.” These topics are stored in your browser and shared with advertisers when you visit a site that uses the Topics API.
Advertisers then use that info to show ads that match your interests — without knowing who you are or what exactly you’ve clicked on. It’s a smarter, safer way to do interest-based advertising in a post-cookie world.
2. Chrome’s topic classifier
Google Chrome also has a built-in tool that lets you peek behind the scenes of how the Topics API works — it’s called the Topic Classifier. You can use this utility by directly going to Chrome Topics Internals in your Chrome browser.
It shows which topics your browser has assigned to different sites or keywords you’ve interacted with. This is especially useful for developers who want to understand how Google maps user interests to categories, and for curious users who want to see how their activity is being interpreted — all without tracking specific user behavior.
Here’s a peek at how topics are structured inside the system — they all have a name and an ID. For example, “Combat Sports” has the ID 609, and “Home Insurance” is 161. The IDs help to make it simpler to structure and assign topics in Chrome’s internal processes.
Now, let’s look at a couple of examples of how this classifier works in action:
Here we see that “karate” as a keyword is classified under topic ID 609, labeled “Combat Sports.” This means if a user visits pages about karate, their browser might temporarily store “Combat Sports” as one of their interest topics.
In another example, searching for “Cristiano Ronaldo” is under topic ID 325, “Soccer.” Here, it shows how the classifier recognizes people and topics and classifies them into relevant categories used later for ad targeting or trend analysis.
This feature helps us understand how Google’s system relates interests and keywords to broader topics — all part of how the Topics API delivers more relevant experiences while keeping user data safe.
2.1. Product Type taxonomy by Google
To manage the millions of products online, Google uses something called a Product Type Taxonomy. It’s basically a huge structured list that breaks down products into clear categories and subcategories — like a family tree, but for products you can buy.
This taxonomy helps Google understand what a product is and where it fits, which is especially useful for things like Google Shopping ads, search filters, and of course, the Topics API. When a product or page is related to shopping, Google can assign the right topic based on where that product sits in the taxonomy.
The full list is public, and you can check it out here:
Some examples from the list:
- 3530 – Animals & Pet Supplies > Pet Supplies > Dog Supplies > Dog Food
This helps identify pages or products about dog food and could map to a topic like “Pets” or “Animals & Pet Supplies.
This taxonomy works behind the scenes, but it plays a huge role in helping Google match users with content and ads that actually interest them — whether that’s pet gear, TVs, or kitchen gadgets.
3. Topics API in User Journeys for Ads
Google’s Topics API follows a simple 3-step process to deliver interest-based ads — without tracking users across the web. Here’s how it works in a typical user journey:
- Observe Activity
When you browse the web or use certain apps, your browser notes the types of websites you visit. For example, visiting a site like https://cats.example/tabby/index.html might be interpreted as an interest in pets — more specifically, cats.
- Derive Topics from Behavior
Based on your recent activity, the browser picks a few broad topics. For instance, if you often visit cat-related websites, your topic might be something like /Pets & Animals/Pets/Cats.
- Use Topics to Serve Ads
When you visit a new site that displays ads, the Topics API shares those interest topics (like “Cats”) with the ad platform. That way, you might see a relevant ad — like one for cat food — instead of something random.
Image source: How the Topics API works
This image shows the full journey — from browsing to ad delivery.
- It starts with a user visiting various websites.
- Chrome identifies their top interest topics.
- When the user visits another ad-supported site, the adtech platform retrieves those topics.
- The API then helps pick and display a relevant ad.
This flow happens automatically in the background — using a topics database built into Chrome. It’s part of Google’s effort to balance personalized advertising with user privacy by keeping data on-device and sharing only high-level interest categories.
Curious how developers actually use this in real ads? Check out this short YouTube explanation:
4. Topics API in Google Trends
While the Topics API was designed to help deliver relevant ads, its use goes beyond advertising. One great example is how Google Trends uses topic classification to organize and group what people are searching for.
Instead of just showing results for exact search terms, Google Trends now offers predefined topics based on the Topics API. These topics help group related searches under one umbrella — even if people use different phrases.
In the example above, typing “Karate” into Google Trends brings up several options:
- “Karate” as a search term
- “Karate” as a Martial arts category
- “Karate Combat” as a Topic
Notice how “Karate Combat” is specifically labeled as a Topic. This shows how Google uses predefined categories to combine similar queries into one broader topic, which gives more meaningful and accurate data trends.
This also means the Topics API plays a role in trend analysis, not just in ads. By classifying searches under high-level topics, Google can better track how interest in a subject rises or falls over time, even if people are searching in different ways.
For SEOs and content creators, this is a valuable insight: writing content around recognized topics (not just random keywords) can help you align with how Google understands and organizes information.
5. Topics in Knowledge graphs as Entities
Google doesn’t just use topics for ads and trends — they also help power how information is structured in Knowledge Graphs. These graphs organize real-world concepts (called entities) and connect them to helpful data like descriptions, related topics, and links. This is how Google builds those rich Knowledge Panels you often see in search results.
Topics from Chrome’s Topics API are closely connected to these entities.
In the example above, the keyword “karate” is classified as topic 609 – Combat Sports. This classification isn’t only used in ads — it’s also used to group related data in Google’s knowledge systems.
We can see multiple entries:
- Karate labeled as a “Thing” and described as “Martial arts”
- Cobra Kai as a TV series
- The Karate Kid as movie entities
- Topic ID 609, again confirming the “Combat Sports” classification
This reinforces how topics and entities are tightly connected — and how Chrome’s Topics API feeds into larger systems that power both ads and search.
Earlier, we also saw in Google Trends that “Karate Combat” was shown as a Topic, not just a keyword. That’s another signal that these topics flow across Google’s ecosystem — from browser behavior to search results and beyond.
If you want to explore more of how Google connects these dots, check out
6. The Difference between Topics served by AdSense & Google Search Engine
Even though Google uses the word “topics” across its ecosystem, it doesn’t always mean the same thing. The Topics API in AdSense and the topics shown in Google Search can classify the same keyword differently — depending on the context and the goal.
Let’s break it down with examples:
- AdSense uses the Topics API to show ads based on user interests. These topics are pulled from the sites a user visits — so it’s behavior-based.
If a user often visits websites about martial arts, they might be tagged with the topic Combat Sports.
So even if they never searched “karate,” ads related to martial arts or sports gear might follow them around. - In search, topics are tied to the meaning behind a specific query, not the user. Google tries to understand the intent behind the keyword and map it to structured data — like entities in the Knowledge Graph.
Typing “Karate” into Google Search might trigger A Knowledge Panel for Karate (Martial Arts) or Related results like “The Karate Kid” (Movie).
In this case, “karate” is connected to multiple entities (sports, entertainment, culture), not just a single user interest.
So while both systems use the idea of “topics,” the AdSense Topics API is about what the user is into, while the Search Engine focuses on what the user wants to know right now.



