|
@@ -321,7 +321,8 @@ public class ByteDanceAdvertiserDataServiceImpl implements IByteDanceAdvertiserD
|
|
String status = detail.getString("status");
|
|
String status = detail.getString("status");
|
|
//操作状态
|
|
//操作状态
|
|
String optStatus = detail.getString("opt_status");
|
|
String optStatus = detail.getString("opt_status");
|
|
- if ("AD_STATUS_ENABLE".equals(optStatus) && !"AD_STATUS_DISABLE".equals(status)) { // 操作状态为‘启用’,广告计划投放状态 非‘暂停’
|
|
|
|
|
|
+ if (true) { // 操作状态为‘启用’,广告计划投放状态 非‘暂停’
|
|
|
|
+// if ("AD_STATUS_ENABLE".equals(optStatus) && !"AD_STATUS_DISABLE".equals(status)) { // 操作状态为‘启用’,广告计划投放状态 非‘暂停’
|
|
Map<String, String> textMap = new HashMap<>();
|
|
Map<String, String> textMap = new HashMap<>();
|
|
List<JSONObject> lists = creativeMapper.getBytedanceOcpxTypeList();
|
|
List<JSONObject> lists = creativeMapper.getBytedanceOcpxTypeList();
|
|
for (JSONObject da : lists) {
|
|
for (JSONObject da : lists) {
|
|
@@ -413,7 +414,7 @@ public class ByteDanceAdvertiserDataServiceImpl implements IByteDanceAdvertiserD
|
|
//关停计划
|
|
//关停计划
|
|
CtopOauthToken token = tokenService.getTokenByAccountId(accountId);
|
|
CtopOauthToken token = tokenService.getTokenByAccountId(accountId);
|
|
marketingServiceImpl.updPlanStatus(token, Arrays.asList(planId), "disable");
|
|
marketingServiceImpl.updPlanStatus(token, Arrays.asList(planId), "disable");
|
|
- log.info("出价方式预警,accountId:{}==>计划id:{}=====转化目标不一致,计划已【关停】============", accountId, planId);
|
|
|
|
|
|
+ log.info(">预警<,账户:{}=>计划:{}现已【关停】---> {}", accountId, planId,text);
|
|
try {
|
|
try {
|
|
UserAllocation account = userAllocationService.getByAccountId(accountId);
|
|
UserAllocation account = userAllocationService.getByAccountId(accountId);
|
|
String userId = "";
|
|
String userId = "";
|