OpenAdServer

OpenAdServer

WHAT IS IT?

OpenAdServer is a self-hosted, open source ad serving platform. It runs a full ad delivery pipeline: candidate retrieval, filtering, machine-learning click-through-rate (CTR) prediction, then real-time eCPM ranking. In other words, you run your own ad network without a third-party provider, with an ML layer to optimize revenue.

WHY IS IT INTERESTING?

  • ML-based CTR prediction: DeepFM, logistic regression and factorization machine models in PyTorch, with sub-5ms prediction latency claimed.
  • Real-time eCPM ranking: automatic ad ranking to maximize revenue on every request.
  • Fine-grained targeting: geo-location, device type, OS, demographics and interests.
  • Multiple billing models: CPM, CPC, CPA and oCPM in the same engine.
  • Production-ready: FastAPI (P99 < 10ms), PostgreSQL, Redis, Docker Compose deployment and Prometheus/Grafana observability.

USE CASES

  • Build an in-house ad network for an SMB or a publisher.
  • Monetize in-app traffic from a game or an application.
  • Manage house ads or direct deals without an external provider.
  • Serve as a study base for ad-tech system architecture.