Real-Time Bidding: The Auction Behind Every Ad
Follow an ad auction from page load to winning bid, see who receives your data along the way, and learn how to limit it.
Key takeaways
- A publisher sells slots through intermediaries that ask many buyers for bids at once.
- The bid request can carry the page address, device details, approximate location and identifiers.
- Losing bidders receive the request too, which is the core privacy concern.
- Blocking ad requests, limiting identifiers and using consent or opt-out signals reduce what is shared.
Real-time bidding is an automated auction that sells a single ad slot while your page or app is loading. A description of the opportunity goes out to many potential buyers, their software decides within a fraction of a second whether to bid and how much, and the winner's ad appears.
The speed is impressive. The privacy issue is that the description can include information about you and your device, and it reaches many companies, including those that don't win.
The players
The industry has its own vocabulary, but the roles are straightforward.
- Publisher: the site or app with space to sell.
- Supply-side platform (SSP): software working for the publisher, offering its inventory and trying to get a good price.
- Ad exchange: a marketplace connecting sellers and buyers. The line between exchange and SSP is often blurry.
- Demand-side platform (DSP): software working for advertisers, deciding which opportunities to bid on.
- Advertiser or agency: sets goals, budgets and creative material.
- Ad server: delivers the chosen ad and counts what happened.
- Data providers: supply audience segments or verification services.
One company may play several of these roles, which has drawn attention from competition authorities in more than one place.
The auction, step by step
When you open a page with programmatic ads, roughly this happens.
- The page loads a script that identifies the available slots.
- The script, or a server acting for it, contacts one or more supply platforms.
- Each builds a bid request and sends it to buyers.
- Each buyer's system looks up what it knows about the identifiers, checks campaign budgets and rules, and replies with a price or declines.
- The auction picks a winner.
- Your browser fetches the ad, and tracking calls record that it loaded.
Buyers get a strict time limit, typically measured in tens or hundreds of milliseconds. A late reply is ignored.
What a bid request contains
Much of the industry uses OpenRTB, a specification maintained by the IAB Tech Lab. A request is usually a structured message, often JSON. A heavily simplified, made-up example looks like this:
{
"id": "auction-001",
"imp": [{"id": "1", "banner": {"w": 300, "h": 250}}],
"site": {"page": "https://example.com/article"},
"device": {"ip": "192.0.2.45", "language": "en"},
"user": {"id": "abc123"}
} Real requests can include much more: browser or app details, device type, screen size, content categories, approximate or sometimes precise location, advertising identifiers such as a mobile advertising ID, user IDs the platforms have synchronized, and consent strings that record what you allowed.
Some fields are truncated or removed where regulation or platform policy requires it.
Cookie syncing: matching IDs between companies
Each company's cookie is readable only by that company. To discuss the same browser, two firms perform cookie syncing. A page triggers a request to company A, which redirects your browser to company B, passing A's ID in the address. B now stores a table linking A's ID to its own.
This happens invisibly, often through chains of tiny requests. Third-party cookie blocking and partitioning disrupt it considerably, which is one reason the industry has promoted alternatives, including IDs based on hashed email addresses and tools built into browsers. The fight over third-party cookies covers that shift.
Header bidding and first-price auctions
Publishers once offered slots to one platform at a time, in order of priority. Header bidding instead asks several sources simultaneously before the main ad server decides, which tends to increase competition. It also increases the number of requests, and heavy setups can slow pages down.
Auction rules have shifted too. In a second-price auction, the winner pays slightly more than the runner-up's bid. In a first-price auction, the winner pays what it bid. Much programmatic display buying moved toward first-price, so buyers use models to avoid overbidding.
How a bidder decides what to pay
A demand-side platform can't have a person weigh each request, so it runs a pipeline. First it filters. Does any active campaign want this country, this page category, this slot size? Is the seller authorized? Does the traffic look like it comes from a bot?
Then it estimates value. A model predicts the chance that this impression leads to the goal the advertiser cares about, whether a view, a click or a sale. It multiplies that chance by what the outcome is worth, then adjusts for how fast the campaign should spend its budget.
Here's a made-up example. An advertiser values a sale at 20 dollars, and the model puts the chance of a sale from this impression at one in ten thousand. The expected value is 0.2 cents. In a first-price auction the buyer will usually bid somewhat less than that, hoping to win while keeping a margin.
Identifiers matter because they change the estimate. A request from a browser that viewed the product yesterday may be judged far more promising than an anonymous one. That difference in price is why publishers and intermediaries have a financial reason to include more data, and why privacy limits can lower what a slot fetches.
Where the money goes
Each intermediary typically takes a fee, so the publisher receives less than the advertiser spends. Fees may be a percentage, a per-thousand charge or built into the price, and they aren't always visible to either end. Advertisers and publishers have pushed for better transparency, including files and identifiers that let a buyer trace which companies handled a sale.
The common pricing unit is CPM, the cost per thousand impressions. A CPM of 2 dollars in a made-up case means a single impression is worth a fifth of a cent. Pages therefore need a lot of views, or several slots, to earn much, which helps explain cluttered layouts and the pressure to refresh ads while you stay on a page.
Alternatives sit alongside open auctions. A publisher may sell directly to a sponsor at a fixed price, or set up a private marketplace where only invited buyers may bid. These deals can send data to fewer companies, though that depends on how they're configured.
Why privacy advocates object
When you're offered to an auction, the information goes to potential bidders regardless of the outcome. A company can participate mainly to observe, recording which identifiers appear on which pages. Contracts and industry rules restrict such reuse, but enforcement relies on audits and trust across a long chain of recipients.
Content categories add sensitivity: a request from a page about a medical condition reveals something even without your name. Regulators in Europe and elsewhere have examined whether consent obtained through banners can cover broadcasting data so widely, and cases have moved through courts and authorities over several years. Industry groups argue that consent frameworks, data minimization and contractual limits make the system workable and that it funds free content. Check current rulings from official sources if the legal status matters to you.
Other problems in the pipeline
Auctions also attract ad fraud, such as bots pretending to be readers or sites misrepresenting what they are. Publishers list authorized sellers in a public ads.txt file so buyers can check whether a seller is allowed to offer that inventory.
Malicious ads, often called malvertising, occasionally slip through and try to redirect visitors to scams. Keeping your browser updated and using a content blocker lowers your exposure.
How to limit what enters the auction
- Use a content blocker. If ad scripts never load, no browser-based bid request about you is made. How ad blockers work explains the trade-offs, including lost revenue for sites you may want to support.
- Block third-party cookies to hinder syncing.
- Limit the mobile advertising ID and review location permissions for free apps.
- Refuse consent on banners where refusal is offered. Consent banners helps decode them.
- Enable Global Privacy Control if available. Some laws require businesses to treat it as an opt-out of sale or sharing.
- Consider paid or subscription access to sites you read often, then check whether ads and tracking actually drop.
None of these hides your IP address from the sites you visit. And ads on large platforms that run their own internal auctions follow those platforms' settings instead.
A note for site owners
If you run a site, you're inviting each of these companies to see your visitors. Count your ad and analytics partners, remove the ones that earn little, read what each collects and disclose it accurately. Contextual-only demand, direct sponsorships and server-side controls over which fields are passed along can reduce exposure. Revenue effects vary, so test changes on part of your traffic before committing.