Practitioner · Lesson 1 of 5
What programmatic advertising is and how a DSP works
About 11 minutes · Yogender Kumar, Managing Partner
By the end of this lesson you'll be able to
- Explain how a DSP, an SSP and an exchange buy one impression
- Choose between the open auction, private deals and guaranteed buys
- Calculate the cost per sale behind a CPM price
Why this matters
A media plan quotes a £4 CPM. Your finance director wants to know what a sale will cost. This lesson shows how the buying works and how to turn that £4 into an answer.
The core idea
Programmatic advertising is buying ad space by software, one impression at a time. You don't agree each placement with each publisher. You set the audience, the budget and the bids, and the software buys the impressions that match.
Three systems do the work:
- The DSP (demand-side platform) is where you, the buyer, set up campaigns. It decides whether to bid on each impression and how much.
- The SSP (supply-side platform) works for the publisher. It offers each ad slot to buyers and tries to get the best price.
- The ad exchange is the marketplace where they meet.
This is real-time bidding (RTB). When someone opens a page or an app, the publisher's SSP describes the slot: the site, the ad size, the device and rough location. DSPs decide whether it suits a campaign and bid. The highest bid wins, usually paying its own bid, and the ad loads. All of that takes around a tenth of a second.
Prices are quoted as CPM, the cost per thousand impressions.
One impression, bought in about a tenth of a second
From page load to ad
Ways to buy
- Open auction: any buyer can bid. The most reach, and the most uneven quality.
- Private marketplace (PMP): invitation-only. It runs as an auction among invited buyers, or sometimes at a fixed price agreed with the publisher. Better quality, usually a higher CPM.
- Programmatic guaranteed: a fixed price for reserved volume with a named publisher, bought through the DSP.
My default for a new advertiser is private deals and a list of approved sites first. Widen into the open auction once the data shows where sales come from.
Worked example
Fenwick Tea is an imaginary UK tea company, so the figures here are illustrative. It's offered open auction display at a £4 CPM.
To compare that with other channels, it turns the CPM into a cost per sale, one step at a time:
- £4 buys 1,000 impressions.
- Click-through rate is 0.2%, so 1,000 impressions bring 2 clicks. Each click costs £4 ÷ 2 = £2.
- 1.5% of visitors buy, so a sale takes about 67 clicks. Each sale costs £2 ÷ 0.015 = £133.
Fenwick's average order is £45. Even with repeat orders, a customer is worth about £70 in contribution over a year. At £133 a sale, the plan doesn't work as it stands.
A private deal at an £8 CPM on food and cooking sites is also on the table. There, 0.4% of impressions are clicked and 2.5% of visitors buy:
- Each click costs £8 ÷ 4 = £2.
- Each sale costs £2 ÷ 0.025 = £80.
The CPM is twice as high, but the cost per sale is 40% lower. It's still above £70, so Fenwick would test it on a small budget and try to bring that cost down before committing.
Fenwick Tea's cost per sale, worked out from the CPM
In practice
- Turn every CPM into a cost per click and a cost per sale before comparing channels.
- Ask what each price includes: media, platform fees, data and verification.
- Start with private deals and an approved site list, then widen.
- Set a frequency cap from the first day.
- Judge the campaign on cost per sale, not CPM or clicks.
Common mistakes
- Buying on CPM alone. A cheap impression that nobody notices costs more per sale than a dear one that sells.
- Leaving the DSP to optimise for clicks. It will find cheap clicks, often accidental ones in mobile apps. Optimise towards sales where you can.
- Forgetting the fees. Platform and data fees can add a large share on top of media. Get the full cost before you compare.
Try it yourself
A DSP campaign costs £5 per thousand impressions. 0.25% of impressions are clicked, and 2% of visitors buy. What does each click cost, and what does each sale cost?
Show answer
1,000 impressions bring 1,000 × 0.25% = 2.5 clicks, so each click costs £5 ÷ 2.5 = £2. Each sale costs £2 ÷ 0.02 = £100.
Quick check
Not scored. Pick an answer to see the explanation.
Who uses a DSP?
A campaign has a £6 CPM and 0.3% of impressions are clicked. What does each click cost?
Key takeaways
- A DSP bids for the buyer, an SSP sells for the publisher, and they meet on an exchange.
- Private deals cost more per thousand but often less per sale.
- Cost per click is CPM ÷ (1,000 × click-through rate).
- Cost per sale is cost per click ÷ conversion rate.
Further reading: the full guide on our blog

