Machine Learning in Mobile AdTech
From Foundations to the Frontier of Demand Side Platforms
Welcome
This is the free online edition of Machine Learning in Mobile AdTech, a hands-on guide to the models behind a mobile Demand Side Platform (DSP), and to the systems that train, serve, and operate them.
You can read the whole book here at no cost, or download the free EPUB for your e-reader. The EPUB’s equations need a reader with math (MathML) support, such as Apple Books, Thorium Reader, or Calibre. Kindle doesn’t support it and shows the equations garbled, so on Kindle, read the chapters with equations here instead. A paperback edition is coming soon on Amazon.
How to use this book
Each chapter explains one part of a DSP and ends with an exercise on adsim, the book’s simulated ad market, which knows the true click, install, and lift behind every impression. The simulator and the companion code live in the GitHub repository. Each exercise says whether it runs on the simulator today or what it still needs.
Requirements
The simulator and the training examples use Python, and the reference bidder uses Go. The quickest way to run them is Docker: docker compose up --build starts the simulator, the bidder, and its console, which opens in a browser. Chapters that train neural networks run faster on an NVIDIA GPU; the training code fits in 4 GB of GPU memory and falls back to CPU.