Frameworks

Uber Redesigns Ads Marketplace with a Generalized Architecture for Scalable Advertising

Uber started with simple restaurant ads. As its ads grew into many formats and apps, it rebuilt the whole marketplace so one platform can handle them all.

Uber redesigns its ads marketplace with a generalized architecture for scalable advertising
Uber's new ads marketplace separates supply, marketplace, and demand into clear layers.

Uber has shared how it redesigned its ads marketplace. The marketplace is the system that decides which ads to show on Uber's apps and how advertisers pay for them. Uber moved from a setup built for one product to a generalized platform that can support many ad types and buying models.

The design was explained by Uber engineer Yuriy Bondaruk. It is a useful lesson for anyone who builds systems that grow from one feature into many.

Why Uber needed a redesign

Uber Ads began with Sponsored Listings, and a fairly central serving setup was enough. Then the business grew to include Sponsored Items, Shoppable Display Ads, Display Banners, Video Ads, and more.

The growth caused several problems:

  • The serving system drifted in different directions. Even for Sponsored Listings, how ads were found, scored, and priced varied across surfaces.
  • The home feed ranked ads closely together with organic content, while search ads relied on systems shared with organic search.
  • Uber planned to combine the Uber Eats ads platform with another ad server that powers ads on the Rider app and other display-heavy screens.
  • More teams worked in the same codebase, which made deployments and ownership harder to manage.

By early 2025, the team saw that the old design no longer fit. They set out to build something more flexible.

The three-layer design

The new design looks like a classic ad exchange, a marketplace that connects the places that show ads with the advertisers who want to appear there. It has three layers:

  • Supply layer: takes requests from each product surface and turns them into one standard marketplace request. Each surface can add its own details, such as candidate stores, placement info, supported formats, or trip signals.
  • Marketplace layer: the orchestrator. It picks the auction or deal strategy, calls the right demand providers, and decides which ads win.
  • Demand layer: demand providers find eligible ads, estimate how relevant they are (for example, predicted click rate), and work out bids.

Plain idea: think of a school event. One group gathers the requests, a referee runs the rules, and teams bring their entries. Nobody mixes up their jobs.

Uber says its setup differs from open real-time bidding, because it owns the supply side and most of the demand. That lets its components share richer context. You can read more about the open version in the OpenRTB standard and real-time bidding.

The AdSpec: one standard description

Different surfaces need different things. Search ads use stores found earlier in the search flow. Rider display and video ads need trip context. If the marketplace handled each case directly, it would turn into a tangle of special cases.

So Uber added a normalized abstraction called the AdSpec. It holds only what the marketplace needs to decide what to do:

  • the auction or deal strategy
  • which demand providers are eligible
  • the supported ad formats
  • pricing and auction settings, such as the number of ad slots and the cost model

The supply layer fills in the AdSpec for each surface. Uber gives two examples:

  • Home feed ads: sponsored listings, 5 ad slots, cost-per-click pricing, and a second-price private marketplace auction.
  • Rider app journey ads: display and video formats, one ad slot, preferred deals, and a fallback to an open auction.

This keeps the marketplace product-agnostic. New surfaces, formats, and buying models can be added without deep changes to its core. For more on how these auctions work, see this explanation of a second-price auction.

Extensions keep requests tidy

Some demand providers need extra information, such as upstream candidate stores, trip signals, or carousel details. Putting everything in one shared request would make it large and hard to change.

Uber instead attaches surface-specific data as separate extensions. Each demand provider reads only the ones it needs. The marketplace layer does not look inside them. If a provider is missing a required extension, it simply returns no bids.

  • New signals can be added without changing the core request.
  • Unrelated use cases stay separate.
  • Old features can be removed by cleaning up one extension.
  • Demand providers can change on their own while still using a common interface.

Page-level APIs

A single screen can show several kinds of ads at once. A home feed might have sponsored listings, shoppable display units, and banners together. Uber chose page-level endpoints, so one request returns all the ad formats for a page.

This design gave Uber clear benefits:

  • Clear ownership for each product's serving logic
  • Monitoring and alerts for each endpoint
  • Separate validation and fallback behavior
  • Simpler rate limiting and traffic control
  • Manageable growth as new formats and surfaces appear

Deals and auctions

The marketplace chooses a deal strategy, and demand providers create the bids. Uber started with two strategies:

  • Auction-based: providers return bids that compete in a first-price or second-price auction. This is used for sponsored listings and sponsored items.
  • Preferred deals (waterfall): ads are picked in a set order of priority, with an optional fallback to an auction. This suits guaranteed or reserved placements, such as some display and video spots.

Demand providers are built from shared parts like campaign hydration, pacing, ranking, bid calculation, validation, and filtering. Different flows reuse these parts while using their own way to find candidates. The design also supports external providers whose bids come from outside Uber. Their bids are cleaned, checked, de-duplicated, and enriched before joining an auction.

Keeping the system safe at runtime

Failure isolation

If one demand provider errors, times out, or sends a bad response, the marketplace does not fail the whole request. It carries on with the other eligible providers and finishes the auction with what it has. It also sends metrics for each provider to the team that owns it.

Fleet isolation

At first, all marketplace traffic ran on one shared production fleet. As Uber added native in-app ads, Rider display ads, and offsite programmatic traffic, problems grew. A bad display-ads release could force a rollback of unrelated sponsored listing changes.

Uber now runs several isolated production fleets of the ad-exchange service. They all use the same shared codebase. Differences come from configuration and which capabilities are switched on, not from branches in the code. Each environment has its own deployments, rollouts, alerts, and dashboards.

  • A smaller blast radius for failures and risky traffic
  • Independent deployments and rollbacks for each team and traffic type
  • One shared platform instead of many separate ad servers
  • Different integrations and settings per fleet

Three lessons from Uber

  1. Move from features to capabilitiesPlatforms offer reusable, configurable parts, such as pacing, campaign hydration, and pricing models, instead of code branches for every new format.
  2. Protect the core, push complexity to the edgesKeep the marketplace focused on auctions, deal strategies, and provider selection. Keep surface-specific changes in supply adapters, extensions, and demand providers.
  3. Match infrastructure to organizationIsolated fleets let teams deploy and scale on their own while sharing one platform and codebase.

What It Means for Developers

You may not build an ad system, but these ideas apply to any product that grows over time.

What It Means for Software Developers

  • Create a small, standard description, like the AdSpec, so core logic does not need to know about every product.
  • Use extensions or similar add-ons for data only some parts need, so the shared schema does not bloat.
  • Prefer reusable, configurable capabilities to one-off branches for each new case.
  • Brush up on core concepts with our Java tutorial if you are learning backend design.

What It Means for Backend Developers

  • Let each provider fail alone, so one slow or broken dependency does not break the whole response.
  • Consider page-level endpoints when a screen needs several results at once. They keep monitoring, validation, and rate limiting simple.
  • Separate orchestration (what strategy to use) from bid or result generation (who creates the candidates).
  • Validate input at each provider and let it decline when required data is missing.

What It Means for DevOps Engineers

  • Think about splitting one shared fleet into isolated environments when different traffic types carry different risk.
  • Give each fleet its own deployments, alerts, and dashboards so a rollback in one area does not touch another.
  • Send provider-level metrics to the owning team so ownership is clear.
  • Keep one codebase and use configuration for differences, so you avoid maintaining many near-copies.

Bottom line

Uber turned an ads system built for one product into a flexible marketplace. Clear layers, the AdSpec, request extensions, page-level APIs, and isolated fleets let it add new formats and partners without rewriting its core.

The main lesson is simple: keep the core small and stable, put variety at the edges, and match your infrastructure to the way your teams work.

CODETOFUN NEWS

Stay Ahead in Tech

Get the latest IT news, programming updates, and technology trends directly on your phone.

Your daily dose of tech, straight to your feed.

About the author