API Reference
Render Ad
Endpoint that DSPs must implement to receive render requests from Thrad SSP (ssp.thrads.ai). Called by the SSP only if this DSP won the auction.
Implementation Required: Your DSP must implement this endpoint on your own server. The SSP at
ssp.thrads.ai will send POST requests to your configured DSP endpoint URL.Authorizations
Must be
application/jsonThis endpoint does not require API key authentication when called by SSP. Authentication is handled at the SSP level.
Body
The bid identifier from the winning bid response. Must match a valid bid in cache (TTL: ~60 seconds).
The actual clearing price from the auction (what the winner pays). In first-price auctions, this matches the winning bid amount.
Whether the request is for production. Defaults to
true.Response
Ad creative response payload. Shape is discriminated by
ad_format. ad_format defaults to "sponsored_message" if omitted — only required when returning a non-default format like "sponsored_carousel".Error message when the request fails. Only present on error responses.
Click URL requirement: We append a
view_url parameter to the click URL for impression verification. Your click tracker must pass through or ignore unknown query parameters.Status Codes
| Status Code | Meaning | Scenario |
|---|---|---|
200 OK | Success | Ad creative generated successfully |
400 Bad Request | Validation error | Missing required fields (description or url) or invalid data types |
404 Not Found | Bid not found | Bid expired (TTL ~60s), invalid bidId, or bid not in cache |
500 Internal Server Error | Server error | LLM service unavailable, creative generation failed, or database error |

