What is programmatic advertising? A complete guide
How programmatic advertising works, from DSPs and auctions to deal types, targeting, costs and how to measure it, explained in plain English.
By Harshit Dabhi, Ad tech, media buying and martech professional
- Programmatic
- DSP
- Media buying

Programmatic advertising is the automated buying and selling of digital ad space. Instead of a media buyer emailing a publisher, agreeing a price and sending creative, software does it: an advertiser sets the audience, budget and rules in a platform, and that platform bids for individual ad impressions in real time, across thousands of websites, apps, streaming services and digital screens.
Today most display, online video, connected TV and digital out-of-home inventory can be bought this way. If you have ever seen an ad for something you looked at yesterday, you have seen programmatic at work. This guide explains how it works, what it costs and how to buy it well.
How programmatic advertising works
Every time a page or app with ad space loads, a tiny auction can take place in roughly the time it takes the page to appear:
- The publisher's ad server offers the impression for sale, with information about the page, the device, the approximate location and, where consent allows, the user.
- A supply-side platform (SSP) packages that impression and sends a bid request to many buyers at once.
- Demand-side platforms (DSPs), used by advertisers and agencies, decide whether the impression matches a campaign's audience and rules, and how much it is worth.
- The highest valid bid wins, the ad is served and the impression is logged for reporting.
Because each impression is judged on its own, you pay for the people and contexts you want instead of a whole website's audience. We explain the roles of each platform in our guide to DSPs, SSPs and ad exchanges.
What you can buy programmatically
- Display and native: banners and in-feed ads on websites and apps.
- Online video: pre-roll and outstream video on publishers and platforms.
- Connected TV (CTV): ads inside streaming apps on smart TVs. See our CTV advertising guide.
- Digital audio: music streaming, podcasts and digital radio.
- Digital out-of-home (DOOH): screens in malls, airports, transit and roadsides, bought by the impression.
Ways to buy: open exchange and private deals
Programmatic is not one marketplace. You can buy on the open exchange, where any buyer can bid, or through private marketplaces (PMPs), preferred deals and programmatic guaranteed arrangements with specific publishers. Private deals usually cost more per thousand impressions but give better quality, brand safety and access to premium inventory. Our comparison of PMP vs open exchange vs programmatic guaranteed covers when to use each.
How targeting works
Programmatic targeting combines several signals:
- First-party data: your customer lists and site visitors, matched in a privacy-safe way.
- Contextual targeting: the content of the page or video, which works without cookies.
- Audience segments: interest and in-market groups from data providers.
- Location: from country down to a radius around a store. See geofencing explained.
- Device, time and frequency controls, so the same person isn't shown the same ad twenty times.
The best results usually come from combining a few strong signals rather than stacking many weak ones, which shrinks the audience and raises prices.
What programmatic advertising costs
Programmatic is usually priced on CPM, the cost per thousand impressions. As a rough guide, open-exchange display often runs from about $1 to $5 CPM, premium display and native from $5 to $15, online video from $10 to $30 and CTV from $20 to $50 or more, depending on market, audience and deal type. Use our CPM calculator to work out costs for your own budget.
Remember that the media price is not the whole cost. Platform fees, data costs and verification can take a meaningful share of spend, which is why buyers track the working media share of the budget. Our working media calculator shows how much of each dollar reaches real impressions.
Quality: viewability, fraud and brand safety
Cheap impressions are only cheap if people see them. Strong programmatic buying checks three things on every campaign:
- Viewability: whether the ad had a real chance to be seen. Track it with the viewability rate calculator.
- Invalid traffic (IVT): bots and fraudulent placements. See the IVT rate calculator.
- Brand safety and suitability: keeping ads away from content that doesn't fit your brand.
We cover these in depth in viewability and invalid traffic explained.
How to measure programmatic campaigns
Match the metric to the goal. Awareness campaigns are judged on reach, frequency, viewable CPM and brand lift. Performance campaigns are judged on cost per acquisition and return on ad spend; use the CPA calculator and ROAS calculator to set targets. Wherever possible, test incrementality, because last-click reports tend to over-credit retargeting.
Common mistakes to avoid
- Chasing the lowest CPM, which often means low viewability and more fraud.
- Too many targeting layers, which starves campaigns of scale.
- No frequency cap, which annoys people and wastes budget.
- Judging on clicks alone, when many display and video conversions happen later, through other channels.
- Ignoring supply paths, so the same impression is bought through several resellers with extra fees.
FAQs
Is programmatic advertising the same as display advertising?
No. Display is a format; programmatic is a buying method. You can buy display programmatically, and you can also buy video, audio, CTV and DOOH programmatically.
How much budget do I need to start?
Many DSPs work with modest budgets, but you need enough impressions for the algorithms to learn and for results to be meaningful. For most brands that means at least a few thousand dollars a month per campaign.
Is programmatic advertising safe for my brand?
It can be, with the right controls: verification partners, inclusion and exclusion lists, private deals with trusted publishers and regular placement reviews.
Get help with programmatic
Programmatic rewards careful setup and constant optimisation. If you want an expert plan, see our programmatic advertising service or request a proposal.
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.