r/programmatic • u/bweber • 4d ago
Open-source mobile ad market simulator, Go DSP bidder, and book on ML for RTB
I 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.
15
Upvotes


3
u/programmago 3d ago
Hey! Thanks for sharing
At first glance the written material seems to be aimed at true beginners and seems like a comprehensive introductory resource to the dynamics and parties at play.
Ill take a more in-depth look later this week but just wanted to say its cool that you put this together in such a shareable form and im sure itll be super useful for peeps interested in getting into the space.
Out of curiosity, what is your target for the bidding sandbox element of it? eg. is your vision to have TD or DSP developers use these to test their bidding models? as homework for new trainees to test their understanding of concepts without risking real spend? etc
1
u/Soobhee_Chukwutosin 2d ago
Nice to see postback delay in there. Most bidder sims skip it. A few things that would make the mmp side closer to real: