PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Machine Learning/Meta

Design an ad recommendation and ranking system

Last updated: Mar 29, 2026

Quick Overview

This question evaluates end-to-end ad recommendation and ranking design skills, covering machine learning modeling, recommender systems, causal and counterfactual evaluation, online learning, and production ML engineering within the Machine Learning domain, at a high-level system-design and modeling abstraction.

  • medium
  • Meta
  • Machine Learning
  • Data Scientist

Design an ad recommendation and ranking system

Company: Meta

Role: Data Scientist

Category: Machine Learning

Difficulty: medium

Interview Round: Onsite

You are building an **ad recommendation/ranking** system for a content feed (e.g., short-form videos). At each feed position, you may show either an organic item or an ad. Design the end-to-end approach: 1) Define the **objective(s)** (e.g., revenue, user experience) and how you would combine them (constraints vs. weighted objective). 2) Propose modeling choices for predicting key events (CTR, CVR, p(revenue), long-term value), including labels, features, and handling delayed feedback. 3) Explain how you would address common issues: - selection bias / counterfactual evaluation (logged policy) - exploration vs. exploitation - cold start (new ads, new users) - advertiser budget/pacing constraints - fairness/diversity constraints (optional but discuss if relevant) 4) Provide an evaluation plan: offline metrics + online A/B metrics and guardrails.

Quick Answer: This question evaluates end-to-end ad recommendation and ranking design skills, covering machine learning modeling, recommender systems, causal and counterfactual evaluation, online learning, and production ML engineering within the Machine Learning domain, at a high-level system-design and modeling abstraction.

Related Interview Questions

  • Implement 1NN Embeddings and Forward Pass - Meta (hard)
  • Design and evaluate an ads ranking algorithm - Meta (easy)
  • How would you design a Shop Ads ranking algorithm? - Meta (easy)
  • Derive Linear Regression Solution - Meta (medium)
  • Explain key ML metrics and techniques - Meta (medium)
Meta logo
Meta
Oct 20, 2025, 12:00 AM
Data Scientist
Onsite
Machine Learning
5
0

You are building an ad recommendation/ranking system for a content feed (e.g., short-form videos). At each feed position, you may show either an organic item or an ad.

Design the end-to-end approach:

  1. Define the objective(s) (e.g., revenue, user experience) and how you would combine them (constraints vs. weighted objective).
  2. Propose modeling choices for predicting key events (CTR, CVR, p(revenue), long-term value), including labels, features, and handling delayed feedback.
  3. Explain how you would address common issues:
  • selection bias / counterfactual evaluation (logged policy)
  • exploration vs. exploitation
  • cold start (new ads, new users)
  • advertiser budget/pacing constraints
  • fairness/diversity constraints (optional but discuss if relevant)
  1. Provide an evaluation plan: offline metrics + online A/B metrics and guardrails.

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More Machine Learning•More Meta•More Data Scientist•Meta Data Scientist•Meta Machine Learning•Data Scientist Machine Learning
PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.