Design an ads-ranking system for a large social or content platform. Given a user, a page or feed impression slot, and a pool of eligible advertisers, the system should select and rank ads to show. The platform should optimize advertiser value while protecting user experience.