|
@@ -50,6 +50,7 @@ public class BytedancePromoterReportServiceImpl implements IBytedancePromoterRep
|
|
|
JSONObject result = JSONObject.parseObject(s);
|
|
JSONObject result = JSONObject.parseObject(s);
|
|
|
if (Check.isNull(result)) {
|
|
if (Check.isNull(result)) {
|
|
|
log.info("账户id:{},日期:{},广告时报(最细粒度)请求结果返回为空", advertiserId, startDate);
|
|
log.info("账户id:{},日期:{},广告时报(最细粒度)请求结果返回为空", advertiserId, startDate);
|
|
|
|
|
+ return;
|
|
|
}
|
|
}
|
|
|
List<BytedancePromoterReportHour> hours = new ArrayList<>();
|
|
List<BytedancePromoterReportHour> hours = new ArrayList<>();
|
|
|
Integer code = result.getInteger("code");
|
|
Integer code = result.getInteger("code");
|
|
@@ -82,6 +83,7 @@ public class BytedancePromoterReportServiceImpl implements IBytedancePromoterRep
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|
|
|
log.info("账户id:{},日期:{}广告时报(最细粒度)请求结果失败,返回数据:{}", advertiserId, startDate, result);
|
|
log.info("账户id:{},日期:{}广告时报(最细粒度)请求结果失败,返回数据:{}", advertiserId, startDate, result);
|
|
|
|
|
+ return;
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
if (!Check.isNull(hours)) {
|
|
if (!Check.isNull(hours)) {
|
|
@@ -126,6 +128,7 @@ public class BytedancePromoterReportServiceImpl implements IBytedancePromoterRep
|
|
|
JSONObject result = JSONObject.parseObject(s);
|
|
JSONObject result = JSONObject.parseObject(s);
|
|
|
if (Check.isNull(result)) {
|
|
if (Check.isNull(result)) {
|
|
|
log.info("账户id:{},广告日报(最细粒度)请求结果返回为空", advertiserId);
|
|
log.info("账户id:{},广告日报(最细粒度)请求结果返回为空", advertiserId);
|
|
|
|
|
+ return;
|
|
|
}
|
|
}
|
|
|
List<BytedancePromoterReportDaily> promoterReportDailies = new ArrayList<>();
|
|
List<BytedancePromoterReportDaily> promoterReportDailies = new ArrayList<>();
|
|
|
Integer code = result.getInteger("code");
|
|
Integer code = result.getInteger("code");
|
|
@@ -156,6 +159,7 @@ public class BytedancePromoterReportServiceImpl implements IBytedancePromoterRep
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|
|
|
log.info("账户id:{},日期:{}广告日报(最细粒度)请求结果失败,返回数据:{}", advertiserId, startDate, result);
|
|
log.info("账户id:{},日期:{}广告日报(最细粒度)请求结果失败,返回数据:{}", advertiserId, startDate, result);
|
|
|
|
|
+ return;
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
if (!Check.isNull(promoterReportDailies)) {
|
|
if (!Check.isNull(promoterReportDailies)) {
|