|
|
@@ -89,6 +89,8 @@ public class BytedancePromoterReportServiceImpl implements IBytedancePromoterRep
|
|
|
String cdpProjectName = dimensionsJson.getString("cdp_project_name");
|
|
|
Long cdpPromotionId = dimensionsJson.getLong("cdp_promotion_id");
|
|
|
String cdpPromotionName = dimensionsJson.getString("cdp_promotion_name");
|
|
|
+ String awemeId = dimensionsJson.getString("aweme_id");
|
|
|
+ String awemeNickName = dimensionsJson.getString("aweme_nick_name");
|
|
|
Integer statTimeDay = Integer.valueOf(dimensionsJson.getString("stat_time_day").replace("-", ""));
|
|
|
Integer hour = Integer.valueOf(dimensionsJson.getString("stat_time_hour").substring(11, 13));
|
|
|
BytedancePromoterReportHour bytedancePromoterReportHour = JSONObject.parseObject(metricsJson.toJSONString(), BytedancePromoterReportHour.class);
|
|
|
@@ -99,6 +101,8 @@ public class BytedancePromoterReportServiceImpl implements IBytedancePromoterRep
|
|
|
bytedancePromoterReportHour.setCdpPromotionName(cdpPromotionName);
|
|
|
bytedancePromoterReportHour.setStatTimeDay(statTimeDay);
|
|
|
bytedancePromoterReportHour.setHour(hour);
|
|
|
+ bytedancePromoterReportHour.setAwemeId(awemeId);
|
|
|
+ bytedancePromoterReportHour.setAwemeNickName(awemeNickName);
|
|
|
hours.add(bytedancePromoterReportHour);
|
|
|
|
|
|
dorisLoadManager.add("media_api","bytedance_promoter_report_hour", bytedancePromoterReportHour);
|
|
|
@@ -178,6 +182,8 @@ public class BytedancePromoterReportServiceImpl implements IBytedancePromoterRep
|
|
|
String cdpProjectName = dimensionsJson.getString("cdp_project_name");
|
|
|
Long cdpPromotionId = dimensionsJson.getLong("cdp_promotion_id");
|
|
|
String cdpPromotionName = dimensionsJson.getString("cdp_promotion_name");
|
|
|
+ String awemeId = dimensionsJson.getString("aweme_id");
|
|
|
+ String awemeNickName = dimensionsJson.getString("aweme_nick_name");
|
|
|
Integer statTimeDay = Integer.valueOf(dimensionsJson.getString("stat_time_day").replace("-", ""));
|
|
|
BytedancePromoterReportDaily promoterReportDaily = JSONObject.parseObject(metricsJson.toJSONString(), BytedancePromoterReportDaily.class);
|
|
|
promoterReportDaily.setAdvertiserId(advertiserId);
|
|
|
@@ -186,6 +192,8 @@ public class BytedancePromoterReportServiceImpl implements IBytedancePromoterRep
|
|
|
promoterReportDaily.setCdpPromotionId(cdpPromotionId);
|
|
|
promoterReportDaily.setCdpPromotionName(cdpPromotionName);
|
|
|
promoterReportDaily.setStatTimeDay(statTimeDay);
|
|
|
+ promoterReportDaily.setAwemeId(awemeId);
|
|
|
+ promoterReportDaily.setAwemeNickName(awemeNickName);
|
|
|
promoterReportDailies.add(promoterReportDaily);
|
|
|
dorisLoadManager.add("media_api", "bytedance_promoter_report_daily", promoterReportDaily);
|
|
|
}
|
|
|
@@ -275,6 +283,8 @@ public class BytedancePromoterReportServiceImpl implements IBytedancePromoterRep
|
|
|
String cdpProjectName = dimensionsJson.getString("cdp_project_name");
|
|
|
Long cdpPromotionId = dimensionsJson.getLong("cdp_promotion_id");
|
|
|
String cdpPromotionName = dimensionsJson.getString("cdp_promotion_name");
|
|
|
+ String awemeId = dimensionsJson.getString("aweme_id");
|
|
|
+ String awemeNickName = dimensionsJson.getString("aweme_nick_name");
|
|
|
Integer statTimeDay = Integer.valueOf(dimensionsJson.getString("stat_time_day").replace("-", ""));
|
|
|
Integer hour = Integer.valueOf(dimensionsJson.getString("stat_time_hour").substring(11, 13));
|
|
|
BytedancePromoterReportHour bytedancePromoterReportHour = JSONObject.parseObject(metricsJson.toJSONString(), BytedancePromoterReportHour.class);
|
|
|
@@ -285,8 +295,9 @@ public class BytedancePromoterReportServiceImpl implements IBytedancePromoterRep
|
|
|
bytedancePromoterReportHour.setCdpPromotionName(cdpPromotionName);
|
|
|
bytedancePromoterReportHour.setStatTimeDay(statTimeDay);
|
|
|
bytedancePromoterReportHour.setHour(hour);
|
|
|
+ bytedancePromoterReportHour.setAwemeId(awemeId);
|
|
|
+ bytedancePromoterReportHour.setAwemeNickName(awemeNickName);
|
|
|
hours.add(bytedancePromoterReportHour);
|
|
|
-
|
|
|
dorisLoadManager.add("media_api","bytedance_promoter_report_hour", bytedancePromoterReportHour);
|
|
|
}
|
|
|
}
|
|
|
@@ -377,6 +388,8 @@ public class BytedancePromoterReportServiceImpl implements IBytedancePromoterRep
|
|
|
String cdpProjectName = dimensionsJson.getString("cdp_project_name");
|
|
|
Long cdpPromotionId = dimensionsJson.getLong("cdp_promotion_id");
|
|
|
String cdpPromotionName = dimensionsJson.getString("cdp_promotion_name");
|
|
|
+ String awemeId = dimensionsJson.getString("aweme_id");
|
|
|
+ String awemeNickName = dimensionsJson.getString("aweme_nick_name");
|
|
|
Integer statTimeDay = Integer.valueOf(dimensionsJson.getString("stat_time_day").replace("-", ""));
|
|
|
BytedancePromoterReportDaily promoterReportDaily = JSONObject.parseObject(metricsJson.toJSONString(), BytedancePromoterReportDaily.class);
|
|
|
promoterReportDaily.setAdvertiserId(advertiserId);
|
|
|
@@ -385,6 +398,8 @@ public class BytedancePromoterReportServiceImpl implements IBytedancePromoterRep
|
|
|
promoterReportDaily.setCdpPromotionId(cdpPromotionId);
|
|
|
promoterReportDaily.setCdpPromotionName(cdpPromotionName);
|
|
|
promoterReportDaily.setStatTimeDay(statTimeDay);
|
|
|
+ promoterReportDaily.setAwemeId(awemeId);
|
|
|
+ promoterReportDaily.setAwemeNickName(awemeNickName);
|
|
|
promoterReportDailies.add(promoterReportDaily);
|
|
|
|
|
|
dorisLoadManager.add("media_api", "bytedance_promoter_report_daily", promoterReportDaily);
|