How Does In-App Programmatic Advertising Work?

The Aditude Team

No headings found on page

In-app programmatic advertising is the automated process of buying and selling ad space inside a mobile app — where algorithms, not people, match your available ad inventory with the highest-paying advertiser in real time. Every time your app shows an ad, a live auction has already happened in the background, typically completing in under 200 milliseconds.

If you've built or are building a mobile app and want to earn revenue from advertising, this is the system you're entering.

The Ecosystem: Who's Involved

Think of in-app programmatic advertising like a stock exchange, but for ad space. Instead of shares of a company, what's being traded is a single ad impression — one user, in your app, right now.

You, the publisher. You own the app and the ad slots inside it. When a user opens your app, you have inventory to sell.

The SDK. A software development kit (SDK) is a small package of code you integrate into your app. It acts as the bridge between your ad slots and the outside world — detecting when an ad slot is available, packaging information about the impression, and communicating with the rest of the ecosystem on your behalf. Without an SDK, your app has no way to participate in the programmatic marketplace.

The SSP (Supply-Side Platform). This is the marketplace that represents you, the publisher. Your SDK connects to one or more SSPs, which aggregate your ad inventory and make it available to buyers. An SSP is your selling agent — it puts your impressions in front of as many potential buyers as possible and runs the auction.

The DSP (Demand-Side Platform). On the other side of the transaction are advertisers, who use DSPs to buy ad inventory at scale. A DSP lets a brand or agency set targeting criteria, set bid prices, and automatically compete in auctions across thousands of apps simultaneously — without a human placing each individual buy.

The Ad Exchange. Sitting between the SSP and DSPs is the ad exchange — the actual marketplace where the auction happens. The SSP passes your impression into the exchange, DSPs evaluate it and submit bids, and the exchange selects the winner.

The Auction Flow: What Happens in Under a Second

When one of your users reaches an ad placement — a pause screen in a game, or the bottom of an article screen — here's the sequence.

Your SDK detects that an ad slot is available and packages an ad request containing information about the impression: app ID, ad format, placement, and any audience signals the user has consented to share. The SDK sends that request to your SSP (or a server-side bidding platform, which handles this more efficiently — more on that below). The SSP broadcasts the request to multiple DSPs simultaneously. Each DSP evaluates the impression against its advertisers' targeting criteria and calculates what it's worth; relevant advertisers bid, irrelevant ones pass. The highest valid bid wins, and the winning DSP's ad creative is returned to your app. The ad renders in the slot, the user sees it, and you earn revenue.

The entire sequence — from slot detection to ad render — typically completes in under 200 milliseconds. To the user, an ad simply appeared.

Ad Format Types and When They Appear

Not all in-app ads are the same. The format you choose determines where and how ads appear, and different formats carry significantly different revenue potential.

Banner ads are small, persistent ads that appear at the top or bottom of the screen while the user continues using the app. They're the least disruptive format and the easiest to implement, but they command the lowest eCPMs — typically $0.20–$1.00 in Tier 1 markets. Good for apps where preserving screen real estate matters.

Interstitial ads are full-screen ads that appear between content moments — between game levels, between app screens, or at natural pause points. They drive higher engagement and significantly higher eCPMs ($2–$8 in the US). The tradeoff is user experience: poorly timed interstitials are one of the top reasons users uninstall apps. Placement timing matters more here than with any other format.

Rewarded video ads are opt-in: the user chooses to watch a video ad in exchange for in-app currency, extra lives, or unlocked content. Because users actively choose to engage, completion rates are high — and eCPMs reflect it ($5–$15+ in the US for gaming apps). This is consistently the highest-revenue format when implemented correctly, and it improves rather than degrades the user experience.

Native ads are designed to match the visual style and flow of your app's content. In a news app, a native ad looks like an article; in a social feed, it looks like a post. Higher design effort to implement, but native ads typically outperform banners on both engagement and eCPM.

The Role of a Mediation Platform

Most successful apps don't connect to just one SSP — they work with several, to maximize competition and fill rate. A mediation platform manages all of these relationships from a single integration.

Without mediation, you'd need to integrate separate SDKs for every ad network you work with, each adding to your app's file size and potentially conflicting with each other. The average app now runs 18.2 SDK integrations, in part driven by per-partner client-side integrations. A mediation platform lets you integrate once and access multiple networks through a single SDK.

Modern mediation platforms support real-time bidding — all connected networks compete simultaneously for each impression rather than being called sequentially. This approach, called in-app bidding, typically generates higher eCPMs than the legacy waterfall because every buyer competes on equal footing.

For more on how server-side bidding works in this context, see: What Is Server-Side Bidding for Mobile Apps? →

How Revenue Is Calculated

Your ad revenue is a function of two variables: how many impressions you deliver and how much each one is worth.

The standard metric is eCPM — effective cost per thousand impressions. If your eCPM is $4 and you deliver 500,000 impressions in a month, your gross ad revenue is $2,000.

eCPM varies significantly by format, geography, user quality, and season. US users on premium formats in Q4 command dramatically higher eCPMs than global users on banner ads in January. Your overall monetization strategy — which formats you use, which demand partners you connect, how you set floor prices — determines where your eCPM lands within the range your inventory type commands.

Privacy: What You Need to Know Before You Start

Programmatic advertising relies on data to target ads effectively, and that creates compliance responsibilities you can't defer.

IDFA and ATT (iOS). The IDFA (Identifier for Advertisers) is a unique identifier assigned to each iPhone and iPad. Since iOS 14.5, Apple requires apps to explicitly request user permission to access it through the App Tracking Transparency (ATT) framework. If a user declines, the IDFA is unavailable — which limits targeting capabilities but doesn't prevent ads from running. Apps that use pre-prompt education see 40–60% higher ATT acceptance rates compared to showing the system prompt immediately.

Android. Google has introduced its own privacy-preserving advertising framework (Privacy Sandbox for Android), moving toward limiting cross-app tracking in a similar direction to Apple's ATT.

COPPA. If your app is directed at children under 13 — or if you have reason to know a portion of your user base is under 13 — COPPA applies, significantly restricting the data you can collect and the type of advertising you can serve. Behavioral targeting is generally off the table for COPPA-covered apps; contextual advertising is the compliant path.

GDPR. For users in the European Union, GDPR requires a lawful basis for data processing — typically consent — before audience data can be used for advertising. Your SDK and mediation platform should support a consent management platform (CMP) integration to handle this correctly.

Privacy compliance affects which ad demand you can access and what your inventory is worth. Building it into your setup from the start is far easier than retrofitting it.

See how Aditude helps app publishers earn more from programmatic →