Topics API

« Back to Glossary Index

Definition: Topics API is a Privacy Sandbox web API developed by Google that enables interest-based advertising without cross-site tracking. The browser observes the user’s browsing activity, classifies visited sites into a curated taxonomy of broad interest topics (e.g. “Fitness”, “Travel”, “Cooking”), and stores a short history of these topics locally on the device. Participating ad platforms can request a small sample of the user’s recent topics to inform ad targeting — without accessing the underlying sites visited.

Why It Matters: Topics API is designed to replace the interest-based targeting functionality that third-party cookies provided — where user browsing across sites was tracked by ad networks to build detailed profiles. By keeping classification on-device and exposing only broad, aggregated topic signals, Topics API aims to preserve advertiser utility while substantially reducing individual tracking. For advertisers and DSPs, it represents a meaningful but limited signal — broad enough to be useful for contextual relevance, but far less granular than cookie-based behavioural data.

How It Works: The browser uses a machine learning classifier to map visited websites to topics from a predefined taxonomy (currently around 350 categories). Each week, the browser selects the top five topics based on the user’s browsing and stores a three-week rolling history. When a user visits a page with the Topics API enabled, the ad platform can call the API and receive up to three topics — one from each of the past three weeks, with one selected randomly to provide deniability. The user can view and delete their topic history in browser settings.

Related: Protected Audiences API, Fenced Frames, Cookieless Tracking, Contextual Advertising, Privacy Sandbox

Synonyms:
Topics-API, Topics APIs