PracHub
QuestionsCoachesLearningGuidesInterview Prep
|Home/Machine Learning/Meta

How would you design a Shop Ads ranking algorithm?

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a candidate's understanding of machine learning-driven ad ranking, auction mechanics, multi-stakeholder objective formulation, predictive modeling for CTR/CVR/value, and measurement challenges such as delayed feedback, selection bias, and fairness in online advertising.

  • easy
  • Meta
  • Machine Learning
  • Data Scientist

How would you design a Shop Ads ranking algorithm?

Company: Meta

Role: Data Scientist

Category: Machine Learning

Difficulty: easy

Interview Round: Technical Screen

## Context An ads ranking system serves ads via an auction. You want to **uprank Shop Ads** relative to Website Ads to improve user conversion and help certain advertisers. ## Task Design (at a high level) an algorithmic approach for ranking that incorporates the “Shop Ads” preference. Cover: 1. **Objective function**: What are you optimizing (e.g., expected value, user utility, revenue)? How do you handle multiple stakeholders (users, advertisers, platform)? 2. **Modeling approach**: What predictions do you need (CTR, CVR, purchase value)? Any special considerations for Shop Ads vs Website Ads? 3. **How to incorporate uprank** without breaking the auction (e.g., boost factor, constraint, or multi-objective optimization). 4. **Training data & labels**: delayed conversions, missing data (privacy), selection bias from prior ranking. 5. **Offline + online evaluation**: what offline metrics, counterfactual evaluation methods, and online tests would you run? 6. **Key risks**: feedback loops, calibration issues, fairness across advertiser sizes, cold start. You may assume the platform currently ranks ads by something like `score = bid * pCTR * pCVR * value` (or a learned equivalent).

Quick Answer: This question evaluates a candidate's understanding of machine learning-driven ad ranking, auction mechanics, multi-stakeholder objective formulation, predictive modeling for CTR/CVR/value, and measurement challenges such as delayed feedback, selection bias, and fairness in online advertising.

Related Interview Questions

  • Self-Attention: Implementation, Complexity, and Efficient Variants - Meta (hard)
  • Machine Learning Fundamentals: Optimizers, Scaling Laws, and Clustering - Meta (hard)
  • Implement 1NN Embeddings and Forward Pass - Meta (hard)
  • Design and evaluate an ads ranking algorithm - Meta (easy)
  • Derive Linear Regression Solution - Meta (medium)
|Home/Machine Learning/Meta

How would you design a Shop Ads ranking algorithm?

Meta logo
Meta
Feb 12, 2026, 2:34 PM
easyData ScientistTechnical ScreenMachine Learning
5
0
Loading...

Context

An ads ranking system serves ads via an auction. You want to uprank Shop Ads relative to Website Ads to improve user conversion and help certain advertisers.

Task

Design (at a high level) an algorithmic approach for ranking that incorporates the “Shop Ads” preference.

Cover:

  1. Objective function : What are you optimizing (e.g., expected value, user utility, revenue)? How do you handle multiple stakeholders (users, advertisers, platform)?
  2. Modeling approach : What predictions do you need (CTR, CVR, purchase value)? Any special considerations for Shop Ads vs Website Ads?
  3. How to incorporate uprank without breaking the auction (e.g., boost factor, constraint, or multi-objective optimization).
  4. Training data & labels : delayed conversions, missing data (privacy), selection bias from prior ranking.
  5. Offline + online evaluation : what offline metrics, counterfactual evaluation methods, and online tests would you run?
  6. Key risks : feedback loops, calibration issues, fairness across advertiser sizes, cold start.

You may assume the platform currently ranks ads by something like score = bid * pCTR * pCVR * value (or a learned equivalent).

Loading comments...

Browse More Questions

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

Write your answer

Your first approved answer each day earns 20 XP.

Sign in to write your answer.
PracHub

Master your tech interviews with 8,500+ 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
  • AI Coding 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.