WayToClawEarn
High impactBuchodi's Threat Intel / Hacker News

ChatGPT advertising platform officially reveals: How contextual advertising in AI conversations works and what it means for creators

Security researchers disclosed the complete technical details of ChatGPT's advertising system: ads are injected into conversations through SSE streams in structured units, Fernet encrypted tokens are used to track click attribution, and OAIQ SDK is used to implement closed-loop conversion tracking. For content creators and affiliate marketers, this is a sign that the AI ​​native advertising ecosystem has officially taken shape.

WayToClawEarn EditorialPublished Apr 29, 2026Updated Aug 8, 2026

Editorial review of public sources · AI-assisted drafting. How we work · Original source

Core conclusion

On April 28, 2026, security researcher Jamie Larson (Buchodi's Threat Intel) published a complete technical analysis of the ChatGPT advertising system. This is the first time that the outside world has obtained the full picture of the OpenAI advertising platform: the complete link from ad requests, SSE stream injection, Fernet encrypted token tracking, to the OAIQ SDK attribution closed loop.

For practitioners and content creators in the AI ​​track, this means three key signals:

Key Points

  • Event Time: 2026-04-28 (paper release) / 2026-04-26 (advertising token issuance time, verified by Fernet timestamp)
  • Influenced objects: AI content creators, affiliate marketing practitioners, ChatGPT free users, AI platform advertising technology teams
  • Core changes: ChatGPT has officially become a programmatic advertising channel. Ads are injected in real-time into conversations through SSE streams, and combined with 4-layer Fernet encryption tokens to achieve complete attribution.

Background: ChatGPT advertising system was fully disclosed for the first time

OpenAI began testing ChatGPT ads in late 2025, but has never made the technical details public. On April 28, 2026, Buchodi's security researchers captured complete ad traffic through a "consented mobile traffic research cluster," technically restoring the entire system for the first time.

Previously, the outside world's understanding of ChatGPT advertisements was at the level of "knowing that there are advertisements". This article provides the first verifiable technical evidence of how ads enter conversations, how advertisers are selected, how conversions are tracked, and how closed-loop attribution is done.

SEO: ChatGPT advertising system, OpenAI advertising platform, AI conversational advertising attribution GEO: TL;DR style summary + precise numbers + structured table

Key Impact (by Dimension)

DimensionsChangeWhat it means to usRecommended actions
Advertisement formAdvertisement as structured SSE event injection model output streamChatGPT ads are not traditional banners, but native conversational adsUnderstanding single_advertiser_ad_unit structured data format
Attribution chain4-layer Fernet encryption token + OAIQ SDK page trackingEach click can be accurately tracked from trigger to conversion, and creator sharing is possiblePay attention to whether OpenAI launches a traffic sharing plan
Contextual matchingAds are matched in real time based on conversational contentSystem has demonstrated high context sensitivity (travel ↔ flights and hotels, NBA ↔ tickets)Creators can create customized content for specific conversational contexts
Platform barriersOpenAI independently hosts creative materials (bzrcdn) and controls the embedded browserAdvertisers cannot skip OpenAI to obtain user dataContent creation strategies need to consider the closed loop within the platform

Complete technical architecture of ChatGPT advertising system

Advertisement injection mechanism

When a user sends a message to ChatGPT, the backend returns two events in the SSE stream (chatgpt.com/backend-api/f/conversation): model output text and ad unit. The data structure of the ad unit is as follows:

json
{
  "type": "single_advertiser_ad_unit",
  "ads_request_id": "069e89b3-c038-7764-8000-6e5a193e5f69",
  "advertiser_brand": {
    "name": "Grubhub",
    "url": "www.grubhub.com"
  },
  "carousel_cards": [{
    "title": "Get Chinese Food Delivered",
    "body": "Satisfy Your Cravings with Grubhub Delivery.",
    "target": {
      "type": "url",
      "value": "https://www.grubhub.com/?utm_source=chatgptpilot&..."
    }
  }]
}

6 6

(、)Grubhub — "Get Chinese Food Delivered"
GetYourGuide —
Axel —
NBAGametime —
Aritzia —
/Canva —

、、——。

4 Fernet 。 AES-128-CBC + HMAC-SHA256 , 9 ( + 8 )。

Home Depot 。Fernet 2026-04-26 11:30:08 UTC11:31:43 UTC, 95 。

python
import base64, struct, datetime
b = base64.urlsafe_b64decode("gAAAAABp7fdA" + "==")
print(datetime.datetime.utcfromtimestamp(struct.unpack(">Q", b[1:9])[0]))

# → 2026-04-26 11:30:08 UTC

OAIQ SDK

, OpenAI OAIQ SDK( 0.1.3, bzrcdn.openai.com/sdk/oaiq.min.js),

javascript
oaiq('init',    { pid: '<merchant pixel ID>' });
oaiq('measure', 'contents_viewed', { ... });

SDK URL ?oppref= ,→→。

ChatGPT

1. AI

ChatGPT Google AdSense Facebook Ads。,。

  • (,)
  • (、 + CTA),
  • (SSE → Fernet → OAIQ ),

2.

ChatGPT OpenAI 。,


  • **AI **, ChatGPT
  • **** ChatGPT ,

3. Google AdSense ChatGPT Ads

2003 Google AdSense,——。2026 ,ChatGPT , AI 。

——×—— ChatGPT 「」「」。

, tools OpenAIChatGPTGoogleClauden8nHermes AgentOpenClaw

Internal link guidance

View source →

Disclaimer: this site shares educational insights only, for inspiration and reference. No outcome guarantee; external execution and decisions are your own responsibility.