|
@@ -64,8 +64,12 @@ public class ByteDanceAdvertiserDataServiceImpl implements IByteDanceAdvertiserD
|
|
|
@Resource
|
|
|
BytedanceAgentReportHourlyMapper bytedanceAgentReportHourlyMapper;
|
|
|
|
|
|
+ /**
|
|
|
+ * ------------------------------------------------------------------获取广告计划
|
|
|
+ */
|
|
|
|
|
|
public void getAd(OauthToken token, int pageNum, String ids, String date, String updateDate) {
|
|
|
+ log.info("开始获取广告计划信息 accountID:{},page:{}", token.getAccountId(), pageNum);
|
|
|
JSONArray getIds = null;
|
|
|
if (null != ids && !"".equals(ids)) {
|
|
|
String[] idString = ids.split(",");
|
|
@@ -184,7 +188,7 @@ public class ByteDanceAdvertiserDataServiceImpl implements IByteDanceAdvertiserD
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * ------------------------------------------------------------------获取广告计划
|
|
|
+ *
|
|
|
*/
|
|
|
@Override
|
|
|
public void getAdvertiserPlanReport(
|
|
@@ -207,6 +211,7 @@ public class ByteDanceAdvertiserDataServiceImpl implements IByteDanceAdvertiserD
|
|
|
|
|
|
private void getPlanReportByPage(
|
|
|
OauthToken token, ByteDanceAdvertiserReportDTO conditions, int page) {
|
|
|
+ log.info("开始获取广告计划日报或时报信息 accountID:{},page:{}", token.getAccountId(), page);
|
|
|
SimpleDateFormat df = new SimpleDateFormat("yyyyMMdd");
|
|
|
conditions.setPage(page);
|
|
|
var config = new SerializeConfig();
|