|
|
@@ -117,8 +117,8 @@ public class BytedanceReportNewServiceImpl implements IBytedanceReportNewService
|
|
|
log.info("账户ID:{},开始日期:{},结束日期:{},广告日报(账户粒度)数据请求成功", advertiserId, startDate, endDate);
|
|
|
JSONObject param = new JSONObject();
|
|
|
param.put("advertiser_id", advertiserId);
|
|
|
- param.put("start_date", startDate);
|
|
|
- param.put("end_date", endDate);
|
|
|
+ param.put("start_date", startDate.replace("-",""));
|
|
|
+ param.put("end_date", endDate.replace("-",""));
|
|
|
param.put("date_type", "hourly");
|
|
|
HttpUtils.httpPostRequest(urlPath, param, null);
|
|
|
}
|
|
|
@@ -217,8 +217,8 @@ public class BytedanceReportNewServiceImpl implements IBytedanceReportNewService
|
|
|
log.info("账户ID:{},开始日期:{},结束日期:{},广告日报(账户粒度)数据请求成功", advertiserId, startDate, endDate);
|
|
|
JSONObject param = new JSONObject();
|
|
|
param.put("advertiser_id", advertiserId);
|
|
|
- param.put("start_date", startDate);
|
|
|
- param.put("end_date", endDate);
|
|
|
+ param.put("start_date", startDate.replace("-", ""));
|
|
|
+ param.put("end_date", endDate.replace("-", ""));
|
|
|
param.put("date_type", "daily");
|
|
|
HttpUtils.httpPostRequest(urlPath, param, null);
|
|
|
}
|