|
@@ -1234,6 +1234,7 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
|
|
|
|
static ExecutorService executorBidTypeService = Executors.newFixedThreadPool(20);
|
|
|
static ExecutorService executorMaxBidService = Executors.newFixedThreadPool(5);
|
|
|
+
|
|
|
private void addGroup(Long advertiserId, JSONArray details) {
|
|
|
JSONObject json = warningOperationService.getBidTypeAndMaxBid(advertiserId);
|
|
|
Long maxBid = json.getLong("maxBid");// 最高出价
|
|
@@ -1253,7 +1254,7 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
|
String unit_name = detail.getString("unit_name");
|
|
|
Integer status = detail.getInteger("status");
|
|
|
Integer put_status = detail.getInteger("put_status");
|
|
|
- if (put_status == 1) { // 组状态为 投放中的
|
|
|
+ /* if (put_status == 1) { // 组状态为 投放中的
|
|
|
if (status != 15) { // 广告组状态为非暂停
|
|
|
if ((!bidType.equals(bid_type)) || (!ocpxActionType.equals(ocpx_action_type))) { // 出价方式设置非法
|
|
|
if (day_budget > 500 * 1000 || day_budget == 0) { // 预算大于500 或者不限制预算 需要发送通知 并且进行暂停操作
|
|
@@ -1274,7 +1275,7 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
+ }*/
|
|
|
KuaiShouGroup group = new KuaiShouGroup();
|
|
|
group.setId("" + advertiserId + unitId);
|
|
|
group.setAccountId(advertiserId);
|