|
@@ -140,6 +140,7 @@ public class VideoAdThompsonScorerV2 {
|
|
|
item.setScore_type(663);
|
|
|
item.setBid1(dto.getBid1());
|
|
|
item.setBid2(dto.getBid2());
|
|
|
+ item.setWeight(dto.getWeight());
|
|
|
result.add(item);
|
|
|
}
|
|
|
|
|
@@ -373,6 +374,7 @@ public class VideoAdThompsonScorerV2 {
|
|
|
item.setScore_type(666);
|
|
|
item.setBid2(dto.getBid2());
|
|
|
item.setBid1(dto.getBid1());
|
|
|
+ item.setWeight(dto.getWeight());
|
|
|
result.add(item);
|
|
|
}
|
|
|
|
|
@@ -443,6 +445,8 @@ public class VideoAdThompsonScorerV2 {
|
|
|
ext.put("vidCidA", alpha);
|
|
|
ext.put("cidB", cidBeta);
|
|
|
ext.put("vidCidB", vidCidBeta);
|
|
|
+ ext.put("bid1", dto.getBid1());
|
|
|
+ ext.put("bid2", dto.getBid2());
|
|
|
ext.put("cidStatistic", JSON.toJSONString(cidStatistic));
|
|
|
ext.put("vidCidStatistic", JSON.toJSONString(vidCidStatistic));
|
|
|
ext.put("cpa", dto.getCpa());
|
|
@@ -453,8 +457,11 @@ public class VideoAdThompsonScorerV2 {
|
|
|
AdRankItem item = new AdRankItem();
|
|
|
item.setCpa(dto.getCpa());
|
|
|
item.setAdId(dto.getCreativeId());
|
|
|
+ item.setWeight(dto.getWeight());
|
|
|
item.setScore(score);
|
|
|
item.setExt(ext);
|
|
|
+ item.setBid1(dto.getBid1());
|
|
|
+ item.setBid2(dto.getBid2());
|
|
|
|
|
|
result.add(item);
|
|
|
}
|