← Back to System Design Mind Map
🏗️ System DesignID: ecpm-ranking-formula

Real-Time Bidding eCPM Ranking

实时竞价 eCPM 排序与计费公式
🎯Core Definition
Real-Time Bidding (RTB) eCPM Ranking is the unifying mathematical standard across digital advertising exchanges that standardizes heterogeneous advertiser bidding models into expected revenue per thousand impressions (eCPM): 1) CPM Bidding: eCPM=bidCPM\text{eCPM} = \text{bid}_{\text{CPM}}; 2) CPC Bidding (pay-per-click): eCPM=1000×pCTR×bidCPC\text{eCPM} = 1000 \times p\text{CTR} \times \text{bid}_{\text{CPC}}; 3) CPA / oCPM Bidding (optimized target CPA): eCPM=1000×pCTR×pCVR×bidCPA\text{eCPM} = 1000 \times p\text{CTR} \times p\text{CVR} \times \text{bid}_{\text{CPA}}; The RTB engine sorts all targeted ads in descending order of eCPM; the top-scoring ad wins the impression auction and is billed according to the prevailing auction pricing mechanism.
💡Use Cases
Real-Time Bidding Exchanges (DSP, SSP, Ad Networks), sponsored search keyword auctions, and programmatic social ads.
⚡Key Problems Solved
Different advertisers use incompatible pricing models (brand advertisers bid on CPM, performance buyers bid on CPA); eCPM normalizes all bids into expected platform revenue, mathematically maximizing total yield per available impression.
🎯Core Interview Exam Points
Fundamentals · Production Scenarios · Deep Dive
Core Def
Explain the core definition, underlying mechanism/math, and key principles of Real-Time Bidding eCPM Ranking.
Use Cases
In production engineering, what are the primary use cases for Real-Time Bidding eCPM Ranking and what core pain points does it solve?
🔥 High-Frequency Deep-Dive Questions
1
Derive the oCPM dynamic bidding formula and prove why smart bidding adjusts effective CPC to bidCPC=pCVR×bidCPA\text{bid}_{\text{CPC}} = p\text{CVR} \times \text{bid}_{\text{CPA}}?
2
How to design composite ad ranking functions incorporating quality scores QQ alongside pure eCPM to protect user experience?
3
Break down the RTB latency budget across SSP request dispatch, DSP internal retrieval, pCTR inference, and auction clearance within 50ms?
4
Explain the business rules and mathematical risk controls behind platform CPA guarantee and compensation mechanisms during advertiser cold-start?
5
Derive the GSP clearing price formula for the ii-th ad: Pi=eCPMi+11000×pCTRi+0.01P_i = \frac{\text{eCPM}_{i+1}}{1000 \times p\text{CTR}_i} + 0.01?
Updated 2026-08-14
🎯
Verify Mastery: Practice Exam Questions for "Real-Time Bidding eCPM Ranking"
Take pitfall multiple-choice questions with derivation options; mistakes are automatically logged.
🚀 Start Card Practice ➔
← Previous CardAd Targeting & pCTR PredictionNext Card →Auction Mechanisms: GSP vs VCG

🔗 More System Design Knowledge Cards

引用出处: TalentMe 450+ 工业级 AI 架构考点知识库 (Tech Vault) · 遵循 CC-BY-4.0 知识共享协议
URL: https://talentme.airsota.com/resources/tech/roadmap/mindmap/System_Design/card/ecpm-ranking-formula
中文速览与面试要点

实时竞价 eCPM 排序与计费公式 (Real-Time Bidding eCPM Ranking)

定义: 实时竞价与 eCPM 排序体系 (Real-Time Bidding & eCPM Ranking Formula) 是计算广告交易市场中统一衡量不同计费模式广告竞争力的黄金数学公式;eCPM(Effective Cost Per Mille,每千次展示期望收入)将不同结算方式归一化为统一的千次展示收益维度: 1) CPM 模式: eCPM = bid_ CPM; 2) CPC 模式(按点击扣费): eCPM = 1000 p CTR bid_ CPC; 3) CPA / oCPM / oCPC 模式(按转化目标智能出价): eCPM = 1000 p CTR p CVR bid_ CPA; 在线广告竞价引擎对所有符合定向条件的广告按 eCPM 降序排序,由最高的广告赢得广告位 (Ad Slot),并依据博弈竞价机制执行真实扣费。 使用场景: 实时竞价广告交易平台 (Ad Exchange, DSP, SSP, RTB)、搜索广告竞价、信息流智能出价系统。 解决的问题: 不同的广告主有不同的诉求(品牌广告主按展示 CPM 出价,电商按转化 CPA 出价);eCPM 公式将异构出价统一转换为平台每千次流量的期望商业收益,实现了平台流量变现效率的全局数学最大化。

核心要点

  • 推导从 CPA 目标出价到 oCPM 实时出价公式:为什么智能出价的底层本质是动态将出价折算为 bid_ CPC = p CVR bid_ CPA?
  • 当广告系统引入广告质量度评分 Q(如用户体验分、落地页质量)时,综合排序得分 RankScore = f( eCPM, Q) 的设计原则?
  • 广告系统在面临展示机会时的竞价链路耗时分解(DSP 竞价请求 内部检索 pCTR 计算 eCPM 排序 竞价响应 <50 ms)?
  • 在 oCPC / oCPM 模式下,平台提供的“转化成本保障 (Cost Protection / 赔付机制)”在冷启动阶段的触发条件与数学风控?
  • 分析“广义第二价格 (GSP)”下的扣费公式与 eCPM 排序的关系:第 i 名胜出者的真实单次点击扣费 P_i = eCPM_i+11000 p CTR_i + 0.01 的推导?