Build a Google ADK Streaming Ad Insertion & Monetization Agent
Media SaaS infrastructure platforms managing thousands of fast-channels require real-time ad slot decision engines. Build a Google ADK agent powered by Gemini models that evaluates viewer contextual signals and schedules target ad insertions with sub-200ms decision latency.
What you are building
The core problem, expected build, and operating context for this challenge.
Develop a Google ADK ad insertion agent that selects dynamic video ad placements based on viewer context and channel revenue goals.
How work is evaluated
Evaluates ad placement selection and response execution speed.
Challenge datasets
Public datasets, plus the private datasets you have access to.
How submissions are scored
These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.
latency_check
Verifies decision time is under 200ms
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
decision_time_ms
Execution latency for ad placement decisions • target: 140 • range: 0-1000
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
What you should walk away with
Build Google ADK dynamic tool components for ad inventory lookup
Process real-time video stream metadata and viewer demographic profiles
Optimize ad CPM fill rates while preserving viewer retention constraints
Achieve ad slot decision latency under 200ms
Reference links and supporting material
Synthetic streaming video ad break cues and advertiser catalog metadata.
Challenge setup
Evaluates ad placement selection and response execution speed.
Challenge input
JSON stream cue event payload
Google ADK
Agent development kit for real-time streaming tools
Evaluated output
JSON ad decision payload with ad_id, cpm_usd, and decision_time_ms
- Verifies decision time is under 200ms
- Execution latency for ad placement decisions • target: 140 • range: 0-1000
- Benchmark: Real-time Ad Recommendation Benchmark
- Decision Time Ms target: 140
- 1 public reference case
- Python execution harness
- Python sandbox (unavailable on Versalist)
Summary shows the first task, up to three tools, and up to three evidence items. Open the technical recipe to view all configured items.
View technical recipe
Configured tools
- Google ADK · Required
- Google · Optional
- Google Gemini · Optional
Evaluation contract
- latency_check · Weight 1
- decision_time_ms · Weight 1
Metrics
- decision_time_ms · Target 140
Benchmarks
- Real-time Ad Recommendation Benchmark
- general
Reference cases
- 1 public reference case
Workflow tasks
- Task 1
Input: JSON stream cue event payload
Output: JSON ad decision payload with ad_id, cpm_usd, and decision_time_ms
Execution harness: Python
Evaluation tools
- Google ADK · Agent Framework
Recipe freeze marker
No recipe freeze time is recorded.