Skip to content

Home/Blog

What programmatic advertising is and how it works

2026-09-087 min read

Every time someone opens a page with advertising on it, an auction takes place that lasts less than a blink. This guide to programmatic advertising explains what happens in those milliseconds, who takes part, and why selling advertising no longer looks anything like it did fifteen years ago.

"Programmatic" does not describe a type of ad, but who decides

In short: programmatic advertising is the automated buying and selling of ad space. Software decides in milliseconds which ad appears on each impression and what it sells for.

The word sounds like difficult technology and actually points at something fairly simple: the decision about which ad is shown, to whom and at what price is not made by a person but by a program, and it is made at the very moment the page is loading. Not so long ago that decision was made days in advance, in a sales meeting, and written into a contract. Today it is made slot by slot, millions of times a day.

From this follows something worth being clear about from the start: in programmatic you do not sell "a spot on the homepage for a month". You sell an impression: a single load of an ad on one person's screen at one specific moment. And each impression is valued on its own.

What happens between someone opening the page and seeing the ad

The browser starts building the page and reaches an ad slot. Instead of fetching an ad that has already been decided, it fires a bid request: a message describing the opportunity. It usually includes the page address or its topic, the format and size of the slot, the device, the country, the language, whether the slot will be in view as soon as it loads, and what the user has consented to regarding data.

That message travels to several buyers at once. Each one decides in milliseconds whether it is interested and how much it is willing to pay. The highest bid wins, the winning creative is returned and the browser paints it. All of that happens while the page finishes loading, and the time available is very short: if the auction drags on, the slot is left empty or falls back to a worse-paying alternative. That is why speed is not a technical detail, it is money.

Who is who in the chain

The industry's names come up constantly and are almost never explained. These are the main roles:

  • Publisher, or media owner: whoever owns the site or the app. They provide the inventory, which is what the set of available ad slots is called.
  • Advertiser: whoever wants to appear. They almost always buy through an agency or a specialised team.
  • SSP (supply-side platform): the system a publisher uses to take its inventory to market, set rules and minimum prices, and receive bids.
  • DSP (demand-side platform): the system the advertiser buys with. That is where budget, targeting criteria and how much each impression is worth to them are defined.
  • Ad exchange: the marketplace where supply and demand meet. The line between exchange and SSP has blurred, and many companies now do both.
  • Ad server: the piece that decides what is finally served and keeps count of impressions, clicks and revenue. It is where directly sold campaigns and auction-won ones coexist.

The real-time auction, or RTB

RTB stands for real-time bidding, and it is the mechanism that holds up almost everything else. It works like a sealed-bid auction: the SSP sends the request, each DSP replies with a price and a creative without seeing what the others are offering, and the SSP declares the highest payer the winner. There are no successive rounds and no time to react, because each buyer only gets one shot. Header bidding is the technique that sends that same opportunity to several SSPs at once, so they compete with each other.

It is worth noticing what is being auctioned. Not the space, but the opportunity. The same unit in the same section can be worth very different amounts depending on the hour, the country the visit comes from, the device, the context of the article, or the information that lets a buyer recognise an interest. That is why a publisher's revenue is never a flat line.

The ad you see was not reserved for that page: it was decided while the page was loading.

How the price is formed

Prices are almost always expressed as CPM, cost per thousand impressions: what the advertiser pays for every thousand times its ad loads. For years the auction settled at second price, meaning the winner paid slightly more than the second-best bid; the industry has been moving towards first price, where the winner pays exactly what it bid.

The change forces buyers to sharpen their calculations and makes the outcome depend more on the seller's rules. What each metric measures and which one to watch is covered in CPM, RPM and fill rate.

The main one of those rules is the floor price: the minimum below which the publisher will not sell. Setting it high protects the value of the inventory but leaves slots unfilled; setting it low fills everything at the cost of lowering the average. There is no universally correct number, which is why managing inventory is continuous work rather than a setting you configure once.

How it differs from the direct buying of the past

The earlier model was a sales team, a rate card and a contract. Space was sold by weeks, by sections, at an agreed price, and the publisher knew in advance what it would earn. It had obvious advantages: a direct relationship with the advertiser, predictability and control over who appeared. And one big limitation, because whatever the team failed to sell was left empty or placed at any price.

Programmatic did not come to replace that, but to put a market behind it. Direct sales are still, for many publishers, what pays best; programmatic picks up everything else and puts on it a price set by real competition for each impression. In fact, much of what is agreed today with a specific advertiser ends up being executed through the same machinery.

Not everything is an open auction

Programmatic covers very different kinds of arrangement, from the open market to a closed contract:

  • Open auction: any authorised buyer can bid for the impression. This is the open market.
  • Private marketplace or PMP: an auction closed to a group of invited buyers, usually with a higher minimum price.
  • Preferred deal: one buyer sees the impression before anyone else at an agreed price; if it passes, the impression carries on to the auction.
  • Programmatic guaranteed: volume and price locked in by contract, like a direct sale, but delivered through the same technical pipes.

What all of this means for a media owner

The practical consequence is that revenue stops depending on a negotiated price and starts depending on how much competition there is for each impression. That translates into measurable things: how many demand sources really bid on the inventory, what minimum prices are set, how long the auction takes to resolve, what share of the ads actually get seen, and how well each opportunity is described.

Consent belongs on that list, and not only as a legal obligation. When there is no basis for processing data, the bid request goes out with less information, and a poorly described opportunity tends to attract fewer buyers. Understanding the mechanics is useful for exactly that: knowing which levers exist before pulling them, and telling a market problem apart from a problem of your own.

Are programmatic and RTB the same thing?

No. Programmatic is the whole automated buying and selling system; RTB is one of its mechanisms, the real-time auction. Deals without an open auction, such as private marketplaces or automated guaranteed sales, are programmatic too.

What does a website need to sell its ads programmatically?

Traffic that buyers are interested in, an ads.txt file declaring who may sell its inventory, and a platform or partner that connects it to demand. How to set up that file is covered in the ads.txt and sellers.json guide.

Is AdSense programmatic advertising?

Yes: AdSense sells your inventory automatically, but through a single seller. What changes with other solutions is how many buyers compete for the same impression, as we explain in AdSense alternatives.

How much can you earn with programmatic advertising?

There is no general figure: it depends on the country of your visitors, your topic, your formats and how much competition reaches each impression. That is why it is measured in RPM, what you earn per thousand page views, and not by what a single ad pays.

How we handle this at ADEQ Media

Everything above describes the mechanism. What changes depending on who you work with is how many buyers actually end up bidding on your inventory. At ADEQ we connect several premium demand partners that compete for each impression at the same time through header bidding, instead of asking one after another.

On top of that come direct campaigns negotiated at a fixed CPM in verticals such as Forex and betting. Those do not depend on what was bid that day, so that part of your revenue can be forecast rather than discovered at the end of the month.

On your side it is one Header Script and your ads.txt. Setup and optimization are handled by a dedicated account manager with 24/7 support, and you go live in 48 hours. The detail is in the FAQ.

What could your inventory earn?

We analyse your site and tell you what can be improved. No commitment.

Already working with us? Log in

Live in 48 h Reply within 24 h No lock-in