Real-time bidding

Also known as: RTB

On this page 7

Real-time bidding (RTB) is the method of buying and selling individual ad impressions through an automated auction that runs in a fraction of a second while a web page or app is loading. In digital advertising, it is the core transaction mechanism of programmatic advertising: each time an ad slot becomes available, buyers evaluate that specific impression and bid for it.

RTB replaced much of the older practice of buying fixed quantities of impressions in advance at a negotiated CPM. Instead of paying the same price for every impression in a package, advertisers pay according to the value of each impression to them, based on the user context, placement and their own data.

How a real-time bidding auction works

An RTB auction connects the publisher side and the advertiser side through intermediaries that exchange standardized bid requests and responses. The whole cycle typically has to finish within a timeout of roughly 100 to 300 milliseconds, set by the exchange or the publisher’s setup, so that the ad appears without delaying the page.

  1. Impression opportunity: a user opens a page or app with an ad slot, and the publisher’s ad server or SSP starts a sale.
  2. Bid request: the SSP or ad exchange sends a description of the impression to connected DSPs.
  3. Evaluation: each DSP checks the request against its campaigns, targeting rules, budgets and predictions.
  4. Bid response: interested DSPs return a price and the creative or a reference to it.
  5. Auction and win notice: the exchange selects the winning bid and notifies the winner.
  6. Ad delivery: the creative loads, and impressions and clicks are tracked for billing and reporting.

Most exchanges and SSPs use the OpenRTB specification maintained by the IAB Tech Lab, which defines the structure of bid requests and responses. A shared protocol lets one DSP connect to many supply sources without custom integrations for each.

What a bid request contains

The bid request is the only information a buyer has when deciding how much an impression is worth. Its fields describe the placement, the device, the context and, where permitted, the user.

Field groupTypical contentsUse in bidding
ImpressionAd size, format, position, floor priceMatching creatives and setting a minimum bid
Site or appDomain or bundle ID, category, page URLBrand safety and contextual targeting
DeviceDevice type, operating system, connection typeFormat choice and performance prediction
UserPseudonymous IDs, consent signalsAudience targeting and frequency capping
GeographyCountry, region, approximate locationGeotargeting and local pricing
Supply chainSellers involved in the transactionVerifying authorized resale and avoiding fraud
Main bid request fields and how buyers use them

The amount of user data available varies strongly with privacy regulation and browser policies. In the European Union, consent signals under frameworks such as the IAB Transparency and Consent Framework determine what may be processed, and restrictions on third-party cookies have shifted buyers toward contextual signals and first-party data.

Auction types and pricing in RTB

RTB auctions historically used a second-price rule, where the winner paid just above the second-highest bid. Around 2019, most major exchanges moved to first-price auctions, where the winner pays what it bid, largely because header bidding made second-price outcomes difficult to interpret.

Auction rulePrice paid by the winnerBidder behavior
Second-priceSecond-highest bid plus a small incrementBidding true value is a sensible strategy
First-priceThe winner’s own bidBidders reduce bids through bid shading
Soft floorVaries depending on whether the floor is reachedHard to predict, now less common
Hard floorAt least the publisher’s minimum priceBids below the floor are rejected
Auction rules used in real-time bidding

Under first-price rules, DSPs use bid shading algorithms that estimate the lowest price likely to win and bid near it. This makes the DSP’s price prediction quality a major factor in media efficiency.

RTB within the programmatic ecosystem

RTB is one of several programmatic transaction types. They differ in whether the auction is open to all buyers, whether a price is fixed and whether inventory is guaranteed.

Transaction typeAuctionPriceInventory guaranteed
Open auction RTBOpen to many buyersDetermined per impressionNo
Private marketplaceInvited buyers onlyAuction with a floorNo
Preferred dealNo auction, first lookFixedNo
Programmatic guaranteedNo auctionFixedYes
Programmatic transaction types compared

On the supply side, header bidding lets several SSPs and exchanges compete at the same time before the publisher’s ad server makes its decision, which raises competition and publisher revenue. On the demand side, DSPs aggregate many exchanges so that advertisers can buy across them through one interface.

Risks and practical challenges

The speed and scale of RTB create transparency and quality problems that buyers must actively manage. Each intermediary takes a fee, and a meaningful share of the advertiser’s budget may never reach the publisher.

  • Ad fraud: bots and spoofed domains generate fake impressions; ads.txt, sellers.json and the supply chain object help verify sellers.
  • Brand safety: ads may appear next to unsuitable content unless exclusion lists and verification are used.
  • Supply path complexity: the same impression can be offered through several resellers, inflating auction volume.
  • Data protection: broadcasting user data in bid requests has been challenged by regulators, especially in Europe.
  • Measurement gaps: view-through effects and cross-device behavior are hard to attribute reliably.

Experienced buyers respond with supply path optimization, which means buying through fewer, more direct routes, and with independent verification of viewability and invalid traffic.

A plain-language summary

Real-time bidding is an auction for a single ad view that happens while a page is loading. Many advertisers look at a description of the space and the visitor, and the highest bidder shows its ad.

It is like a very fast auction house where every seat at a stadium is sold separately at the moment someone sits down. Each advertiser pays for the views it actually values, instead of buying a whole block in advance.

An example from practice

An online travel agency wants to reach people who recently searched for flights to Lisbon but did not book. It sets up a retargeting campaign in its DSP with its own visitor data, a maximum CPM and a frequency cap of three ads per user per day.

When one of those visitors opens a news site, the site’s SSP sends a bid request. The DSP recognizes the visitor’s pseudonymous ID, predicts a relatively high chance of booking and submits a bid well above its usual average together with a hotel offer creative. Impressions for unknown users on the same site receive low bids or none.

After four weeks, the agency compares the campaign with a broad display campaign. Retargeting through RTB shows a much lower cost per booking, although the team also runs a holdout test to check how many of those travelers would have booked anyway.