CPI Optimisation Algorithm
From Bids To Installs: How The Algo Works
The CPI (Cost per Install) algorithm is a data science system that powers install-focused campaigns in RTB. It calculates bid values designed to hit CPI goals while scaling campaign performance.
Main Components
There are 5 components in the CPI algorithm:
Prediction Model
PI Controller (Factor)
Auto Blacklisting Model
Creative Optimization Tool
Bid Shading
Note:
All CPI campaigns automatically apply smart split testing for creative optimisation to identify and maximise the delivery of those creatives in a campaign that yields the best IPM (installs per 1,000 impressions) and the lowest eCPI - in short, it favours the best performer.
The creative optimisation algorithm runs separately from the CPI algorithm, acting as an extra layer that also aims to lower eCPI.
Prediction Model
Prediction Model is a logistic regression model trained to predict the probability of an install given a set of variables associated with every bid request. It looks at signals from the publisher, advertiser, and user, then gives a score between 0 and 1 — where 0 means unlikely to install and 1 means very likely.
PI Controller
CPI campaigns have two main goals: hitting the target CPI and getting enough volume. Since it’s not always possible to achieve both perfectly at the same time, the PI Controller helps strike a balance, that is, maximise campaign volume while staying within CPI limits.
How it works: The PI Controller produces a value called the Factor. The Factor is multiplied with the Prediction Model and adjusts the bid price predicted by the model.
If the Factor is >1, bids increase to drive more volume.
If the Factor is <1, bids decrease to control CPI.
Stages:
Budget Mode (Exploration) - Max Factor: 2
The algorithm aims to find new profitable pockets of inventory by taking risks on "unproven" inventory. The goal is to make sure the assigned daily campaign budget is spent. If it is estimated to not be spent fully, the Factor will increase, therefore increasing bids as well. The daily campaign budget can thus be used as a tool to control the aggressiveness of bids during the exploration phase.
Every campaign starts in Budget Mode. It will switch to CPI Mode once it crosses a default loss threshold of $500.
Loss = (Total Media Cost) – (Target CPI × Installs)
In other words, it’s the gap between what installs should have cost at the target CPI versus what they actually cost (eCPI). So once that “loss” exceeds $500, the campaign moves into CPI Mode to focus on tighter cost control.
CPI Mode (Optimisation) - Max Factor: 5
The algorithm aims to be profitable and “optimise” the pockets of inventory that deliver good performance. The goal is achieving target CPI and scaling good inventory.
If target CPI is overachieved, the Factor will increase to achieve more scale, provided the campaign has enough daily budget. If the target CPI is underachieved, i.e. eCPI > target CPI, the Factor will decrease and bids will be less aggressive. The daily campaign budget can hence be used as a tool to control the scale of a campaign during the optimisation phase.
Recommended to keep the daily budget of a campaign at about 2x or more of the actual media spend to avoid the campaign being constrained by budget.
The following is the formula comprised of Factor, Prediction Model and target CPI (tCPI) which determines the final bid price:
Bid Price = Factor x Prediction Model x tCPI
A campaign will start in explore mode and may move to optimise mode after 7 days, provided it has enough data.
Related Articles
User Acquisition Guide
Tips on how to setup the UA campaigns and optimise Overview User acquisition through RTB channels can be challenging. It’s a data-heavy science that looks for trends and patterns that work. Without this data-driven focus, you just guess at what’s ...
CPI Campaign Checklist
This checklist aims to capture app info required for CPI campaign approval and launch. Please fill up the form and our Account Management team will follow up with you. Click HERE.