DSP vs SSP vs ad exchange: how programmatic buying works
What a DSP, an SSP and an ad exchange each do, how an impression is bought in milliseconds, and where your fees go along the way.
By Harshit Dabhi, Ad tech, media buying and martech professional
- Programmatic
- Ad tech
- DSP

Programmatic advertising runs on three kinds of platform: the demand-side platform (DSP), the supply-side platform (SSP) and the ad exchange between them. Knowing what each one does helps you choose partners, read your reports and understand where your money goes before it reaches a publisher.
The short version
- A DSP is software advertisers and agencies use to buy ad impressions.
- An SSP is software publishers use to sell their ad space.
- An ad exchange is the marketplace where bids from DSPs meet impressions from SSPs.
In practice, most large SSPs now run their own exchange, so the line between "SSP" and "exchange" has blurred.
What a DSP does
A demand-side platform lets a buyer manage campaigns across many sources of inventory from one place. In a DSP you:
- Set budgets, flight dates and bidding strategies.
- Define audiences, contexts, locations and devices.
- Upload creative and set frequency caps.
- Choose which exchanges, deals and publishers to buy from.
- Read reporting and optimise in flight.
Well-known DSPs include Google Display & Video 360, The Trade Desk and Amazon DSP. Each has strengths: The Trade Desk is independent and strong in CTV, DV360 connects to Google's ecosystem and YouTube, and Amazon DSP brings Amazon's shopping data. Our platforms page shows which ones we use.
What an SSP does
A supply-side platform helps publishers earn as much as possible from their ad space. It:
- Connects the publisher's ad server to many buyers at once.
- Runs or feeds auctions and applies price floors.
- Packages private deals for specific buyers.
- Blocks unwanted advertisers or categories.
Common SSPs include Magnite, PubMatic and Index Exchange. Publishers often connect to several SSPs at once through header bidding, so different SSPs compete for each impression.
What an ad exchange does
An ad exchange is the auction house. It receives impressions from publishers or SSPs, sends bid requests to DSPs and returns the winning bid. Exchanges set the auction rules, such as first-price auctions, and check basic quality.
How a programmatic impression is bought
- A person opens a web page or app.
- The publisher's ad server and header bidding wrapper send the impression to several SSPs and exchanges.
- Each exchange sends a bid request to connected DSPs, describing the page, device and context.
- Each DSP decides if the impression fits a live campaign and how much to bid.
- The highest valid bid wins, the creative loads and the impression is recorded.
All of this happens in a fraction of a second.
Where your money goes: fees in the supply chain
Between an advertiser's budget and the publisher's revenue sit several fees: the DSP fee, any data and verification costs, the exchange or SSP fee and sometimes reseller margins. Industry studies have repeatedly found that a significant share of programmatic spend never reaches the publisher. That is why buyers measure working media, the share of budget that buys real, viewable impressions. Try our working media calculator to see how fees change your effective spend.
Supply path optimisation (SPO)
The same impression is often offered by several SSPs and resellers. Supply path optimisation means buying through the shortest, cleanest routes: direct publisher relationships and authorised sellers listed in the publisher's ads.txt file. SPO usually cuts fees, reduces duplicate bidding and lowers fraud.
Which do you need?
If you are an advertiser, you need access to a DSP, either directly or through an agency. You won't usually choose SSPs yourself, but you can choose which supply sources and deals your DSP buys from. If you are a publisher, you need one or more SSPs. See our sell-side calculators for fill rate, eCPM and header bidding metrics.
Managed or self-serve DSP?
- Self-serve gives you full control and transparency, but needs skilled people and enough spend to justify platform minimums.
- Managed service through an agency gives you experienced traders, existing deals and verification setups without running the platform yourself.
FAQs
Is Google Ads a DSP?
Not exactly. Google Ads buys Google's own inventory and the Google Display Network. Display & Video 360 is Google's enterprise DSP for buying across many exchanges.
What is the difference between an ad network and an ad exchange?
An ad network bundles inventory from many publishers and resells it, often with a margin. An exchange is an open auction where buyers bid on individual impressions.
Can I buy from one publisher only?
Yes, through a private marketplace deal or programmatic guaranteed deal set up between your DSP and that publisher's SSP.
Next steps
Understanding the plumbing makes it easier to ask the right questions about fees, quality and transparency. For a deeper introduction, read what is programmatic advertising, or talk to us about running your programmatic buying.
About the author
Harshit Dabhi
Ad tech, media buying and martech professional
Harshit Dabhi is an ad tech, media buying and martech professional with international experience planning and buying media for global brands across programmatic, paid social, search, CTV, retail media and digital out-of-home. Writes about how media is bought, measured and made to pay back.