Get the newsletter
Google · AI / ML · Filed Dec 30, 2025 · USPTO published Nov 19, 2026 · This week's release

Google Files Patent for Picking Ads While an AI Answer Is Still Being Written

Ask an AI chatbot to compare leather pants, and this Google patent application describes choosing the matching ad before the answer has even finished writing itself. The goal is to add extra content without making you wait.

A phone sends a question to an AI, which generates an answer while picking an ad to show alongside it. Drawing from patent filing US 2026/0368222 A1.
A phone sends a question to an AI, which generates an answer while picking an ad to show alongside it.All 9 drawings ↓
Publication number
US 2026/0368222 A1(US20260368222A1)
Applicant
Google LLC
Filed · Published
Dec 30, 2025 · Nov 19, 2026
Inventors
Raghavendra Rao Donamukkala, Laukik Chitnis, Alpa Jain, Timothy Benjamin Whalin, Abhishek Aggarwal, Jennifer Veneranda Cordova, Max Moroz
Status when we published
Waiting for an examiner
Document
20 claims
US classification
707/748
Examiner
BOWEN, RICHARD L (Art Unit 2165)
Parent application
Claims priority from a provisional application 63805419 (filed May 14, 2025)

What Google's mid-answer ad matching does

A shopper asks an AI chatbot to compare leather pants from a favorite clothing brand. The answer streams onto the screen. If an ad for those same pants gets added only after the answer is done, you wait a little longer. That delay is the problem Google is trying to remove.

In this patent application, the AI doesn't wait to finish before looking for something to show you. While it works, it writes a short shorthand version of your question, such as 'compare men's leather pants fashion brand.' A second AI model reads that shorthand and picks matching content. The filing says that content can be an advertisement, a post, a review or a short video.

The result is that the extra content can appear at nearly the same moment as the answer. Google also describes how to decide where it sits on the screen and how to mark it as separate from the answer.

From the filing · CLAIM 1
… determining, by the one or more processors, digital content relevant to the query based on the intermediate data as the AI model is generating a response to the query …

Translation: Ads are selected while the chatbot is still figuring out its answer.

How the shorthand phrase finds matching content

The patent describes two AI models working side by side. One writes the answer to your question. The other, a digital content model, finds something relevant to show with it. Claim 1 covers receiving intermediate data (half-finished information the first model produces along the way) and using it to pick content while the answer is still being generated.

The main kind of intermediate data is a proxy phrase: a short, machine-written stand-in for what you meant. It can drop or reorder words. The filing's example turns 'I would like to compare similar leather pants for men from Fashion Brand' into 'compare men's leather pants fashion brand.' Phrases can be saved next to the original question and reused later. The first model also scores whether a phrase says enough, and only sends it along once the score passes a threshold.

The second model then compares candidate content to the phrase. It can turn both into embeddings (lists of numbers that capture meaning) and check how close they are. It can also use similarity thresholds, ranking or weighting.

Once content is chosen, the filing describes a few more steps:

  • A short header is written for the content, capped at a set number of tokens (small chunks of text), and cut or rewritten if too long.
  • A short answer puts the content at the bottom, a medium one at the top, and a long one inside the answer or at the side.
  • A dashed line or a 'sponsored' label can separate it from the answer.
From the filing · THE ABSTRACT
An AI model for generating the response generates proxy phrases that another AI model for determining the relevant digital content utilizes.

Translation: One AI writes temporary phrases so a second AI can pick out matching ads.

What this means for ads inside AI answers

If you use AI chatbots, the practical takeaway is that ads and other extras could show up alongside answers without adding the wait that tacking them on afterward would cause. You might not notice anything slower, even when the answer carries a commercial suggestion. The filing says this works within milliseconds of the answer appearing.

The filing also frames this as a business issue. Chat-style answers have no list of links, so content owners have no obvious place to reach you. This design gives them one, and lists advertisements as an example. The filing names no product, so it only shows the problem Google is trying to solve.

That makes this Google's 101st filing we've tracked in AI assistant & agent coverage since May, a topic that already includes patents for ads inside AI answers and shoppable AI podcasts.

Source: US 2026/0368222 A1 at the USPTO (PDF). Full patent text and figures are in the official publication.

Get our take in your Top Stories

Liked this breakdown? Add Patentlyze as a preferred source on Google, and our plain-English take shows up more often in your Top Stories the next time Google patent news breaks.

There are more where this came from

We read every patent application Big Tech publishes and send you the ones worth knowing. Plain English, free, every week.

The drawings · 9 sheets

9 drawing sheets from US 2026/0368222 A1 · click any drawing to enlarge

How an AI system inserts ads into its answers, drawing sheet 1 from US 2026/0368222 A1
Sheet 1 How an AI system inserts ads into its answers
An ad placed directly beneath the completed AI text, drawing sheet 2 from US 2026/0368222 A1
Sheet 2 An ad placed directly beneath the completed AI text
Squeezing a sponsored message between two sections of text, drawing sheet 3 from US 2026/0368222 A1
Sheet 3 Squeezing a sponsored message between two sections of text
Wrapping an AI generated response around an ad box, drawing sheet 4 from US 2026/0368222 A1
Sheet 4 Wrapping an AI generated response around an ad box
Software parts that choose ads and format the page, drawing sheet 5 from US 2026/0368222 A1
Sheet 5 Software parts that choose ads and format the page
Computers, data storage, and phones connected across a network, drawing sheet 6 from US 2026/0368222 A1
Sheet 6 Computers, data storage, and phones connected across a network
AI models running on specialized datacenter chips, drawing sheet 7 from US 2026/0368222 A1
Sheet 7 AI models running on specialized datacenter chips
Selecting relevant promotions while writing an answer, drawing sheet 8 from US 2026/0368222 A1
Sheet 8 Selecting relevant promotions while writing an answer
Show the other 1 sheets
Deciding where an ad goes based on answer length, drawing sheet 9 from US 2026/0368222 A1
Sheet 9 Deciding where an ad goes based on answer length
Patent filing page

More in AI assistant & agent

All 436 AI assistant & agent patents →
Reader comments

No comments yet

Start the discussion

Real name or a handle, either is fine. Comments are read by a person before they appear, so allow a little time. Keep it about the filing.