r/programmatic • u/bweber • 12h ago
Open-source mobile ad market simulator, Go DSP bidder, and book on ML for RTB
galleryI come at programmatic from the ML side, and I wanted a way to test bidding and pricing models without burning live spend. I put together an open-source book and companion repo (AdtechBook: https://github.com/bgweber/AdtechBook) with a simulated mobile ad market, a Go DSP bidder, and Python training pipelines.
- Auction & market dynamics: First-price auctions, winner's curse, bid shading, pacing, and MMP attribution delays/postbacks.
- Go DSP bidder (
code/dsp): OpenRTB handling, pricing equations (CPC/CPI/ROAS/CPA), holdouts, and native Go serving for LightGBM and DCNv2 models with a live console. - ML & evaluation (
code/training): Training from bidder logs, out-of-time validation, and checking models against the simulator's ground-truth win and lift rates.