CTV RTB Timeouts: Why Cold Connections Lose Bids

Most CTV bid timeouts are cold HTTPS connections, not slow bidders. What tmax covers, the bug that kept a far DSP cold, and how to pick a deadline.

MS
Manmohan Singh

Head of CTV Product, LtvAdx

Published 29 Nov 2026·16 min read
CTV RTB Timeouts: Why Cold Connections Lose Bids

In CTV programmatic, a bid that arrives after the exchange’s deadline is thrown away, however high it is. That deadline is tmax in the bid request, and it is measured in hundreds of milliseconds at most: ours was 100 ms until November 2026 and is 300 ms now. The surprise is that most timeouts are not slow bidders. They are cold connections. Opening a new HTTPS connection to a distant bidder costs one round trip for TCP and another for TLS before the bid request is even sent. From our servers in India to a bidder in Singapore we measured 59 ms to connect and 124 ms to finish TLS, so a cold bid call needed about 190 ms. Under a 100 ms deadline, that bidder could not win a single auction after any idle pause. The fix has three parts: keep connections to bidders warm, set a deadline that covers one warm round trip plus processing, and make sure your HTTP client’s own timeout never cuts below the deadline.

Most writing on RTB timeouts says “bidders must respond within tmax” and stops there, as if latency were only the bidder’s problem. I run product at LtvAdx, a CTV and linear TV ad exchange, and in November 2026 our first test bid to a real outside bidder timed out. Tracing why taught me more about bid latency than any guide had. The measurements below are real, from a lab test that reproduced the route, and labelled as such.

What tmax means, and who is waiting

The OpenRTB 2.6 specification defines tmax as the maximum time in milliseconds the exchange allows for bids to be received, including internet latency. It is the exchange telling the bidder how long it will wait. A bid that arrives later is discarded, and the bidder is usually told nothing.

In CTV, someone is always waiting on the other side of that deadline. With client-side ad insertion, it is the player on the TV, which has asked for an ad and will show content, a slate or an error if nothing comes back in time. With server-side ad insertion, it is the stitcher, which has to build a manifest before the player asks for the next segments. The end-to-end ad serving walkthrough shows where the auction sits in that chain, and the SSAI explainer covers the stitcher’s time budget.

So the deadline is a trade between two kinds of loss. Too short, and good bids arrive late and the slot goes to a lower bid or nothing. Too long, and every viewer waits for the slowest bidder. Neither loss shows up as an error. Both show up as lower revenue.

Where the milliseconds go in one bid call

A bid call over HTTPS is several round trips, not one. The first call on a new connection pays for all of them. Later calls on the same open connection pay only for the request and response.

Step                    Cold connection        Warm connection
──────────────────────  ─────────────────────  ─────────────────────
DNS lookup              0 to 1 RTT (cached?)   none
TCP handshake           1 RTT                  none
TLS 1.3 handshake       1 RTT                  none
Send request, get       1 RTT + bidder         1 RTT + bidder
response                processing time        processing time
──────────────────────  ─────────────────────  ─────────────────────
Total                   3 RTT + processing     1 RTT + processing

TLS 1.3, defined in RFC 8446, cut the full handshake to one round trip, down from two in TLS 1.2. It is still a round trip. Across a continent or an ocean, a round trip is the expensive part: Mumbai to Singapore is roughly 60 ms there and back, before any processing.

Here is the arithmetic for a bidder 60 ms away that takes 20 ms to decide. Warm: 60 + 20 = 80 ms. Cold: 59 ms to connect, TLS finished at 124 ms, then the request, so about 190 ms. The same bidder, the same bid, is comfortably inside a 100 ms deadline when warm and impossible when cold. That is why a timeout rate tells you very little until you know whether the timed-out calls were on new connections.

Why a missed bid costs more in CTV than on the web

On a web page, a late bid usually means the slot goes to the next bidder at a slightly lower price. CTV raises the stakes in three ways.

The prices are higher. CTV CPMs are usually far above web display CPMs, so each lost bid is worth more. The CTV costs guide covers the ranges.

One request can fill a whole break. A pod request asks for several ads at once. If the bidder that would have filled three of those slots misses the deadline, the break is filled with whatever else arrived in time, or left partly empty. The ad pod strategy post explains how pods are filled.

There is often no second chance. A web page can refresh a slot or lazy-load another. A TV break happens once. In SSAI, an unfilled slot becomes a slate or a house promo, and the opportunity is gone. Because our exchange clears each auction at the winning bid, the cost of a missed bid is simply the difference between that bid and whatever filled the slot instead, often nothing.

How to tell a cold connection from a slow bidder

If you can see response times per bidder, the shape of the distribution tells you which problem you have. A slow bidder has one broad hump: every call takes a long time, because the time is spent in its servers. A cold-connection problem has two humps: most calls at about one round trip plus processing, and a second group at about three round trips plus processing, the calls that had to open a connection first.

For a bidder 60 ms away, that means a cluster around 80 ms and another around 190 ms, with little in between. If your deadline sits between the two humps, every call in the second hump times out, and the timeout rate equals the share of calls that found no open connection. That share rises at quiet hours and after any idle gap, which is the second clue: timeouts that track traffic lulls are connection problems, not bidder problems.

From the bidder’s side, the equivalent check is to log whether each request arrived on a new connection. Most web servers can record it. If timeouts reported by an exchange line up with new connections, ask the exchange about its keep-alive and client timeout settings before rewriting your bidder.

Why connections to bidders go cold

Every HTTP client keeps a pool of open connections and closes the ones that sit idle too long. The default for Java’s built-in client is 30 seconds, set by the jdk.httpclient.keepalive.timeout property, according to the java.net.http module documentation. Other clients, load balancers and the bidder’s own servers have their own idle limits, and the shortest one wins.

CTV traffic is bursty in a way that makes this worse. Ad requests cluster around ad breaks. A smaller channel may have no break for minutes at a time. A bidder that is only asked for certain channels, countries or deal types may go quiet for longer than 30 seconds many times an hour, and each time the next auction finds the connection gone. The more selective the bidder’s targeting, the colder its connections, and the more often its bids miss the deadline. From the bidder’s side, that looks like an exchange that sends traffic it can never win.

Live events add a second pattern. When a break starts across thousands of streams at once, the exchange needs many connections to the same bidder at the same moment. Even a warm pool may hold only one or two, so the burst opens new ones, and those pay the full handshake. The live sports advertising guide and the SCTE-35 post cover why live breaks arrive all at once.

The bug that meant a far bidder was never warm

Here is the part I would not have guessed. On our exchange, the bid call to that Singapore bidder did not just fail when the connection was cold. It made sure the next call would be cold too.

Three settings combined. First, every outgoing call from our ad server, to our own backend, our scoring service and outside bidders, went through one shared HTTP client with a 150 ms read timeout. Whatever deadline we configured for bidders, the client cut every call at 150 ms. Second, the backend capped any bidder’s own timeout at 100 ms. Third, when the client cut a call that was still in its TLS handshake, it closed that half-made connection rather than keeping it for next time.

Put together: the first call to a distant bidder starts a new connection, needs about 190 ms, and is cut at 100 to 150 ms. The half-made connection is thrown away. The next call starts from nothing again and is cut again. However many times we called that bidder, it never once got a warm connection. Its timeout rate was 100%, and that was entirely our doing.

The general lesson: check the timeout on the HTTP client, not just the auction deadline. If they differ, the shorter one is your real deadline, and if the client cancels requests mid-handshake, a cold bidder can stay cold forever.

What we changed

  • A separate client for bids. Bid calls now use their own client, timing out at the auction deadline plus 50 ms, so the auction decides when to stop waiting, not a setting meant for internal calls. Internal calls keep their short timeout. All of them share one connection pool, so a connection opened for one use can serve the next.
  • A connection warmer. Every 5 seconds, the ad server sends a HEAD request to each bidder’s endpoint that nothing has called for 20 seconds. One per origin, off the request path. The warm-up carries no viewer data, no bid request and no authentication header. A real bid only counts as contact if a reply arrives; a timed-out bid marks the bidder cold so it is warmed again within seconds. Bidders on hold for billing reasons are skipped.
  • A longer deadline. From 100 ms to 300 ms. The trade-off is below.
  • More threads for the fan-out. From 20 to 64, so a burst of auctions does not queue behind itself.
  • Seat timeouts follow the deadline. A bidder can still ask for a shorter timeout, from 10 ms up to the deadline. It cannot ask for a longer one.

An idle bidder now sees a HEAD to its bid URL roughly every 20 seconds. We tell bidders this when they connect, because a bidder that alerts on unexpected methods will otherwise wonder what it is.

What we measured

We could not show the difference over the public internet from our test machine, because its own round trip to our servers was 110 to 160 ms and every call hit the old client timeout, warm or cold. So we reproduced the route in a lab: a mock bidder behind TLS with 60 ms of added round-trip delay (about Mumbai to Singapore), our real ad-server code with production timeouts, and 23 to 26 ad requests per run. Each run included a first call, back-to-back calls, calls after 40 seconds idle, and bursts of five in parallel.

Build / deadline        Filled    Warm call    After 40 s idle    Bursts of 5
──────────────────────  ────────  ───────────  ─────────────────  ─────────────────────
Old code, 100 ms         0 / 23   timeout      timeout            all timeout
New code, 100 ms         6 / 23   next call    filled 83-95 ms    about 1 in 15
                                  cold again
New code, 300 ms        25 / 26   70 ms        filled 86-95 ms    first burst 5/5 on new
                                                                  connections (~210 ms),
                                                                  then 5/5 at ~80 ms

Lab test, not production data. Three things stand out. The old code filled nothing: the never-warm loop described above. The warmer alone, at 100 ms, rescued the calls after idle spells but not bursts, because a burst needs more connections than the warmer keeps open. And at 300 ms, the warm call took 70 ms, so the longer deadline only cost time when a connection was new.

How to choose a deadline

A deadline is not a single right number. It is a choice about who pays for slowness. Here is how I would reason about it.

Start from the warm path. A deadline should cover one warm round trip to your farthest bidder you care about, plus that bidder’s processing time at the 95th percentile, plus a margin for jitter. For a bidder 60 ms away that decides in 20 ms, that is about 100 ms, which is why 100 ms looks like enough on paper.

Then allow for new connections. Even with a warmer, bursts open new connections. If you want those to fill, the deadline needs room for TCP and TLS too, about two more round trips. That is where 200 to 300 ms comes from for distant bidders.

Remember the viewer only waits for slow bidders. With a 300 ms deadline, a warm bidder still answers in 70 to 90 ms, and the auction can close as soon as every bidder has replied. Viewers wait the full 300 ms only when a bidder is slow or silent. Requests on channels with no outside bidders do not wait at all. That made 300 ms acceptable to us. A stitcher with a tighter manifest budget might choose less.

Give bidders their own timeouts below the deadline. A bidder that is close and fast can be given a shorter timeout, so a sudden slowdown at that bidder does not hold up the auction for everyone. On LtvAdx, a seat’s timeout runs from 10 ms up to the exchange deadline, set in the seat’s settings; the help articles on DSP seats and connecting your own DSPs cover where.

Measure fill, not just timeouts. A lower timeout rate means nothing if fill did not move. Compare bids received, bids that won and impressions rendered before and after a change. The fill rate versus rendered impressions post covers why those are different numbers, and the ad pod fill simulator shows how one missed bid affects a whole break.

What bidders can do on their side

  • Keep connections open. Support HTTP keep-alive and HTTP/2, and do not close idle connections after a few seconds. A bidder that closes after 5 seconds idle will be cold on most CTV traffic.
  • Answer warm-up requests. A fast reply to HEAD or a lightweight health path costs nothing and keeps the route open. Do not treat it as an attack.
  • Say no quickly. OpenRTB’s standard no-bid is an HTTP 204 with no body. If you want to say why, the specification also allows a bid response with a reason code in nbr. Either way, a fast no is better for everyone than a slow empty bid.
  • Sit near the exchanges you buy from. Every 10 ms of distance is paid twice on a warm call and up to six times on a cold one.
  • Read the request quickly. Exchanges may stream the request body. Our own lab bidder first failed because it did not read chunked request bodies, which a real Java client sends.
  • Watch your own timeout share per exchange. If it is high on one exchange and low on others, ask that exchange about its client timeout and keep-alive settings before you optimise your bidder.

The OpenRTB best practices post covers the rest of a good CTV bid response, and the help article on connecting with OpenRTB covers how a bidder joins LtvAdx.

What publishers and ad networks should look at

If you run a channel or a network and connect outside demand, timeouts hide inside your fill rate. Three checks are worth making.

  1. Timeout share per bidder. On LtvAdx, the DSP seats page shows a Timeouts column, and an alert fires when more than 30% of at least 50 requests to one of your seats time out in a UTC day. The RTB reports article explains the figures.
  2. Where your bidders are. A bidder on another continent will time out more often than one nearby, however good its code. That is not a reason to drop it, but it is a reason to expect it.
  3. Fill by hour. If fill is worse at quiet hours than busy ones, cold connections are a likely cause: a bidder warm at peak and cold overnight.

If your fill is low for reasons other than latency, the low fill rate article has the full list, and the post on VAST error codes covers losses that happen after the auction. For pricing and priority, the Deal ID mechanics guide explains how deals change which bidders are asked first, and the FAST channel yield playbook puts all of it together for a channel owner.

A checklist for RTB latency

  • The HTTP client’s timeout for bid calls is at least the auction deadline. Internal calls can keep a shorter one.
  • Cancelled calls do not throw away connections that are still being set up, or a warmer replaces them quickly.
  • Idle connections to bidders are kept warm, with a request that carries no user data.
  • The deadline covers one warm round trip plus processing for your farthest important bidder, and you have decided whether it should also cover new connections.
  • Per-bidder timeouts sit below the deadline for close, fast bidders.
  • The fan-out has enough threads for a burst at the start of a live break.
  • You measure fill and rendered impressions before and after, not just timeouts.
  • Bidders know about warm-up requests before they see them.

The CTV header bidding guide covers running several demand sources in parallel, which raises the same latency questions with more bidders. The OpenRTB and real-time bidding glossary entries define the terms, and the developer docs list our endpoints. If you run a DSP and want to bid on CTV and linear inventory, the ad server page explains how the auction works, and you can create an account to connect a seat.

Frequently asked questions

What is tmax in OpenRTB?

tmax is the maximum time in milliseconds the exchange allows for bids to be received, including network latency. It is sent in the bid request. A bid that arrives after it is discarded. On LtvAdx it is 300 milliseconds, raised from 100 in November 2026.

What is a good RTB timeout for CTV?

One that covers a warm round trip to your farthest important bidder plus its processing time, with a margin. That is often around 100 ms for nearby bidders. If you also want bids on new connections to arrive in time, allow for two more round trips; for bidders in another region that means 200 to 300 ms.

Why do my bids time out even though my bidder is fast?

Usually because the connection was cold. A new HTTPS connection needs a TCP round trip and a TLS round trip before the request is sent, so a bidder far from the exchange can miss the deadline on every call after an idle spell. Also check whether the exchange’s HTTP client cuts calls before the stated deadline.

How do I keep connections to DSPs warm?

Send a lightweight request, such as a HEAD to the bid endpoint, to any bidder not contacted within the client’s idle timeout. It should carry no viewer data, no bid request and no credentials. Make sure the bidder keeps idle connections open long enough and knows to expect the requests.

Does a longer RTB timeout make viewers wait longer?

Only when a bidder is slow or silent. The auction can close as soon as every bidder has answered, so with warm connections most calls finish well before the deadline. Viewers wait the full time only when a bidder does not reply. Requests with no outside bidders are not affected.

What should a bidder return when it does not want to bid?

An HTTP 204 with no body, which is OpenRTB’s standard no-bid signal. It should be sent as fast as possible, because a quick no-bid lets the exchange close the auction sooner and costs the viewer nothing.

Stay ahead of CTV and addressable TV

Get articles on streaming monetization, identity, and programmatic TV.

Subscribe + request demo →
MS
Manmohan Singh

Head of CTV Product, LtvAdx

2026-11-29·16 min read

Related articles

Start trading TV

Ready to monetise CTV inventory?

See how LtvAdx fits your streaming and addressable TV setup — start free or book a walkthrough.

No minimum spend48-hour account reviewVAST 4.2 + SSAI docs includedIAB-compliant stack
IAB-compliant

<10ms

Ad decision latency

P95, measured on the ad server

IAB-compliant

7-tier

HouseholdID graph tiers

UID2 · PPID · ADID · DeviceID · ACR · IP/24 · fingerprint

Illustrative platform metrics · System status

VAST 4.2VMAP 1.0.1OpenRTB 2.6schainTCF 2.2CCPASCTE-35HouseholdID