What is an Ad Server? How Ad Serving Works? Where AI Chat Fits?
An ad server stores ads, decides which one to show, delivers it, and tracks the result. See how ad serving works and how it applies to AI chat apps.
- Published
- Reading time
- 7 min
- Sections
- 10
On this page
- 01 What is an Ad Server?
- 02 How Does Ad Serving Work?
- 03 What Is the Difference Between a First-Party and a Third-Party Ad Server?
- 04 How Is an Ad Server Different From an Ad Network, an SSP, and an Ad Exchange?
- 05 What Does an Ad Server Track?
- 06 How Does Ad Serving Work in a Mobile App?
- 07 How Does Ad Serving Work in AI Chat?
- 08 How Do You Choose an Ad Server?
- 09 FAQ about Ad Servers
- 10 Sources
What is an Ad Server?
An ad server is software that stores ad creatives, decides which ad to show for each request, delivers it to a website or app, and records what happens next. It handles the impressions and clicks that make up a campaign’s reporting. Publishers use ad servers to manage their ad space, and advertisers use them to deliver and measure their creative.
Google’s Ad Manager glossary describes an ad request as the first step of ad serving: client-side code on a page sends the request to an ad server, usually as an HTTP or HTTPS request. Everything that follows, from choosing an ad to counting the result, is ad serving.
How Does Ad Serving Work?
Ad serving works in five steps: an ad request arrives, the ad server finds eligible campaigns, it picks the best one, it returns the creative, and it records the result. Google’s ad selection documentation describes the process as designed to deliver the right ad to the right customer at the right time. The steps below follow that description.
-
A person opens a page or app, and an ad tag or SDK sends an ad request to the ad server
-
The ad server lists the line items, which are the campaigns, whose targeting matches the request
-
It removes any that are not eligible, for example because of frequency caps, day parting, or exclusions
-
It selects the best remaining line item, then the best creative within it
-
The creative is returned and displayed, and the impression and any click are recorded
In programmatic setups, the ad server also weighs direct campaigns against auction demand before it picks a winner. Our guide to programmatic advertising covers that part.
What Is the Difference Between a First-Party and a Third-Party Ad Server?
A first-party ad server belongs to the publisher, and a third-party ad server belongs to the advertiser or agency. The publisher’s server decides which ad fills each slot. The advertiser’s server hosts the creative and keeps its own record of delivery.
In third-party ad serving, the publisher’s server calls the advertiser’s server, which delivers the creative and writes its own log, according to PPC Land. Because each side counts independently, the two sets of numbers can differ, so it helps to agree in advance which count is the source of truth.
How Is an Ad Server Different From an Ad Network, an SSP, and an Ad Exchange?
An ad server decides and delivers, while the other three supply or sell the demand. An ad network brings advertiser demand to publishers, an SSP helps publishers sell inventory to many buyers, and an ad exchange runs auctions between sellers and buyers. A single company can cover several of these roles.
| Role | What It Does |
|---|---|
| Ad server | Stores creatives, selects the ad for each request, delivers it, and reports results |
| Ad network | Collects advertiser demand and places it on publishers’ inventory |
| SSP | Offers a publisher’s inventory to many buyers |
| Ad exchange | Marketplace that runs auctions between sellers and buyers |
| DSP | Lets advertisers and agencies bid on impressions |
For how the auction pieces fit together, see our primer on real-time bidding, and for the app side of the stack, our guide to the best app monetization platforms.
What Does an Ad Server Track?
An ad server tracks ad requests, impressions, clicks, and the revenue or cost tied to them. From those it reports click-through rate and effective CPM. Some setups also track conversions through pixels or event data.
How an impression is counted matters. Elo’s documentation, for example, defines three events for its SDK: a render, an impression when the ad is at least 50 percent visible for one second, and a click. Check a provider’s counting rules before you compare numbers across servers.
To turn those numbers into revenue per thousand impressions, see our guide to eCPM.
How Does Ad Serving Work in a Mobile App?
In a mobile app, an SDK does the job that an ad tag does on a web page. The app integrates the SDK, the SDK requests an ad when a slot is ready, and the ad server returns a creative for the SDK to render and track. Networks and mediation platforms ship SDKs so that publishers do not have to build ad serving themselves.
Elo’s quick start follows this pattern for AI chat apps. The SDK is available for Android, iOS, and the web, and Elo handles ad selection, rendering, and tracking.
How Does Ad Serving Work in AI Chat?
Ad serving in AI chat works like standard ad serving, except the request describes a live conversation instead of a page. The ad server has to read that context, find a matching ad, and return it as part of the chat. Elo describes itself as the adserver for AI chat, and its documentation lays out the flow.
-
The app passes the current conversation to the SDK
-
Elo extracts advertising keywords from it with an LLM
-
Elo runs a real-time auction across programmatic exchanges and its own advertiser inventory
-
The winning ad comes back as a native card with a title, image, and description
-
The SDK renders the card and tracks render, impression, and click events
According to the same documentation, the full flow typically completes in under 300 milliseconds, and the SDK reads IAB consent signals (TCF and GPP). On the advertiser side, Elo’s advertisers page says sensitive conversations are filtered server-side before an ad is considered.
For how auctions change when the answer streams token by token, see our post on RTB for streaming responses. For the formats an ad server can return, see our guide to ad formats that work inside AI chat apps, and for labeling, our guide to AI chat ad disclosure.
How Do You Choose an Ad Server?
Choose an ad server by matching it to who you are and what you sell: publisher or advertiser, direct sales or programmatic, web, app, or chat. Start with the surfaces and formats it supports, then check reporting, privacy tooling, and integration effort. Google Ad Manager is one example of a publisher ad server, and its help center documents how selection works.
-
Who it serves: publishers, which is first-party, or advertisers, which is third-party
-
Surfaces: web, app, video, or chat
-
Demand: direct campaigns, programmatic, or both
-
Reporting: how impressions and clicks are counted, and whether you can export the data
-
Privacy: consent signals and regional rules
-
Integration: how much tag, SDK, or API work it needs
-
Terms: fees and policies in the provider’s own documentation
FAQ about Ad Servers
What is an ad server in simple terms?
An ad server is the system that decides which ad appears in a slot, delivers it, and counts the result. Think of it as a traffic controller for ads. Publishers and advertisers each use one for their own side.
What does an ad server do?
An ad server stores creatives, selects an ad for each request based on targeting and priority, delivers it, and tracks impressions and clicks for reporting. In programmatic setups it also weighs auction demand against direct campaigns.
Is Google Ad Manager an ad server?
Yes. Google’s help center refers to the Ad Manager ad server, which selects line items and creatives for each ad request. It is built for publishers to manage and sell their inventory.
Do I need an ad server to monetize an app?
Not always. If you use an ad network or mediation SDK, the network’s ad server handles selection and delivery for you. You need your own ad server when you want to sell and manage direct campaigns yourself.
How is an ad server different from an ad network?
An ad server decides which ad to show and records delivery, while an ad network supplies advertiser demand. Many companies offer both. Elo, for example, describes itself as an adserver for AI chat and runs auctions across programmatic exchanges and its own advertiser inventory.
Sources
Definitions come from Google’s help center and platform documentation, checked in October 2026: