Programmatic advertising buys ad space through automated auctions

Programmatic advertising is the practice of buying online ad space through software instead of negotiating with each website or app by hand. When someone loads a page, an auction can run in a fraction of a second before the page finishes appearing. The highest bid wins the slot, and that bidder's ad is shown. For marketers, the main appeal is targeting: you set rules about which kinds of people, sites and devices should see your message, and you usually pay per thousand impressions or per click.

Four types of company handle most of the work. A demand-side platform (DSP) is where advertisers and agencies set budgets, targeting rules and bids. A supply-side platform (SSP) is where publishers, such as news sites and mobile apps, offer their ad space for sale. An ad exchange connects the two and runs the auction. A data management platform (DMP) stores audience information such as past visits or interest groups, although its role has shrunk as privacy rules have tightened.

The useful question before you spend is not whether programmatic advertising works in general. It is which steps you control, which you pay for, and which you cannot see. Those answers depend on the platforms you choose, your campaign goal, and the privacy rules in the countries where your audience lives.

Key Takeaways

This educational guide covers the main points that shape how programmatic campaigns are bought, measured and checked. The list below summarises them.

  • Each ad slot is sold in its own auction, so your bid, your targeting rules and the platform fees together decide what you pay and whether you win.
  • A typical campaign passes through a demand-side platform, an ad exchange and a supply-side platform, and each one may take a share of your spending.
  • Platforms count impressions, viewability and conversions in different ways, so ask each vendor exactly how it defines and filters them.
  • Publisher files such as ads.txt and sellers.json, maintained by the IAB Tech Lab, can help you check whether a seller is authorised to sell a publisher's space.

Treat these points as questions to bring to your vendors rather than settled facts about any single platform. Rules and industry standards change over time, so confirm the current details with the companies you work with.

How one ad impression is bought in a fraction of a second

The process starts when a visitor opens a page or app that has ad space. The publisher's SSP sends a bid request to an ad exchange. That request contains anonymous details about the slot and the visitor, such as the page category, device type, approximate location and, where allowed, an identifier linked to the browser or phone. The exchange forwards the request to many DSPs at once. Each DSP's bidding system checks it against the rules and budgets its advertisers have set, then returns a bid or passes.

The exchange then picks a winner. The rules matter here. In a second-price auction, the winner pays just above the next-highest bid. In a first-price auction, the winner pays what it bid. Many exchanges have moved toward first-price auctions in recent years. Under those rules, bidding your true maximum usually overpays, so many buyers use bid-adjustment tools that try to bid just enough to win. Ask your DSP which auction type applies to each exchange it buys from.

After the auction, the winning ad is served to the page, and a record of the impression is sent back to the systems involved. That record is what you later see in reports. Because the whole chain runs automatically, a campaign can place thousands of small purchases across many sites without a person reviewing each one. The same speed is why errors and unwanted placements can spread quickly if rules are set badly.

Where your budget goes between you and the publisher

Your media budget rarely arrives at the publisher in full. Each platform in the chain may take a fee, and some campaigns also pay for data, verification or measurement services. Industry commentators often call the combined total the "ad tech tax," though the size of that total varies widely by platform, deal type and campaign. There is no single standard percentage, so you should not assume a fixed share.

The table below shows the main parties in a typical programmatic buy, what each usually earns, and what to ask about it.

PartyRole in the buyHow it is usually paidQuestion to ask
Agency or advertiserSets goals, budget and targetingIts own budgetWhich fees sit between my spend and the publisher?
Demand-side platform (DSP)Runs bids for your campaignFee on spend, often a percentage or a cost per thousand impressionsWhat is your fee, and does it change by exchange or data type?
Ad exchangeRuns the auctionFee taken from the auction priceWhich auction type do you use, and how is my winning price set?
Supply-side platform (SSP)Sells the publisher's spaceFee taken from the publisher's revenueIs this publisher listed as authorised to sell this space?
Data providerSupplies audience segmentsExtra cost per thousand impressions, if usedIs this audience data permitted under current consent rules?

Fees matter most when margins are thin or when a campaign buys many small placements. Ask for a breakdown of every charge on your invoice, not just a headline media cost. A clear breakdown makes it easier to compare vendors and to notice when a fee has been added without warning.

Targeting without relying on third-party cookies

For years, much programmatic targeting depended on third-party cookies, which are small files that let one company recognise a browser across many unrelated websites. Browser makers and privacy regulators have pushed against these tools, and the rules have changed more than once. Check the current policy of each browser and operating system your audience uses, because the answer affects which targeting options still work and how reliably they do.

Several alternatives are in common use. Contextual targeting places ads based on the content of the page rather than on who is reading it. First-party data comes from your own customer lists, sign-ups and site visits, and it usually needs clear consent before it can be used for advertising. Mobile apps have their own permission prompts, and users can refuse tracking, which limits device-level targeting on those platforms.

Privacy law shapes all of this. In the European Union, the General Data Protection Regulation (GDPR) requires a lawful basis and, in many cases, consent for tracking. In the United States, the California Consumer Privacy Act (CCPA) and several other state laws give residents rights over how their personal information is sold or shared. A campaign that works in one country may need a different consent setup in another, so ask a may have access to legal adviser to review your setup before you launch in a new region.

Fraud, unsafe placements and unclear reports

Programmatic buying has known risks. Ad fraud includes bots that load ads nobody sees, and domain spoofing, where a low-quality site pretends to be a premium one. Ads can also appear beside content that does not match your brand, which the industry calls a brand safety problem. Verification vendors offer filters for these issues, but their settings are only as good as the rules you choose, and no filter catches everything.

Publisher-side files are one of the most practical checks. The ads.txt file, published by a website, lists the companies allowed to sell its ad space. sellers.json, maintained by the sellers themselves, lists the sellers in a given SSP or exchange network. Comparing the two can reveal resellers you did not expect. Viewability is another common measure. It asks whether an ad was actually in view on screen for a set time, and industry bodies such as the Media Rating Council set standards for how this should be counted.

Reporting differences are normal and confusing. The DSP, the ad server, the verification vendor and your own analytics may each show a different number of impressions or conversions. Agree on one source of truth before the campaign starts, write down how each metric is defined, and expect small gaps between systems.

Questions to ask before you launch a programmatic campaign

Before committing budget, put the main decisions in writing. Start by stating the goal, such as awareness, traffic or sales, because that choice shapes bidding and measurement. Next, ask your vendor to name each platform in the chain, its fee and its auction type. Then confirm the consent basis for any data you plan to use, and ask how the campaign will be checked for fraud and unsafe placements.

Finally, agree on reporting. Decide which metrics count as success, which system provides them, and how often you will review them. Set a small test budget first and compare results against your goal before scaling up. Those steps do not remove risk, but they make it easier to see where money is going and why.

Two trade-offs matter most. The first is reach and precision against transparency: programmatic can reach specific audiences quickly, but every extra layer of fees and data makes the chain harder to see. The second is targeting against privacy: the more personal data a campaign uses, the more consent and compliance work it needs, and the less certain its reach becomes as browser and platform rules change.

Frequently Asked Questions

What is the difference between a DSP and an SSP?

A demand-side platform (DSP) is the tool advertisers and agencies use to buy ad space and set bids. A supply-side platform (SSP) is the tool publishers use to sell their space. Both connect through an ad exchange, which runs the auction between them. Each one usually charges a fee, so the same impression can carry several layers of cost before it reaches your reports.

Does programmatic advertising still work without third-party cookies?

It can still work, but targeting options change depending on the browser, device and privacy rules involved. Many campaigns shift toward contextual targeting, first-party data and consented audiences. Check the current policies of the browsers and platforms your audience uses, and ask your vendor which targeting methods remain available for your campaign.

How can I check whether a publisher's ad space is being sold legitimately?

Start with the publisher's ads.txt file, which lists the companies allowed to sell its space. Compare those entries with the sellers listed in sellers.json for the networks involved. Ask your vendor to flag any seller that does not appear in either place. Verification vendors can also flag suspicious placements, though their filters should be reviewed rather than trusted without question.

Why do my DSP and ad server show different numbers?

Each system counts impressions, clicks and conversions by its own rules, and some filter out invalid traffic while others do not. Timing, attribution windows and how viewability is defined can also differ. Agree on a single source of truth before launch, write down each metric's definition, and expect small gaps rather than exact matches.