|
@@ -214,6 +214,7 @@ public class RankServiceImpl implements RankService {
|
|
|
realECpm=cpmMin/1000d;
|
|
|
}
|
|
|
result.setEcpm2(realECpm);
|
|
|
+ AdPlatformBidCreativeDTO dto=groupMap.get(topItem.getAdId()).get(0);
|
|
|
JSONObject object=new JSONObject();
|
|
|
object.put("mid",request.getMid());
|
|
|
object.put("adid",result.getCreativeId());
|
|
@@ -226,7 +227,8 @@ public class RankServiceImpl implements RankService {
|
|
|
//临时加入供pid v2使用
|
|
|
object.put("realECpm",realECpm);
|
|
|
object.put("creativeId",result.getCreativeId());
|
|
|
- object.put("cpa",topItem.getCpa());
|
|
|
+ //CPA还原
|
|
|
+ object.put("cpa",dto.getCpa());
|
|
|
object.put("dataTime",currentTime.format(timeFormatter));
|
|
|
log.info("svc=adBidRank {}", JSONObject.toJSONString(object));
|
|
|
object.remove("lrsamples");
|