Browse production-ready reference implementations for chat, IDE, and CLI surfaces in the ZeroClick Ad Format Gallery.
Offer Data Structure
Each offer includes structured fields for building custom UI:| Field | Type | Description |
|---|---|---|
title | string | null | Main headline |
subtitle | string | null | Brief description or tagline |
content | string | null | Detailed offer copy |
cta | string | null | Call-to-action text (e.g., “Shop Now”) |
clickUrl | string | Destination URL — always present |
imageUrl | string | null | Offer or product image |
brand | object | null | Brand name, icon, URL, and description |
product | object | null | Product details (title, category, image, availability) |
price | object | null | Price amount and currency |
rating | object | null | Rating value, scale, and review count |
Example
Best Practices
- Handle nullable fields gracefully. Use optional chaining and fallback values —
offer.cta || 'Learn More',offer.imageUrl || offer.brand?.iconUrl, etc. Not every advertiser provides every field. - Use
clickUrlfor all offer links. This is the only field guaranteed on every offer and includes built-in click tracking. - Match your product’s look and feel. Offers perform best when they feel native to the surface — match typography, spacing, and layout patterns your users already expect.
- Show brand context when available. Displaying
brand.nameandbrand.iconUrlalongside the offer builds trust and improves click-through rates.
Next Steps
Ad Format Gallery
Interactive reference implementations
REST API
Fetch offers to render
Track Impressions
Record displayed offers