ChatGPT Ad Platform Attribution System Revealed
Original: How ChatGPT serves ads
Why This Matters
First detailed look at OpenAI's advertising infrastructure reveals sophisticated attribution system
Research reveals how OpenAI serves ads through ChatGPT's backend system, injecting structured ad units into conversation streams with contextual targeting. The platform uses four-token attribution chain with Fernet encryption for tracking.
OpenAI's ad platform operates through two components: ChatGPT backend injects single_advertiser_ad_unit objects into conversation SSE streams, while merchant sites run OAIQ tracking SDK in browsers. Ads are contextually targeted based on conversation topics - Beijing trip planning showed Grubhub Chinese food ads, NBA playoffs triggered Gametime ads, fashion queries displayed Aritzia ads. Each ad contains four Fernet-encrypted tokens: ads_spam_integrity_payload for server integrity checks, oppref for forward attribution stored 30 days in cookies, olref for impression logging, and ad_data_token with JSON payload. OpenAI hosts all advertiser creative content on bzrcdn.openai.com and opens clicked links in ChatGPT's webview for post-click observation.