Loading...
collect clicks from FE
POST /v1/track/clicks: request:{clickEvent}
view clicks reports
Report query
GET /v1/reports/ads/{adId}/clicks?start={}&end={}
GET /v1/reports/ads/{adId}/clicks?campaignId={}&breakdown=age,geo,gender&channel=website
These endpoints are used
above GET all need JWT as advertiser/admin login as authentication, and rule-based authorization. advertiser can access their own ads/campaigns/..
admin has broader access scope
Describe the overall system architecture. Identify the main components needed to solve the problem end-to-end. Use the diagramming tool to create a block diagram.
Deep dive into 2-3 key components. Explain how they work, how they scale, discuss tradeoffs, capacity, and any relevant algorithms or data structures.