Appendix A — Glossary of Ad Tech Terms
This glossary covers the ad tech and machine learning terms used throughout the book. Where a term is defined in more depth in a chapter, the entry points to it.
A/B test. A randomized comparison of a champion and a challenger on live traffic, usually by device, measured on the advertiser’s goal metrics. See Chapter 19.
Ad network. A company that sells ads into apps where its own SDK is installed, often alongside an exchange or DSP of its own.
Ad opportunity. One chance to show an ad in an ad slot, which becomes an auction. See Chapter 2.
Ad server. The system that picks an ad for a placement in an app where a company’s own SDK is installed. See Chapter 4.
Ad slot (placement). A place in an app where an ad can be shown, such as a rewarded video for extra moves or an interstitial between levels.
AdAttributionKit. Apple’s privacy-preserving attribution framework, the successor to SKAdNetwork, which reports installs as aggregated, delayed postbacks with small conversion values. See Chapter 38.
Advertiser value (\(A\)). What an impression is worth to the advertiser per thousand impressions, given the model’s predictions and the campaign’s goal. See Chapter 4.
Advertising ID. The device identifier used for advertising: the GAID on Android and the IDFA on iOS. See Chapter 3.
As-of join. A join that uses the value a table held at a given time, such as the time of a bid, rather than its current value. See Chapter 14.
ATT (App Tracking Transparency). Apple’s framework that requires a user’s permission before an app can read the IDFA. Most users decline.
Attribution. Deciding which ad, if any, gets credit for an install or in-app event. Done by the MMP, usually with a last-touch rule within an attribution window.
Attribution window. How far back the MMP looks for a click or impression to credit for an install, such as 7 days for clicks.
Bid cap. The most a campaign will pay for an impression, as a CPM.
Bid ledger. The DSP’s record of every bid it makes, with the features, predictions, model versions, and price. See Chapter 4.
Bid path. The steps the bidder takes for each bid request, from parsing the request to sending a response. See Chapter 4.
Bid request and bid response. The OpenRTB messages an exchange sends to describe an ad opportunity, and that a bidder returns with its price and ad. See Chapter 2.
Bid shading. Bidding below what an impression is worth to win it at a lower price, which makes sense in a first-price auction. See Shaded bid and Chapter 20.
Billing notification. The exchange’s message telling the DSP that an impression it won was actually shown and is billable.
Boosted LTV. A studio’s projected one-year LTV for recent installs, built from its own curves and early signals. Some studios judge DSPs on it more than on reported D7 LTV. See Chapter 1.
Budget-split design. An A/B test design that splits each campaign’s budget between arms in proportion to their traffic, so the arms can’t spend each other’s money. See Chapter 19.
Calibration. Getting predicted probabilities right, not just their order. A model that predicts 2% when the true rate is 1% is badly calibrated, even if it ranks impressions well.
Calibration multiplier (\(\kappa\)). A correction applied to bids when a model runs systematically high or low.
Campaign. An advertiser’s unit of buying, with a goal, a target, a budget, targeting rules, and a set of creatives. See Chapter 4.
Canary. A staged rollout that sends a new model or configuration a small share of traffic first, with guardrails and automated rollback. See Chapter 19.
Champion and challenger. The model version currently serving, and a candidate to replace it, usually marked with aliases in a model registry. See Chapter 18.
Clear rate. The share of auction wins that become billable impressions. See Chapter 2.
Click tracking. How a click is reported to the MMP, either by sending the device through the MMP’s URL (client to server) or by reporting it from the DSP’s servers (server to server). See Chapter 3.
Cohort. The group of players acquired in the same period, such as a week, tracked together to measure retention and ROAS over time.
Contextual bandit. A method that picks an action, such as a creative, using features of the request, while exploring actions it’s uncertain about. See Chapter 36.
CPA (cost per action). What an advertiser pays, or targets paying, for a chosen in-app event, such as a first purchase.
CPI (cost per install). What an advertiser pays, or targets paying, for each attributed install.
CPM (cost per mille). The price of a thousand impressions. Bids in OpenRTB are expressed as CPMs.
Creative. The ad itself, such as a video, a playable, or an end card.
Crowd anonymity. Apple’s volume tiers that decide how much detail an AdAttributionKit or SKAdNetwork postback carries. See Chapter 38.
CTR (click-through rate). Clicks divided by impressions.
Cumulative ROAS. A cohort’s revenue to date divided by what it cost to acquire, tracked day by day. See Chapter 1.
D7 ROAS. Return on ad spend after seven days: revenue from installed users in their first week, divided by what the advertiser spent.
Delayed feedback. The problem that conversion labels arrive long after the impression, so recent examples look like negatives until their labels arrive. See Chapter 29.
Demand side platform (DSP). The system that bids on ad impressions on behalf of advertisers. See Chapter 4.
Device profile. What the DSP knows about a device from past interactions, stored in a fast key-value store and read on every bid request.
Device state. A transformer’s summary of a device’s history, computed offline and stored in the device profile with its model version. See Chapter 27.
Distillation. Training a small student model to match a large teacher model’s outputs, usually to make it cheap enough to serve. See Chapter 28.
Dynamic margin. A margin that varies from impression to impression, as long as the campaign as a whole meets its target.
eCPM. Effective revenue per thousand impressions, the publisher’s main yield metric.
Embedding. A learned vector for a value of a categorical feature, such as an app or a device, where similar values end up close together. See Chapter 26.
End card. The screen shown after a video ad, usually with an install button.
ESMM. The entire space multi-task model, which trains every conversion head over all impressions by multiplying through the funnel, rather than training install heads only on clicked impressions. See Chapter 26.
Exchange. The marketplace that runs auctions between the supply side and bidders.
Expected calibration error. The average gap between predicted and actual rates across bins of the prediction, here divided by the overall rate. See Chapter 26.
Exploration multiplier. A random factor applied to a small share of bids so that the win model can learn how the win rate changes with the bid. See Chapter 10.
Fallback ladder. An ordered list of simpler pricing methods the bidder steps down to when a model fails, ending at segment rates. See Chapter 24.
Feature parity. Agreement between the feature values used in training and the values computed at serving time. Its absence is training-serving skew. See Chapter 8.
FeatureVector. The model-agnostic record of features that the bidder logs at bid time, which every model trains on. See Chapter 8.
Fill rate. The share of ad opportunities that get filled with an ad.
First-price auction. An auction where the winner pays what it bid. Most mobile exchanges use first-price auctions.
Floor. The minimum price the exchange will accept for an impression.
Frequency cap. A limit on how often the same device can see a campaign’s ads.
FTRL. Follow The Regularized Leader, an online learning algorithm for logistic regression on sparse features, with per-coordinate learning rates and L1 sparsity. See Chapter 9.
Ghost bid. A bid the DSP computes but doesn’t send, for a device in a random control group. Comparing the control group with devices that saw ads measures the lift. See Chapter 23.
Golden file. A fixed set of inputs with their expected outputs, used to check that the training and serving code compute the same features and predictions. See Chapter 11.
Hashing trick. Mapping feature tokens to a fixed number of buckets with a hash function, so a model needs no vocabulary. See Chapter 9.
Holdout test. An experiment where a random group of devices doesn’t see the ads, so the difference in installs between groups shows what the ads caused.
IDFV. The iOS Identifier for Vendors, shared across one developer’s apps and available without ATT consent.
In-app bidding. Mediation where all demand sources bid on an impression at the same time, replacing the waterfall.
Incremental CPI (iCPI). Spend divided by the installs that wouldn’t have happened without the ads.
Incrementality. The installs, or revenue, that an ad actually caused, as opposed to those it was credited with. See Chapter 1 and Chapter 23.
Internal auction. The DSP’s comparison between its own candidate campaigns for a request, which picks the one campaign that bids.
Inverse propensity weighting. Estimating how a new policy would perform from logged data, by reweighting outcomes by the ratio of the new and logged policies’ probabilities. See Chapter 16.
IPM. Installs per thousand impressions.
Kill switch. A configuration flag that turns off a model, feature, exchange, campaign, or all bidding within seconds. See Chapter 12.
Layer (experiment). A slice of the system, such as models or pacing, whose experiments hash devices with their own salt, so experiments in different layers run independently. See Chapter 19.
Lift (uplift). The extra chance of an install that an impression causes: the install rate with the ad minus the rate without it.
LightGBM. A fast gradient boosted tree library, used for the walk DSP’s click, install, value, and win models. See Chapter 15.
LTV (lifetime value). The total revenue a player generates over the whole time they play, from purchases and ads. Usually predicted, since it takes months to observe.
Managed vs. self-serve. Whether the DSP’s own team runs campaigns for advertisers, or advertisers run them themselves through a UI or API.
Margin. The DSP’s share of what the advertiser pays.
Media value (\(v_m\)). What an impression is worth to the DSP after calibration, pacing, margin, and fees. The most the DSP should pay.
Mediation. The publisher-side platform and SDK that decides which demand source fills each ad slot.
Minimum bid to win. The lowest bid that would have won an auction, which some exchanges report in win or loss notices. See Chapter 20.
MMP (mobile measurement partner). The third party, such as AppsFlyer or Adjust, that attributes installs and in-app events to ad platforms. See Chapter 3.
Model predictive control. Re-solving for the best pacing multiplier every interval from the remaining budget and a forecast, with no learning. See Chapter 34.
Model registry. A system that records every model version, its lineage, and which version is serving. See Chapter 18.
Negative downsampling. Keeping only a share of negative examples for training, and correcting predictions afterward. See Chapter 9.
Neural-linear bandit. A contextual bandit that uses a deep model’s learned features and a linear model with a posterior over its weights for exploration. See Chapter 36.
Normalized entropy. Log loss divided by the log loss of a model that always predicts the base rate, for comparing across datasets. See Chapter 9.
ONNX. A portable model format, and the runtime used to serve models trained in Python inside a Go or Rust bidder. See Chapter 17.
OpenRTB. The IAB Tech Lab standard for bid requests and responses.
Organic install. An install that didn’t come from any ad, such as one from a store search or a recommendation.
Overbid. A manual multiplier that raises a campaign’s bids above what its goal and the models say an impression is worth, usually to hit a spend target. Common in legacy systems, and hard to unwind. See Chapter 4.
Pacing multiplier (\(\gamma\)). A factor that raises or lowers bids so that a campaign spends its budget evenly over the day.
Payback period. How long a cohort takes to earn back what it cost to acquire.
Playable. A small interactive ad that lets the user try a game before installing it.
Pod. A cross-functional team that owns a set of models from training through serving and monitoring. See Chapter 39.
Pooled model. One model trained on results from many advertisers, which lets new campaigns perform well from the start.
Postback. A message from the MMP to an ad platform reporting an attributed install or in-app event.
Propensity. The probability with which the logging policy took the action it took, such as choosing a campaign, logged for offline evaluation. See Chapter 6.
Retargeting. Paying to re-engage people who already have an app installed, as opposed to user acquisition.
Retention. The share of new players who come back on a given day after install, such as day 1 (D1) or day 7 (D7).
Retrieval. A cheap first stage that narrows many candidates to a few for the expensive ranking models. See Chapter 35.
Rewarded video. A video the user chooses to watch in exchange for an in-game reward.
Sample ratio mismatch. A difference between the traffic shares an experiment’s arms were assigned and the shares they received, which means the experiment is broken. See Chapter 19.
Shaded bid. A bid below the media value, chosen to trade some chance of winning for a lower price in a first-price auction. See Chapter 20.
Shadow mode. Scoring live requests with a new model without letting it affect bids, to compare it with the champion. See Chapter 19.
Shadow price. The value of one more dollar of budget. The optimal pacing multiplier is one over one plus the shadow price. See Chapter 33.
SKAdNetwork (SKAN). Apple’s original privacy-preserving install attribution framework for iOS, succeeded by AdAttributionKit. See Chapter 38.
Surplus. The media value minus the price paid for an impression.
Thompson sampling. A bandit method that samples from each option’s posterior and picks the best sample, so options with uncertain results still get tried. See Chapter 21.
Throttling. Bidding on only a share of eligible requests to slow spend, used for pacing in the crawl DSP. See Chapter 12.
Trading location. A regional data center from which an exchange sends bid requests. See Chapter 4.
Two-tower bid predictor. A retrieval model whose user and campaign towers predict, with a dot product, the bid the full pipeline would make, so only the top campaigns are scored by the heavy models. See Chapter 35.
Two-tower model. A model that learns vectors for two kinds of entity, such as devices and apps, so that their dot product scores how well they match. See Chapter 27.
Uplift model. A model that predicts the lift an impression causes, rather than the chance of an attributed conversion. See Chapter 32.
User acquisition (UA). Paying for ads to get new users to install an app.
VAST. The IAB Tech Lab’s XML standard for describing video ads.
Waterfall. The older form of mediation, where ad networks were called one at a time in order of their historical price.
Win rate (\(W(b)\)). The chance that a bid of \(b\) wins the auction.
Winner’s curse. The tendency to win the impressions whose value the DSP overestimated. See Chapter 31.