Every ad.
Every sales channel.
Every screen.
One platform.
Ashish Tadose
Senior Data Architect @ PubMatic
Apache Apex committer
RealTime AdTech
Reporting & Targeting with Apache Apex
Agenda
§ About	PubMatic	
§ Reporting	&	Targeting	use	cases
§ Apache	Apex	overview
§ PubMatic’s	Streaming	use	cases	with	Apache	Apex
§ Comparing	Apache	Apex
§ Roadmap
2Proprietary	and	Confidential
Confidential & Proprietary
About	PubMatic
3
About PubMatic
ü PubMatic	is	a	leading	marketing	automation	software	
company	for	publishers.	
ü Through	real-time	analytics,	yield	management,	and	
workflow	automation,	PubMatic	enables	publishers	to	
make	smarter	inventory	decisions	and	improve	revenue	
performance..
ü Drives	Innovation	in	AdTech
4Proprietary	and	Confidential
5Proprietary	and	Confidential
ad impressions
served daily
bids processed
daily
data processed
daily
data under
management
data center
across geography
40B+
350B+
50TB
10PB6
Scale	That	Drives	Results
General Analytics
Dashboard
Guaranteed Ad Server
- Pacing engine
AdServering
- Impression capping report
- Floor recommendation
Inventory Discovery
Machine Learning
Reporting & Analytics
Platform
Ad – hoc Reports
Audience
Reports
Brand Control
Reporting
Use	cases
Lambda	Architecture	– Velocity	&	Volume	
7
Data
Data Sink
Batch
Eg :
Hadoop
Batch write
, random
read
Real Time
e.g. Storm
Random
read &
write
Query
&
Merge
Use	cases	for	a	real	time	solution
ü Real-time	reporting
- Reporting	of	critical	metrics	around	
campaign	monetization
- Revenue,	impression	&	click	info
- Aggregate	counters	&	reporting	
on	top	N	metrics	
- Low	latency	querying	using	Kafka	
in	pub-sub	model.
ü Real-time	Monitoring
- Alerts	on	deal	tracking	&	monetization
- Campaign	&	deal	health
ü Real-time	Learning
- Using	the	lost	bid	insights	for	price	recommendations.
ü Allocation	Engine
- Feedback	to	ad	serving	for	guaranteed	delivery	&	line	item	pacing
8Proprietary	and	Confidential
AdServer AdServer AdServer AdServer
Kafka
Cluster
RealTime reporting
data processing
Processing for
AdServer Feedback
Confidential & Proprietary
Apache	Apex	Overview
9
10Proprietary	and	Confidential
11Proprietary	and	Confidential
12Proprietary	and	Confidential
13Proprietary	and	Confidential
14Proprietary	and	Confidential

RealTime AdTech reporting & targeting with Apache Apex