Skip to content
  1. Home
  2. Blog
  3. What Is Programmatic Advertising and How Does It Work?
What Is Programmatic Advertising and How Does It Work?
  • Dec 2026, 02:25 PM

What Is Programmatic Advertising and How Does It Work?

Programmatic advertising is the automated buying and selling of ads, one impression at a time: every time someone opens a page, the slot is auctioned in millise...

Programmatic advertising is the automated buying and selling of ads, one impression at a time: every time someone opens a page, the slot is auctioned in milliseconds among the advertisers who want that visitor, and the highest bid that meets its conditions wins. "Programmatic buying" is the same thing from the advertiser's side: instead of negotiating with each website, you set rules (audience, maximum price, budget) and software bids for you. It is not a format or a channel but a way of buying, used for display, video, audio and other formats.

This guide explains which platforms take part, what happens during the auction, the deal types that exist, how the price is set, and what to check so that you do not overpay intermediaries.

The pieces of the chain

PieceWorks forWhat it does
DSP (demand-side platform)Advertiser or agencyReceives impression offers, decides whether they match your rules, and bids
SSP (supply-side platform)PublisherPuts the site's impressions up for sale and looks for the best price among connected buyers
Ad exchangeBoth sidesThe marketplace where offers and bids meet and the auction runs
Ad serverEach side has its ownServes the creative, counts impressions and clicks, applies frequency caps
Ad networkBrings both togetherGroups its own inventory and advertisers; can work alone or connect to exchanges

The common language these platforms use to ask for and answer bids is OpenRTB, the real-time bidding protocol maintained by the IAB Tech Lab. Because of it, one SSP can request bids from dozens of DSPs at once in the same message format.

What happens in one impression, step by step

  1. A visitor opens a page with an ad slot.
  2. The site, through its SSP or its bidding code, announces an impression for sale with data such as slot size, country, device and URL.
  3. Each connected DSP compares that data with its advertisers' campaigns and decides whether to bid, and how much.
  4. The exchange collects the bids, applies the publisher's floor price and picks the winner.
  5. The winning creative loads in the slot and the impression is recorded, usually before the page has finished loading.

When the site asks several SSPs for bids at the same time before deciding, that is header bidding, a publisher-side technique to make more buyers compete for each impression.

Types of programmatic deals

TypeWho can buyPriceInventory
Open auctionAny connected buyerWhatever the auction producesNot guaranteed
Private marketplace (PMP)Invited buyers onlyAuction with an agreed floorNot guaranteed
Preferred dealOne buyer with priorityFixed, agreed in advanceNot guaranteed
Programmatic guaranteedOne named buyerFixed, agreed in advanceReserved volume

When each one pays off is covered in our guide to private marketplace deals versus open auction.

How the price is set: first and second price

In a first-price auction the winner pays exactly what it bid. In a second-price auction it pays just enough to beat the next bid. The difference changes how you bid: at second price you can bid what the impression is really worth to you, because you will not overpay; at first price it pays to shade the bid down, because every cent above the runner-up is lost. Many of the large display exchanges run first-price auctions today.

Adstean, a self-serve network with its own auction, uses second price with Smart Bid: you pay the next bid plus 0.01 CPM, never more than your maximum and never less than the 0.10 CPM floor, and the default bid is 1.00 CPM. A worked example: with a maximum of 2.00 CPM and a next bid of 1.20, you pay 1.21.

Transparency: where the money goes

Between what the advertiser pays and what the publisher receives there are several fees (DSP, exchange, SSP and sometimes resellers). Three public tools show who sits in the middle:

  • ads.txt: a file on the publisher's site listing the sellers authorised for its inventory.
  • sellers.json: each selling platform's file identifying the sellers it works with.
  • SupplyChain object: the path of the impression, seller by seller, inside the bid request itself.

The guide to ads.txt, app-ads.txt and sellers.json explains what a buyer can verify with them, and the one on made-for-advertising sites how buyers filter inventory that exists only to sell ads.

Advantages and limits

  • Scale: you reach thousands of sites without negotiating with any of them.
  • Control: you decide audience, maximum price and budget, and change them whenever you want.
  • Measurement: every impression is recorded with its price and its source.
  • Limit, intermediaries: each layer keeps a share, and not all of them are visible.
  • Limit, quality: buying at scale also means buying inventory you have not seen; without exclusion lists and conversion data, waste goes unnoticed.
  • Limit, learning curve: a full DSP needs a team to run it; for small budgets a self-serve network with its own auction is usually more practical.

Programmatic vocabulary in one table

TermWhat it means in practice
Bid requestThe message announcing an impression for sale, with slot size, country, device, page and any deal it belongs to
Bid responseA buyer's answer: the price offered and the creative it wants to show
Floor priceThe minimum the publisher accepts; bids below it lose even if they are the highest
Deal IDThe code that ties an impression to a private marketplace or a fixed-price deal
Frequency capThe limit on how often the same person sees the same campaign
ViewabilityWhether the ad actually appeared on screen, not only whether it loaded
Brand safetyRules that keep ads away from content the advertiser does not want next to its name
First-party dataWhat a company knows about its own customers or visitors, used to build audiences

A first auction test for a small advertiser

  1. Decide the ceiling before the bid. Work out what a conversion is worth to you and how many you expect per 1,000 impressions; their product is the most you can pay per 1,000.
  2. Start narrow. One country, one device type, one landing page. Wide targeting in a first test produces averages that hide everything.
  3. Measure the result, not the delivery. Set up the conversion pixel or postback and check one real conversion before spending.
  4. Read the report by source after a week. In any auction some sources spend without converting; excluding them is usually worth more than any bid change.
  5. Change one thing at a time. Bid, budget, country or landing, never two at once, so you know which change moved the result.

Mistakes that make a first campaign look worse than it is

  • Judging by click-through rate. A cheap click that never converts is the most expensive result an auction can give you; judge by cost per sale or lead.
  • Bidding the ceiling on day one. At second price you rarely pay your maximum, but at first price you pay every cent of it. Know which rule applies before you set the number.
  • Ignoring the floor. If most of your bids lose, check the publishers' floor prices before you assume the traffic is not there.
  • Letting one source carry the campaign. When most conversions come from one or two websites, the campaign cannot grow beyond their volume. Spread the test before you scale it.
  • Forgetting the time zone. A schedule set in your time zone may run at night in the country you target, and real visitors sleep.

Where to start with a small budget

If you want to try auction buying without contracting a DSP, a self-serve network gives you the essentials: an auction, country and device targeting, daily and total budgets, and reports by website. The Adstean self-serve network starts with no monthly minimum, and the guide on buying targeted web traffic includes a one-week test plan.

Frequently asked questions

What is the difference between programmatic advertising and RTB?

RTB (real-time bidding) is the impression-by-impression auction. Programmatic is the whole set of automated ways to buy, which includes RTB and also fixed-price deals such as programmatic guaranteed.

Is programmatic advertising only display?

No. It started with banners, but video, audio, connected TV and in-app ads are bought the same way today.

What is a DSP and do I need one?

It is the software an advertiser uses to bid on exchanges. It is worth it with large budgets and teams; for small tests a self-serve network with its own auction is enough.

How does a publisher protect its inventory in programmatic?

By publishing a correct ads.txt, setting floor prices in its SSP and reviewing which buyers and formats it accepts, so that its space is not resold through paths it does not control.

Jordi Gellida Fontela
About the author
Jordi Gellida Fontela

Digital marketing at Impulso Red

Get started on Adstean

Buy traffic or monetize your website

From 1.00 CPM (minimum 0.10). Self-serve, no monthly minimum.

Free guide

We'll send you the free PDF guide

“Monetize your website with popunder traffic”: pricing, install, common mistakes and how to earn more. No spam.

Related reading

Expand the topic from the main network structure

Use these pages to keep exploring formats, advertisers, and publishers.

Private Marketplace Deals vs Open Auction: Choosing the Right Deal Type
Private Marketplace Deals vs Open Auction: Choosing th...

Deal type and pricing model answer two different questions. A pricing model - CPM, CPC, CPA - decide...

Ad Networks Explained: Types, Formats and How to Choose One
Ad Networks Explained: Types, Formats and How to Choos...

An ad network is the middleman that buys ad space from many websites and sells it to advertisers, so...

What Are Native Ads? Types, Examples and Costs
What Are Native Ads? Types, Examples and Costs

Native ads are paid placements designed to match the look and position of the content around them: a...

+34 684 713 731 WhatsApp