ServicesMarketsIndustriesCase StudiesInsights
Products
Loccl
VolleySync
Attendly
All products
About
TeamAboutLife @ KyszTech
Language
SaaS & Technology Platformsintegrationscloud-devops

Publisher Advertising & Monetization Platform

Case Study

An end-to-end ad monetization platform built as four connected planes: control, speed, serving and measurement. It runs display, owned video, header bidding, house ads and VAST trafficking to external SSPs, with millisecond decisions and first-party analytics.

Published Jul 17, 2026
Publisher Advertising & Monetization Platform

At a glance

4 planes
Control, speed, serving & measurement
Milliseconds
Ad decisions from cache, not SQL joins
2 VAST paths
Owned player + Global SSP
Full funnel
Request → quartiles → completion

Ad request to analytics

  1. 1Admin config in MariaDB
  2. 2RabbitMQ push to Aerospike
  3. 3Ad request (JSON / VAST)
  4. 4Targeting, caps & priority
  5. 5Creative served
  6. 6Events to Kafka
  7. 7ClickHouse warehouse
  8. 8Reports & CSV export

Formats

Display, high-impact, owned video, header bidding, house ads

Serving

Netty servers + Aerospike hot cache

Analytics

Kafka → ClickHouse

Architecture
4-plane ad platform
Serving
Netty + Aerospike
VAST Paths
Player + Global SSP
Analytics
Kafka → ClickHouse

Overview

About the project

The publisher needed to run many ad formats at once: display, high-impact, owned video, header bidding, house-ad fallback and VAST tags for multiple SSPs. With a separate tool for each function, ops teams had no clear view when fills failed, and live relational joins at request time were too slow and hurt fill rates.

KyszTech built one platform that keeps MariaDB as the system of record, serves decisions in milliseconds from a hot Aerospike cache, speaks each partner's macro dialect, and measures the owned-player funnel and outbound Global VAST inventory reliably.

Case summary

Problem, approach and solution

  1. STEP 01

    The problem

    Publisher monetization is rarely single-format. The same site or player may need display banners, high-impact placements, owned video inventory, header-bidding competition, house-ad fallback, and externally trafficked VAST tags for SSPs such as Google Ad Manager, Aniview, SpringServe, and Publica. Without a unified platform, ops teams juggle separate tools for demand setup, video tags, SSP wrappers, tracking pixels, and partial reporting portals—creating operational blindness when fills fail. Ad decisioning must also stay extremely fast: live relational joins at request time raise latency and collapse fill quality under traffic. The client needed Admin MariaDB as the system of record for configuration, millisecond serving against a hot cache, partner-aware macro dialects, and trustworthy funnel measurement for owned players and trafficked-out Global VAST inventory.

  2. STEP 02

    Our approach

    We structured the platform as four connected planes with one commercial language: a MariaDB-backed control plane for demand and supply administration; a speed plane (ad-cache) that fans configuration into Aerospike via RabbitMQ; a serving plane of lean Netty video, display, and house-ad servers plus an owned browser video player; and a measurement plane of Kafka consumers, ClickHouse warehouses, and report APIs. This separation lets ops configure rich campaigns while ad calls decide in milliseconds and analytics catch up asynchronously.

  3. STEP 03

    The solution

    The platform delivers full monetization coverage: JSON /ads/req lifecycle for player integrations, VAST 3.0 via /vast3/c (session-centric player path) and /vast3/g (Global/SSP path), event tracking through /vast3/event, header bidding with sellers.json/schain and ads.txt, house-ad fallback, and dialect-aware macros for IAB, GAM %%TOKEN%%, SpringServe {{TOKEN}}, Aniview, Publica, and platform-specific macro slots. Serving intelligence includes geo (MaxMind GeoIP2), device/OS/domain targeting, daypart and DMA controls, line-item priority models, creative weight/rotation, and Aerospike-backed impression and frequency caps. Measurement publishes serving outcomes to Kafka; player, Global VAST (POA v2.1), display, header-bidding, and house pipelines land in ClickHouse with interactive reports and async CSV export. Feature flags, profile-driven YAML environments, JMeter load plans, and end-to-end Kafka-to-ClickHouse verification scripts support production rollout.

The challenge

What needed to change

01

Format sprawl

Display, high-impact, owned video, header bidding, house ads and multi-SSP VAST had to run together.

02

No unified visibility

Separate tools left ops teams blind when fills failed.

03

Slow request path

Live relational joins at request time hurt latency and fill rates.

04

System of record

MariaDB had to stay authoritative while serving ran from a hot cache.

05

Partner dialects

Each partner required its own macro format.

06

Trustworthy measurement

Funnel measurement was needed for owned players and outbound Global VAST inventory.

How it works

End-to-end workflows

Ad request to analytics

  1. 1Admin config in MariaDB
  2. 2RabbitMQ push to Aerospike
  3. 3Ad request (JSON / VAST)
  4. 4Targeting, caps & priority
  5. 5Creative served
  6. 6Events to Kafka
  7. 7ClickHouse warehouse
  8. 8Reports & CSV export

The solution

What we built

Ad APIs & VAST Endpoints

  • JSON /ads/req lifecycle for players
  • VAST 3.0 via /vast3/c (player session path)
  • /vast3/g Global SSP path
  • /vast3/event event tracking

Header Bidding & Supply Chain

Header bidding with sellers.json, schain and ads.txt support.

Dialect-Aware Macros

IAB, Google Ad Manager, SpringServe, Aniview, Publica and platform-specific macro slots.

Targeting & Delivery Controls

  • Geo via MaxMind GeoIP2
  • Device, OS and domain targeting
  • Daypart and DMA controls
  • Line-item priority models

Creative Rotation & Caps

Creative weighting and rotation, plus impression and frequency caps backed by Aerospike.

House-Ad Fallback

Keeps inventory monetized when paid demand misses, with dedicated reporting.

Analytics & Reporting

Player, Global VAST (POA v2.1), display, header-bidding and house pipelines in ClickHouse, with interactive reports and async CSV export.

Production Readiness Tooling

Feature flags, YAML environment profiles, JMeter load plans and end-to-end Kafka-to-ClickHouse verification scripts.

Architecture

Four connected planes

Separating configuration, caching, serving and measurement lets ops teams configure detailed campaigns while ad calls are decided in milliseconds and analytics are processed asynchronously.

Layered view

  1. Control plane: MariaDB admin APIs
  2. Speed plane: RabbitMQ → Aerospike ad-cache
  3. Serving plane: Netty video, display & house-ad servers
  4. Measurement plane: Kafka → ClickHouse & report APIs
01

Cache, don't join

Configuration is pushed to Aerospike, so the request path never runs live SQL joins.

02

Lean servers

Netty HTTP servers keep video, display and house-ad serving fast and lightweight.

03

Async measurement

Serving outcomes go to Kafka and land in ClickHouse without slowing ad calls.

04

Dialect-aware integration

Macros adapt to each demand partner's format.

Case study PDF

Download this case study

Share your name and work email to receive the PDF for Publisher Advertising & Monetization Platform.