Back to problems

Design an Ad Assignment API

System Design · Ebay · Medium

Design a production HTTP API around an ad-assignment service. The existing assignment routine receives a user identifier, an ordered list of page placements such as top, sidebar, and bottom, and a collection of candidate advertisements. Each candidate may declare the placements for which it is eligible. The routine randomly places eligible candidates into slots. Within a single call, the same ad may not be used in more than one position, and no ad may be assigned beyond its…

Checking your access…