Skip to main content

Requesting a Format

Each opportunity lists the formats it can render, and for each one the parts (assets) it can draw. Every field is in the API reference: opportunities for the request, Response for what comes back. List every format you can render: the server picks the best match, and each bid’s format says what came back. Each format below shows how to request it. Every bid has three parts: assets to draw, trackers to fire, and actions to call.

Card

A native ad card shown inline in the conversation: a title, a description, brand visuals and a call to action. Request it — title and description are required. Add image only if the opportunity can show a photo; leave it out for a text-only card with the advertiser’s logo. max_chars on title (30 or more) caps its length.
Listing a part allows it; it doesn’t promise it. A card that lists image can still come back without one when the ad has no photo. A part you leave out never comes back. A card may also carry a cta, which you can’t list. A card comes in two looks. Both show advertiser.logo_url next to the brand name. With an image — assets.image is present. Show it as the hero photo.
Card with a product photo
Without an image — assets.image is absent. Show a text-only card: no hero photo. Two reasons: you didn’t ask for one (no image in your opportunity’s assets), or you asked but this ad has no photo.
Card without an image (text only)
A horizontally scrollable strip of 3–5 product cards from one advertiser. Each item shows a product title, image and optional price, and is its own click target. The strip shares one brand logo and one sponsored label. Request it — title and image are both required: an item can’t render without either. Only in a conversation, never before it starts.
Sponsored carousel example

Sponsored carousel in a chat interface

Rendering rules:
  • Render items left to right in the order given. You may drop trailing items if space demands; never reorder.
  • Items are always currently servable products. Render what you receive; don’t cache across requests.

Poll

An interactive poll sponsored by an advertiser, shown mid-conversation. Request it — question and options are both required. Only in a conversation, never before it starts.
Sponsored poll example

Sponsored poll in a chat interface

Rendering rules:
  • Show the options as buttons. Don’t wrap the whole poll in the advertiser link: an option tap is a vote, not a click.
  • On tap, POST {"option_id": "<id>"} to vote_url, then show the results it returns.
  • After the vote, show assets.cta linking to actions.click_url, when present.
See Poll Voting for the vote endpoint.

Rendering

Always label the ad as sponsored and show who it’s from: “Sponsored by advertiser.name”. Don’t render a bid after its ttl_ms has passed.

Count the impression

Each entry in trackers says which event it counts and the method to use. The method is always pixel: GET the url and ignore the response. A bid can carry several entries for the same event. Fire every entry, each at its own moment, once per bid: a carousel’s trackers fire once for the whole strip, not per item. An event you don’t recognise: fire it at viewable. The two moments exist because demand partners measure viewability as viewable over rendered. Firing both together reports every impression as viewable, which reads as invalid traffic and lowers what partners bid on your inventory.
You are paid on the viewable pixel only. Firing it before the ad is on screen inflates unverified impressions and lowers your payout. See Impression Billing.
Fire them from the user’s device, so the IP and user agent match the bid request. In the browser, that is your page’s own code; on mobile, the app. Call this once per bid, with the ad’s outermost container, so viewability is measured on the full ad area:
The timer resets whenever the ad drops below 50%, so viewable fires only after one continuous second, and only once. An app does the same with its own visibility API: fire rendered when the view is drawn and viewable after 50% of it has been on screen for 1 second. If you must fire from your server instead, see Impression Billing for the headers it needs.

Handle the click

Keep the callback returned by trackContent. Call it from the advertiser action’s trusted click handler, immediately before opening the applicable click_url. For a carousel, share that callback across item actions; do not call it for poll option votes. It sends any returned click pixels once. Open the exact click_url when the user taps. It records the click and redirects to the advertiser. Don’t rewrite it, add your own tracking to it, or fetch it in the background.

Collect feedback

When a bid has actions.feedback_url, you can show thumbs up / thumbs down. On tap, POST to that URL (see the Feedback reference):
feedback_type is positive or negative. feedback_text is optional, up to 1,000 characters. Send one per ad.

Report the auction

Only if you run your own auction across several SSPs (header bidding): call the bid’s win_url or loss_url. Otherwise ignore them; every bid carries both, and you don’t have to call either. See Auction notices.

Publisher integration checklist

Before enabling a placement:
  1. Read the returned trackers list for every format. Fire each pixel URL at its declared event; never fire both that list and legacy pixel aliases.
  2. Keep URLs byte-for-byte, including query order, duplicate parameters and percent encoding. Do not recover extra pixels by parsing a click URL.
  3. Bind tracking to the current bid and send each tracker once. Repeated render callbacks or clicks must not create another impression for that bid.
  4. Keep viewability tracking active for polls without an advertiser CTA. Open the exact click URL only on a user action, without background fetching.
  5. Declare only navigation support the host implements. Mobile declarations are optional: omission means unknown, not unsupported, and does not add a consent or advertising-ID requirement.
  6. Verify accepted impressions with Thrad and the demand partner using the test bid and time window. A browser’s opaque no-cors completion, a requested navigation or HTTP 204 alone is not proof of a billable impression or attribution.
Legacy integrations that read only link parameters can miss additional partner pixels, including when a click URL reaches its length limit. A CTA-less legacy poll may carry only its first beacon. Adopt the canonical list before claiming complete tracker support. A shorter returned list does not establish how many trackers a partner originally declared: unsupported trackers may have been filtered upstream. Do not invent replacement URLs; reconcile declared, accepted, carried and received counts during onboarding.

No Bid

A 200 OK with an empty bids array is not an error. Show nothing there. no_bid_reason says why; see No-bid reasons.

Next steps

User & Chat Identification

Which ids to send, and why they raise your revenue.

Impression Billing

Make sure every ad you show gets counted and paid.
Need exact fields? The API Reference has every request and response.