How Programmatic Advertising Actually Works

Alex Whitman
Date :
How Programmatic Actually Works (The Full Technical Picture)
Understanding the mechanics of programmatic is essential for making good strategic decisions. What follows is a simplified but accurate description of the technology stack that serves billions of impressions daily.
When a user loads a webpage, the publisher's ad server sends a bid request to their Supply-Side Platform (SSP). The SSP packages information about the impression—URL, content category, user signals (where available), ad slot dimensions, floor price—and sends it simultaneously to multiple ad exchanges. The exchanges distribute these bid requests to Demand-Side Platforms (DSPs) subscribed to those exchanges. Your DSP evaluates each bid request against your campaign targeting parameters and predicted conversion probability, calculates a bid price, and returns it to the exchange within ~50 milliseconds. The highest bid wins, the ad serves, and the entire process has occurred before the page finishes loading.
DSP Selection: The Most Important Infrastructure Decision
Your choice of DSP determines your access to inventory, your targeting capabilities, your reporting granularity, and your ability to activate first-party data. There is no universally "best" DSP—the right choice depends on your business context.
The major DSPs and their positioning:
The Trade Desk (TTD): The leading independent DSP by market share outside the Google ecosystem. Exceptional identity graph (Unified ID 2.0), strong CTV capabilities, best-in-class reporting transparency. Preferred by sophisticated agency and in-house teams who want control and visibility.
Google DV360: Best integration with the Google ecosystem (YouTube, GMP stack, Google Audiences). Essential for brands heavily invested in Google's walled garden. Less transparent than TTD in supply path reporting.
Amazon DSP: Unmatched for retail media targeting—Amazon's first-party shopping data (purchase history, product browsing, category affinity) is unique in the industry. Best for e-commerce and CPG brands. Limited inventory outside the Amazon ecosystem.
Xandr (Microsoft): Strong premium publisher relationships and good identity capabilities. Growing CTV footprint. Well-suited for B2B and financial services advertisers.
Many sophisticated advertisers run 2–3 DSPs simultaneously to access different inventory pools and avoid over-dependence on any single platform. This approach requires more operational overhead but delivers meaningful incremental reach and supply diversification.
Inventory Types: Open Auction vs. Private Deals
How you access inventory is as important as which inventory you access. The spectrum runs from open, uncontrolled auction to fully reserved, premium placements.
Open Auction (Open RTB):
Maximum reach, minimum quality control. You're bidding alongside every other advertiser for inventory that publishers haven't reserved for premium deals. This typically means lower-quality placements, higher risk of ad fraud and brand safety incidents, and the presence of made-for-advertising (MFA) sites that exist purely to capture programmatic revenue. Appropriate for prospecting at scale with robust brand safety filters—but should not be your only buying approach.
Private Marketplace (PMP) Deals:
A deal ID negotiated between you and a specific publisher gives your DSP privileged access to that publisher's premium inventory at pre-agreed terms. You still bid in real time, but you're bidding in an auction with a limited set of buyers (often just you) against a floor price.
Programmatic Guaranteed (PG):
Reserved inventory, guaranteed impression volume, fixed CPM. You negotiate directly with the publisher, agree on audience, placement, and price, and the inventory is reserved for your campaign. The programmatic component automates the trafficking and reporting. Highest CPMs, lowest delivery risk, maximum placement quality. Ideal for brand launches, seasonal campaigns, and premium placements where guaranteed delivery matters.
Best Practice
For brand campaigns: default to PMP and PG. For performance campaigns: use open auction with aggressive brand safety controls. Never run brand campaigns in unfiltered open auction—the placement quality and brand safety risk simply isn't worth the CPM savings.
Supply Path Optimization (SPO): Your Biggest Efficiency Opportunity
Supply path optimization is the process of auditing and streamlining the intermediary chain between your DSP and the publisher where your ad ultimately serves. It's one of the most significant and underutilized efficiency levers in programmatic—and most advertisers have never done it.
Here's the problem: the same impression on the same publisher site can reach your DSP through 3–8 different supply paths, each involving different SSPs and exchanges, each taking a margin cut. You might pay $8 CPM for an impression that the publisher sees only $3.50 of—the rest has been absorbed by intermediaries. SPO means identifying and preferring the supply paths where more of your media dollar reaches the publisher, and cutting the paths with excessive intermediary hops.
How to implement SPO:
Pull path transparency reports from your DSP (most major DSPs now surface this data)
Identify which SSPs are providing most of your impressions from key publishers—and which are providing the same impressions through longer paths
Establish preferred seller relationships (sellers.json and ads.txt verification) with the 5–10 SSPs that provide direct publisher relationships
Reduce spending through SSPs that can't demonstrate direct publisher relationships for your key placements
Brands that have implemented rigorous SPO programs report 15–25% improvement in working media efficiency—meaning more of their budget reaches actual publisher inventory rather than intermediary margins.
AI and Predictive Bidding: How It Works
Modern DSPs use machine learning to evaluate each bid request not at the audience segment level but at the individual impression level. For each of the millions of bid requests your DSP evaluates daily, the algorithm considers: contextual signals (what is the page about?), behavioral signals (where available and privacy-compliant), temporal signals (time of day, day of week, proximity to events), device and environment signals, and historical conversion data from your own campaigns.
The algorithm then predicts the probability that this specific impression will lead to a conversion for your specific goal, and bids accordingly. Impressions predicted as high-probability converters receive aggressive bids; impressions with low predicted probability receive low bids or no bid at all.
The quality of this prediction is almost entirely determined by the richness of your conversion signal. DSPs with strong conversion feedback loops (frequent, accurate conversion events flowing from your site back to the DSP) dramatically outperform those operating on sparse or delayed conversion data. Setting up real-time conversion API integrations, rather than relying on pixel-based tracking, is the single most impactful technical investment you can make in your programmatic program.
Brand Safety, Ad Fraud, and Viewability
These three issues are programmatic's persistent vulnerabilities, and they require active, ongoing management rather than a one-time setup.
Brand safety:
Apply pre-bid filtering through IAS or DoubleVerify to block inventory in categories your brand shouldn't appear alongside: news content (depending on brand sensitivity), UGC platforms, made-for-advertising sites, inflammatory political content, and the newest category—AI-generated content farms. Post-bid reporting tells you where your ads served; pre-bid filtering prevents the spend in the first place.
Ad fraud (IVT):
Invalid traffic—bot traffic, pixel stuffing, domain spoofing, and ad stacking—accounts for an estimated 10–15% of open market impressions. Pre-bid IVT filtering from MRC-accredited vendors (IAS, DoubleVerify, HUMAN Security) removes the vast majority of detectable fraud before your bid. Post-bid monitoring catches fraud patterns that evaded pre-bid filters.
Viewability:
An ad that serves below the fold and is never seen by a human delivers exactly zero value regardless of how precisely targeted it was. Set minimum viewability thresholds: 70%+ for display, 50%+ for video (MRC standard) as a floor, with 85%+ display viewability as your target for premium placements. Expect CPMs to rise as you increase viewability floors—the correlation is strong. The trade-off is almost always worth it.
Connected TV (CTV): Programmatic's Growth Frontier
CTV—streaming video served to television screens—is the fastest-growing segment of programmatic advertising, with US spend crossing $30 billion in 2025. The combination of TV-quality creative, addressable household targeting, and programmatic buying mechanics makes CTV a uniquely powerful format for both brand and performance goals.
