Up nextNext guide
AI in Government Benefits Administration
Industries
Industries GUIDE
AI in programmatic advertising is the use of machine learning to buy and sell digital ad impressions automatically, deciding in milliseconds which ad to show, to whom, and at what price.
It matters because much of today's display, video and connected-TV inventory is traded this way, so these models shape what ads people see, what publishers earn, and how much fraud and privacy risk the system carries.
When a page or app with ad slots loads, the publisher's supply-side platform sends a bid request, often in the OpenRTB format maintained by the IAB Tech Lab, to ad exchanges and demand-side platforms. The request describes the impression: site or app, ad size, device type, approximate location, and any user identifiers available. The whole auction typically has a time budget of around 100 milliseconds, and the winning ad is rendered before the user notices a delay. AI does most of the deciding. DSPs run models that predict click-through rate, conversion rate or viewability for each impression, then turn those predictions into bids. As the industry moved from second-price to first-price auctions between roughly 2017 and 2019 (Google Ad Manager switched in 2019), DSPs added bid shading: models estimate the lowest price likely to still win, so buyers do not overpay. On the sell side, SSPs set dynamic floors and decide which demand partners to call. Audience modeling historically depended on third-party cookies that follow users across sites. Safari blocks them by default and Firefox restricts them, and Apple's App Tracking Transparency (2021) restricted mobile advertising IDs. Google spent years planning to phase out third-party cookies in Chrome through its Privacy Sandbox, then in 2024 reversed course and said it would not force their removal. Even so, the industry has shifted toward first-party data, contextual targeting, data clean rooms and alternative identifiers. Ad fraud is a constant problem. Bots, hidden ads and spoofed domains drain budgets; the Methbot operation exposed in 2016 faked video views on counterfeit versions of premium sites. Detection models look for non-human behavior, and the ads.txt and sellers.json standards let buyers verify who is authorized to sell a site's inventory. A common misconception is that ad AI 'knows' individuals. Most models work with probabilistic signals, and a large share of targeting is contextual or modeled at group level.
Industry context determines whether AI ideas survive contact with reality.
Domain constraints influence acceptable error rates and oversight models.
Successful deployments align technical capability with frontline workflows.
Expect continued movement toward signals that do not rely on cross-site tracking: publisher first-party data, contextual models that understand page and video meaning, and clean rooms where advertisers and publishers match audiences without exchanging raw records. Retail media networks and connected TV are growing channels where these approaches are already common. Privacy laws in various jurisdictions will keep limiting what data can feed audience models, and measurement will lean more on modeled, aggregated attribution. Fraud will keep adapting, including generative AI used to mass-produce low-quality made-for-advertising sites, so verification and supply-path transparency will stay central. How browser cookie policies evolve further remains uncertain.
A demand-side platform (DSP) predicts the probability that a specific impression will lead to a purchase and multiplies it by the advertiser's value per conversion to set its bid in a real-time auction.
A news publisher's supply-side platform (SSP) uses dynamic price floors, learning the minimum price each type of impression is likely to fetch so inventory is not sold too cheaply.
A fraud-detection system flags a cluster of 'visitors' that load pages from data-center IP addresses, never scroll, and click at machine-regular intervals, and that traffic is excluded before any bids are placed.
A retailer without third-party cookie data uses contextual targeting: a model reads the content of a hiking article and bids on that page for outdoor-gear ads, with no personal identifier involved.
Regulatory requirements can invalidate otherwise strong prototypes.
Historical data may encode bias that harms specific communities.
Legacy systems can create integration bottlenecks and hidden costs.
Involve domain experts from problem framing to evaluation.
Design audit trails and documentation before launch.
Validate compliance and safety obligations early.
Roll out in phases with clear stop and rollback criteria.
Free newsletter
One short email each weekday with the three AI stories that actually matter. Free forever, no ads.
One email each weekday. Unsubscribe in one click. We never sell or share your address.
Test yourself
Instant feedback on every answer, and a shareable certificate with a verifiable ID once you pass a course.
Support free AI education. AI Understanding is a 501(c)(3) nonprofit — no ads, no paywall, ever. Make a donation
AI in programmatic advertising is the use of machine learning to buy and sell digital ad impressions automatically, deciding in milliseconds which ad to show, to whom, and at what price. It matters because much of today's display, video and connected-TV inventory is traded this way, so these models shape what ads people see, what publishers earn, and how much fraud and privacy risk the system carries.
RTB auctions typically run within a budget of around 100 milliseconds so the winning ad can render before the user notices any delay.
OpenRTB is maintained by the IAB Tech Lab, the technical standards body of the advertising industry.
In first-price auctions the winner pays what it bid, so bid-shading models estimate the lowest winning price to avoid overpaying.
A bid is computed from the predicted probability, so a 20 percent overestimate translates straight into a 20 percent overbid.
After years of planning a phase-out through the Privacy Sandbox, Google said in 2024 it would not force the removal of third-party cookies.
Keep learning
More guides picked for this topic
Up nextNext guide
AI in Government Benefits Administration
Industries