Marketing ops · Production

Spotify builds a multi-agent architecture for AI-powered advertising media planning

The problem

Spotify's ads business had the same core decisions re-implemented per buying channel and surface, causing behavior to drift over time with no unified intent layer to understand advertiser goals and orchestrate Ads APIs consistently. Advertisers also had to manually configure all campaign dimensions without optimization guidance from historical performance data.

First attempt

The standard playbook of a new service with a state machine and REST endpoints did not fit because workflows are combinatorial and decisions needed to appear consistently everywhere. The previous manual campaign configuration had complex UI flows, no optimization guidance, slow iteration, and no access to historical performance data.

Workflow diagram · grounded in source
1
Advertiser submits natural language brief
trigger
“enables advertisers to generate optimized media plans through natural language interaction”
2
RouterAgent classifies message
routing
“The RouterAgent analyzes incoming user messages and determines what information is present: This fast routing step prevents unnecessary LLM calls and enables conditional agent execution.”
3
Parallel resolution agents extract parameters
ai_action
“GoalResolverAgent: Maps user intent to campaign objectives (REACH, CLICKS, APP_INSTALLS, etc.) and searches for appropriate ad categories AudienceResolverAgent: Extracts targeting criteria including interests (from a predefined taxonomy)…”
4
MediaPlannerAgent generates recommendations
ai_action
“The MediaPlannerAgent is where the magic happens. It takes all resolved information and generates optimized ad set recommendations using a heuristics-based engine backed by historical performance data.”
5
Optimized media plan delivered
output
“generate optimized, data-driven media plans in seconds”
Reported outcome

The Ads AI multi-agent system reduced media plan creation time from 15-30 minutes to 5-10 seconds and cut required user inputs from 20+ form fields to 1-3 natural language messages, with every recommendation backed by historical performance data from thousands of campaigns.

Reported metrics
Media plan creation time (agentic)5-10 seconds
Media plan creation time (manual baseline)15-30 minutes
Required user inputs (agentic)1-3 natural language messages
Required user inputs (manual baseline)20+
Show all 5 reported metrics
media plan creation time (agentic)5-10 seconds
media plan creation time (manual baseline)15-30 minutes
required user inputs (agentic)1-3 natural language messages
required user inputs (manual baseline)20+
agent response latency with parallel execution~3-5s
Reported stack
Vertex AIGemini 2.5 ProgRPCPostgreSQLGoogle CloudApollo
Source
https://engineering.atspotify.com/2026/02/our-multi-agent-architecture-for-smarter-advertising
Read source ↗

Frequently asked questions

What did this team achieve with this AI workflow?

The Ads AI multi-agent system reduced media plan creation time from 15-30 minutes to 5-10 seconds and cut required user inputs from 20+ form fields to 1-3 natural language messages, with every recommendation backed by…

What tools did this team use?

Vertex AI, Gemini 2.5 Pro, gRPC, PostgreSQL, Google Cloud, Apollo.

What results were reported?

Media plan creation time (agentic): 5-10 seconds; Media plan creation time (manual baseline): 15-30 minutes; Required user inputs (agentic): 1-3 natural language messages; Required user inputs (manual baseline): 20+ (source-reported, not independently verified).

What failed first in this deployment?

The standard playbook of a new service with a state machine and REST endpoints did not fit because workflows are combinatorial and decisions needed to appear consistently everywhere.

How is this marketing ops AI workflow structured?

Advertiser submits natural language brief → RouterAgent classifies message → Parallel resolution agents extract parameters → MediaPlannerAgent generates recommendations → Optimized media plan delivered.