fix(ad): 服务端强制不足一秒曝光收益为零 #150

Merged
guke merged 4 commits from codex/zero-short-ad-exposure into main 2026-07-21 13:53:11 +08:00
Member

改动

  • eCPM 上报新增可选 exposure_ms,兼容旧客户端
  • exposure_ms < 1000 时保留展示记录并强制有效 eCPM 为 0
  • 失败领券任务允许保留短曝光零收益 trace,后台显示 0 而不是未填充
  • 其他失败后的迟到曝光仍按原规则解绑 trace

验证

  • 相关 pytest:10 passed
  • Ruff:通过
  • compileall:通过

依赖:先合并 Server #149。

## 改动 - eCPM 上报新增可选 exposure_ms,兼容旧客户端 - exposure_ms < 1000 时保留展示记录并强制有效 eCPM 为 0 - 失败领券任务允许保留短曝光零收益 trace,后台显示 0 而不是未填充 - 其他失败后的迟到曝光仍按原规则解绑 trace ## 验证 - 相关 pytest:10 passed - Ruff:通过 - compileall:通过 依赖:先合并 Server #149。
linkeyu changed target branch from codex/fix-coupon-ad-late-callback to main 2026-07-21 11:43:54 +08:00
linkeyu added 3 commits 2026-07-21 11:43:54 +08:00
linkeyu added 1 commit 2026-07-21 13:45:38 +08:00
guke merged commit beadce31ed into main 2026-07-21 13:53:11 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: WonderableAI/shaguabijia-app-server#150