TapCub is live — analytics, insights and live chat, free on one platform
Glossary

What is programmatic advertising? How it works and how to measure it

Programmatic advertising buys and sells ad space through software. How one impression is bought, the main deal types, which numbers belong to which system and how to cost a campaign per conversion.

Emma Collins Reviewed by Chloe Morgan Also called programmatic ads Last updated Nov 19, 2026 Glossary

Quick answer

Programmatic advertising is the buying and selling of ad space through software instead of manual negotiation. An auction or pre-agreed deal decides who gets each slot as the page loads; the advertiser's result on its own site is measured separately.

Formula: CPM = spend ÷ impressions × 1,000; CPA = spend ÷ conversions

What is programmatic advertising?

Programmatic advertising is the buying and selling of ad space through software instead of through emails, phone calls and signed insertion orders. A publisher's ad slot is offered to buyers automatically, an auction or a pre-agreed deal decides who gets it, and the ad is chosen while the page or app screen loads.

"Programmatic" describes the transaction, not the channel. The same method buys display banners, video, audio, connected TV and digital out-of-home screens. It is also not the same as "real-time bidding": real-time bidding is one way programmatic buying is done, in which each impression is auctioned as it appears. Other programmatic deals are fixed in advance and only delivered automatically.

What the advertiser pays for is an impression. What the advertiser wants is a result on their own site, which programmatic systems cannot see. That gap is why the measurement half of this topic lives in your analytics.

How does a programmatic ad get bought?

A simplified path for one impression:

  1. A person opens a page or app with an ad slot.
  2. The publisher's system (a supply-side platform) sends an ad request describing the slot, and information such as the page and device.
  3. The request goes to buyers, directly or through an ad exchange. IAB Tech Lab's OpenRTB specification defines an exchange as a service that conducts an auction among bidders per impression.
  4. Buyers' systems (see demand-side platform) decide whether to bid and how much.
  5. The winning ad is returned and displayed. Google's documentation says the whole process occurs in less than a second.
  6. The impression is counted, and later a click, view or conversion may be recorded.

Everything between steps 2 and 5 is invisible to your website. Your analytics script only runs if the person then clicks or visits.

What are the main ways to buy programmatically?

Deal typeHow the price and inventory are setTypical reason to choose it
Open auctionAny eligible buyer bids per impressionReach at flexible scale
Private auction (private marketplace)Only buyers the publisher has approved can bidMore control over where ads run
Preferred dealA fixed price negotiated with specific buyers, offered before the auctionPredictable price with some flexibility
Programmatic guaranteedA fixed number of impressions the buyer commits to, at a fixed price and datesGuaranteed placement and delivery

The first two are auctions; the last two are negotiated deals that are executed by software, as Google's transaction-type documentation lays out. Which one you use changes cost and control, but not what you need to measure on your own site.

Which metrics belong to which system?

Programmatic reports and website analytics count different events, so split them by owner:

  • Ad platform: impressions, clicks, click-through rate, CPM, cost per click, completed views.
  • Your analytics: sessions that arrived, which source and campaign they carried, pages seen, bounce, conversions.
  • Both, to be reconciled: clicks versus landing sessions, conversions each side credits.

Useful formulas: CPM = spend ÷ impressions × 1,000; CTR = clicks ÷ impressions; CPA = spend ÷ conversions. More KPI definitions are in KPIs for advertising.

A worked example: from impressions to cost per conversion

Sample data: a $12,000 programmatic display campaign with a $4 CPM.

StepCalculationResult
Impressions$12,000 ÷ $4 × 1,0003,000,000
Clicks at 0.10% CTR3,000,000 × 0.0013,000
Cost per click$12,000 ÷ 3,000$4.00
Landing sessions recorded2,400 (80% of clicks)2,400
Sessions flagged as bots150150
Human sessions2,400 − 1502,250
Conversions6060
Conversion rate (human sessions)60 ÷ 2,2502.67%
Cost per acquisition$12,000 ÷ 60$200
Return on ad spend at $120 per order60 × $120 ÷ $12,0000.6

Three things to notice. First, 600 clicks never became recorded sessions: people closed the page, the page loaded too slowly, or the click was accidental or invalid. Second, if the bot sessions had stayed in the denominator, the conversion rate would read 2.5% (60 ÷ 2,400) instead of 2.67%: small here, large on campaigns with a lot of invalid traffic. Third, the campaign "wins" on cost per click and loses on return: $0.6 back per $1. Cheap impressions are not the goal; cost per outcome is.

How do programmatic, RTB, DSP and ad network relate?

These terms sit at different levels, which is why they are so often mixed up:

  • Programmatic advertising is the whole idea: software handles the buying and selling.
  • Real-time bidding is one transaction method inside it: each impression is auctioned as it appears.
  • Demand-side platform is the buyer's system; a supply-side platform is the seller's. OpenRTB treats the first as bidders acting for advertisers and the second as suppliers of publisher inventory.
  • Ad network is an older model that bundles many sites' ad space and sells it as one package.

A buyer can use more than one at once: an auction through a demand-side platform on Monday, a negotiated deal on Tuesday, a network package on Wednesday. Each reports its own numbers in its own way, so the tagging scheme on your landing pages is what holds the comparison together.

Common mistakes with programmatic advertising

  • Optimizing to clicks. Click-through rate rewards accidental taps. Judge by conversions on the landing page.
  • Trusting one report. The ad platform and your analytics should be reconciled each week, not at quarter end.
  • Untagged traffic. Without UTM parameters, programmatic visits fall into direct or referral and cannot be separated.
  • Ignoring where the ads ran. Open auctions include inventory you may not want to be near; deal types with more control cost more.
  • Skipping the seller check. Publishers list who may sell their space in a public file (ads.txt), and buyers can verify it; unlisted sellers are a risk.

How to measure programmatic campaigns in TapCub

Take the $12,000 campaign above. TapCub does not buy, bid on or optimize programmatic ads; it measures the landing-page side.

  1. Tag every ad with the same UTM scheme. utm_source for the platform, utm_medium for the format, utm_campaign for the campaign. Naming rules are in name UTM parameters.
  2. Read the campaign in Sources. Web analytics › Sources › UTM shows visitors, sessions, pageviews, bounce and duration per campaign. Ad click IDs are kept as a separate table: type and hash only, never the raw ID. See track ad click IDs.
  3. Check the traffic is human. Web analytics › Bots lists recognised crawlers separately, so they do not inflate visitors or push down the conversion rate.
  4. Count conversions with a goal. Web analytics › Goals gives people-based conversions that you can compare with the platform's own figure.
  5. Import the spend. All-platform analytics › Business › Channel ROI accepts daily spend by channel, source or campaign and returns cost per click (spend ÷ sessions), cost per acquisition (spend ÷ purchases in orders) and return on ad spend.

For credit across several channels, select more than one model at once in Behavior analysis; see compare attribution models and UTM.

See also: What is an advertiser? Roles, what they pay for and the numbers they should calculate.

See also: What is an ad exchange? How a real-time ad auction works step by step.

See also: What is ad tech? The supply chain from advertiser to publisher, layer by layer.

See also: What is an ad server? What it does, the metrics it reports and why its clicks never match your analytics.

Sources

Was this explanation clear?

We use your answers to fix and expand this page.

Emma Collins

Product Analyst

Focuses on event analysis, conversion funnels, and retention, using clear metric definitions and structured analysis to explain product performance.

FAQ

Questions people ask

Short answers to the follow-up questions that come up most.

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

What is programmatic advertising in simple terms?

It is buying and selling ad space with software. A publisher's slot is offered to buyers automatically, an auction or a pre-agreed deal decides who gets it, and the ad is chosen while the page loads. The method works for display, video, audio and connected TV.

Is programmatic advertising the same as real-time bidding?

No. Real-time bidding is one way programmatic buying is done, with each impression auctioned as it appears. Other programmatic deals, such as preferred deals and programmatic guaranteed, are negotiated in advance and only delivered automatically.

What are the main programmatic deal types?

Open auction, private auction, preferred deal and programmatic guaranteed. The first two are auctions with different bidder lists; a preferred deal is a fixed price offered before the auction; programmatic guaranteed commits a fixed number of impressions at a fixed price.

How do you measure programmatic ads?

Use the ad platform for delivery: impressions, clicks and cost per thousand. Use your own analytics for what arrives and converts, by tagging every ad with UTM parameters. Reconcile clicks with landing sessions and compute cost per conversion with your own counts.

See this number on your own site

Add one script tag for web and apps, and the first reports fill in within minutes.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics