Technical breakdown of OpenAI's ChatGPT advertising platform and attribution system
By
Buchodi
A bagel you'd recommend to a friend without hedging.
Summary
This article provides a technical deep-dive into how OpenAI's advertising platform works within ChatGPT. It describes the two-sided architecture: on the ChatGPT side, ad units are injected into the SSE (Server-Sent Events) stream during model responses, and on the merchant side, a tracking SDK called OAIQ reports product views back to OpenAI. The system uses Fernet-encrypted click tokens (four per ad) to link the two sides together. The author captured this traffic using a consented mobile-traffic research fleet, presenting observed data on how the full attribution loop operates.
Key quotes
· 5 pulledOpenAI's ad platform has two halves.
On the ChatGPT side, the backend injects structured single_advertiser_ad_unit objects into the conversation SSE stream while the model is responding.
On the merchant side, a tracking SDK called OAIQ runs in the visitor's browser and reports product views back to OpenAI.
The two are tied together by Fernet-encrypted click tokens, four of them per ad.
I captured both halves on a consented mobile-traffic research fleet.
You might also wanna read

OpenAI Considers Introducing Ads to ChatGPT for Revenue
OpenAI is exploring additional revenue streams, including the potential introduction of ads to ChatGPT. ChatGPT head Nick Turley mentioned d

OpenAI Begins Testing Ads in ChatGPT Interface
OpenAI is reportedly starting to test ads in ChatGPT today, with clearly labeled ads appearing in a separate area beneath chats. According t
Early data indicates ChatGPT ads could challenge Google's search advertising dominance
Early data suggests OpenAI's integration of ads into ChatGPT could pose a significant competitive threat to Google's search advertising domi

OpenAI to Test Ads in ChatGPT for US Users
OpenAI announced it will begin testing ads in ChatGPT for logged-in US users with free or ChatGPT Go subscriptions. The ads will be clearly

OpenAI Launches ChatGPT Advertising Pilot with Major Brands Including Target, Ford, and Adobe
OpenAI has launched an advertising pilot program in ChatGPT, with several major brands including Target, Ford, Mazda, Audible, and Adobe par

OpenAI Plans $60 CPM for ChatGPT Ads, Triple Meta's Rate, With Limited Analytics
OpenAI is reportedly planning to charge advertisers around $60 per 1,000 views for ads on ChatGPT, which is triple the typical cost on Meta'
