|
@@ -351,7 +351,7 @@ public class ByteDanceAdvertiserDataServiceImpl implements IByteDanceAdvertiserD
|
|
|
bidFalg = false;
|
|
|
msgBid = "计划出价为空";
|
|
|
} else {
|
|
|
- BigDecimal cpa = new BigDecimal(cpaBid);
|
|
|
+ BigDecimal cpa = new BigDecimal(cpaBid).multiply(new BigDecimal("1000"));
|
|
|
BigDecimal ocpx = new BigDecimal(ocpxBid);
|
|
|
if (cpa.compareTo(ocpx) == 1) {
|
|
|
//计划转化出价cpa 大于 项目设置最大转化出价,则关停
|
|
@@ -376,7 +376,7 @@ public class ByteDanceAdvertiserDataServiceImpl implements IByteDanceAdvertiserD
|
|
|
bidFalg = false;
|
|
|
msgBid = "计划(深度)出价为空";
|
|
|
} else {
|
|
|
- BigDecimal cpa = new BigDecimal(deepConversionBid);
|
|
|
+ BigDecimal cpa = new BigDecimal(deepConversionBid).multiply(new BigDecimal("1000"));
|
|
|
BigDecimal ocpx = new BigDecimal(deepBid);
|
|
|
if (cpa.compareTo(ocpx) == 1) {
|
|
|
//计划转化出价cpa 大于 项目设置最大转化出价,则关停
|
|
@@ -390,10 +390,12 @@ public class ByteDanceAdvertiserDataServiceImpl implements IByteDanceAdvertiserD
|
|
|
if (!typeFalg) { // 出价方式设置非法
|
|
|
String text = getBidTypeText(json.getString("projectName"), accountId, planId, planName, msgType);
|
|
|
sendMsg(accountId, planId, text);
|
|
|
+ detail.put("opt_status","opt_AD_STATUS_DISABLE");
|
|
|
}
|
|
|
if (!bidFalg) {
|
|
|
String text = getOverBidMessage(json.getString("projectName"), accountId, planId, planName, msgBid);
|
|
|
sendMsg(accountId, planId, text);
|
|
|
+ detail.put("opt_status","opt_AD_STATUS_DISABLE");
|
|
|
}
|
|
|
}
|
|
|
|