Add API to return sponsored add-ons for the homepage shelf (original) (raw)
We need an API to return sponsored add-ons for the homepage shelf. It needs to call Adzerk API to decide which add-ons to show, using the metadata returned to find add-on ids.
On top of the regular add-on serializer info returned, we need to return 2 different additional URLs:
- The impression URL (proxied through Add proxy for Adzerk impression URLs #7967)
- The click URL (proxied through Add proxy for Adzerk click URLs #7968)
Both are returned by adzerk but needs to be modified to be proxied through our servers (hiding client IPs from Adzerk and letting us implement rate limiting, integrating with the fraud pipeline etc later if needed).
PRD: https://docs.google.com/document/d/19LgWE3Bs_UUE6uV18rwhJOKaMHyPGEoPvg5zJ7gsZwc/edit?pli=1