How to Use the Prebid Timeout RTD Module for Smarter Auction Management

Timeout configuration is a critical lever in header bidding, impacting both yield and user experience. Misconfigured timeouts can cause lost bids or slow down page loads, frustrating both users and buyers. Yet many publishers still use static, one-size-fits-all timeouts that don’t account for the nuances of device type, ad unit mix, or connection quality.
The Prebid Timeout RTD module introduces a more intelligent approach by letting you adjust timeouts dynamically based on real-world factors. Understanding how to implement and optimize this feature can help publishers increase competition and minimize latency—without gambling on guesswork.
What Is the Prebid Timeout RTD Module?
The Timeout RTD (Real-Time Data) module is a Prebid.js feature that gives publishers fine-grained control over auction timeouts. Instead of relying on a fixed `bidderTimeout`, the module lets you specify rules that alter the timeout based on the current auction’s context. These rules can be hardcoded directly in your configuration or fetched dynamically from a remote provider, enabling real-time adaptation to site conditions.
How the Module Interacts with Prebid Config
When enabled, the timeout RTD module will automatically modify the global `bidderTimeout` just before each auction. For example, if your base timeout is set at 1500ms but the rules indicate an addition for slow connections or a high number of ad units, the final timeout sent to bidders will be the sum of these adjustments. This minimizes wasted time while accommodating cases where more time is genuinely needed.
Configuring Timeout Rules: Static and Dynamic Approaches
Publishers can configure the timeout RTD module in one of two ways: by supplying static rules in the Prebid config, or by pointing to a remote endpoint that supplies rules on-the-fly. Both approaches ultimately influence the auction by updating the `bidderTimeout` per the logic you define.
Static Rules Example
Suppose you always want to allow more time for video auctions and on slower devices. You might set up rules like these:
– If `includesVideo` is true, add 200ms; if false, add only 50ms
– For 6–10 ad units, add 200ms
– On mobile devices (type 5), add 200ms
All matching rules are cumulative. So a mobile auction with eight video units would get a 200ms (video) + 200ms (ad units) + 200ms (device) = 600ms increase over your base timeout.
Dynamic Rules via Endpoint
For more flexibility, especially on larger or rapidly changing sites, rules can be fetched from a remote JSON endpoint. This enables timeouts to adapt based on time of day, traffic patterns, or A/B tests—without new code deployments. If an endpoint is configured, any static rules are ignored.
Supported Timeout Features and Practical Examples
Timeout adjustments can be based on several auction features, each addressing a common efficiency or fairness concern in header bidding. Here’s how each supported feature can be put to use:
Key Supported Features
– `includesVideo`: Video auctions typically require more time. The rule allows you to buffer accordingly.
– `numAdUnits`: As the number of ad units increases, so does response time complexity. Adding time keeps high-unit pages competitive.
– `deviceType`: Mobile, desktop, and in-app environments have varying performance. Adjusting timeouts helps ensure optimal coverage.
– `connectionSpeed`: Slower connections deserve a longer timeout; fast connections can get aggressive for better user experience.
Real-World Header Bidding Example
A publisher running both display and video ads across desktop and mobile might implement rules as follows:
– Add 50ms for each display-only auction
– Add 200ms if any video unit is present
– Add 100ms for users on 3G mobile (device type 5, connection slow)
If a mobile visitor triggers a video auction on a slow connection, the base timeout increases by all relevant rule values—minimizing dropped bids and lost impressions.
Best Practices and Common Pitfalls in Timeout Rule Deployment
While customizable timeouts unlock greater control, implementation deserves careful planning. Unintended consequences like overly long auctions or missed bid responses can result from poorly defined rules.
Best Practices
– Start with conservative increments and refine based on analytics.
– Monitor lost bids, timeout rates, and auction latency before/after deployment.
– Use dynamic endpoints for sites with highly variable audiences or ad loads.
– Regularly audit your rules to ensure they’re aligned with real-world conditions.
Common Mistakes to Avoid
– Over-relying on static rules, leading to inflexible timeouts when site conditions change
– Forgetting to test the impact of new rules across devices and network conditions
– Setting cumulative timeout additions too high, causing user-facing delays
– Ignoring the module’s ability to override existing `bidderTimeout`, resulting in conflicts
What this means for publishers
The timeout RTD module empowers publishers to reduce lost revenue from dropped or late bids, especially on inventory that tends to be slow or complex. It brings nuance to the auction process—no more choosing between too-short timeouts (lost competition) or too-long timeouts (sluggish pages). Operationally, it allows monetization teams to fine-tune latency versus revenue trade-offs, often without code changes if using a dynamic provider.
Practical takeaway
To get the most from the timeout RTD module, start by auditing your current timeout strategy and tracking lost bid metrics. Decide which auction features most affect your ad serving speed—video, device, connection—and configure rules accordingly. For large sites or those in flux, set up a dynamic endpoint to supply rules, enabling rapid adjustment based on real data.
After enabling the module, monitor your auction performance KPIs closely, especially bidder response rates and timeouts. Iterate on your rules as user and ad patterns evolve. By taking a data-driven approach, publishers can achieve higher fill rates and happier users without overcomplicating code deployments.