|
@@ -141,6 +141,7 @@ public class VideoAdThompsonScorerV2 {
|
|
|
item.setBid1(dto.getBid1());
|
|
|
item.setBid2(dto.getBid2());
|
|
|
item.setWeight(dto.getWeight());
|
|
|
+ item.setCreativeCode(dto.getCreativeCode());
|
|
|
result.add(item);
|
|
|
}
|
|
|
|
|
@@ -183,6 +184,8 @@ public class VideoAdThompsonScorerV2 {
|
|
|
Map<String, Object> ext = this.extMap(statistic, "664", dto.getCpa(), null,
|
|
|
exp664Param.getOrDefault("alpha", 1d), exp664Param.getOrDefault("beta", 10000d), null);
|
|
|
ext.put("s1", s1);
|
|
|
+ item.setCreativeCode(dto.getCreativeCode());
|
|
|
+ item.setWeight(dto.getWeight());
|
|
|
item.setExt(ext);
|
|
|
item.setScore_type(664);
|
|
|
} catch (Exception e) {
|
|
@@ -226,10 +229,12 @@ public class VideoAdThompsonScorerV2 {
|
|
|
score = score * dto.getCpa() * dto.getBid1() * dto.getBid2();
|
|
|
item.setScore(score);
|
|
|
item.setScore_type(665);
|
|
|
+ item.setWeight(dto.getWeight());
|
|
|
|
|
|
Map<String, Object> ext = this.extMap(statistic, "665", dto.getCpa(), null,
|
|
|
exp665Param.getOrDefault("alpha", 1d), exp665Param.getOrDefault("beta", 10000d), null);
|
|
|
ext.put("s1", s1);
|
|
|
+ item.setCreativeCode(dto.getCreativeCode());
|
|
|
item.setExt(ext);
|
|
|
} catch (Exception e) {
|
|
|
log.error("svc=thompsonScorerByExp665 {}", gson.toJson(e.getStackTrace()));
|
|
@@ -375,6 +380,7 @@ public class VideoAdThompsonScorerV2 {
|
|
|
item.setBid2(dto.getBid2());
|
|
|
item.setBid1(dto.getBid1());
|
|
|
item.setWeight(dto.getWeight());
|
|
|
+ item.setCreativeCode(dto.getCreativeCode());
|
|
|
result.add(item);
|
|
|
}
|
|
|
|
|
@@ -462,6 +468,7 @@ public class VideoAdThompsonScorerV2 {
|
|
|
item.setExt(ext);
|
|
|
item.setBid1(dto.getBid1());
|
|
|
item.setBid2(dto.getBid2());
|
|
|
+ item.setCreativeCode(dto.getCreativeCode());
|
|
|
|
|
|
result.add(item);
|
|
|
}
|