|
@@ -225,7 +225,7 @@ public class RankStrategyBy679 extends RankStrategyBasic {
|
|
|
double cpmCoefficient = weightParam.getOrDefault("cpmCoefficient", 0.9);
|
|
|
|
|
|
for (AdRankItem item : result) {
|
|
|
- double bid = item.getCpm();
|
|
|
+ double bid = item.getCpa();
|
|
|
if (scoreParam.getExpCodeSet().contains(correctCpaExp1) || scoreParam.getExpCodeSet().contains(correctCpaExp2)) {
|
|
|
Double correctionFactor = (Double) item.getExt().get("correctionFactor");
|
|
|
item.getScoreMap().put("correctionFactor", correctionFactor);
|