|
@@ -225,4 +225,32 @@ public class SampleTest {
|
|
|
public void etlBytedanceVideoReportInfo()throws Exception{
|
|
|
etlBytedanceReportVideoDailyService.etlBytedanceVideo();
|
|
|
}
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private IReportService reportService;
|
|
|
+
|
|
|
+ @Test
|
|
|
+ public void loadBytedanceAccountReport(){
|
|
|
+ /**
|
|
|
+ * 1692555408132110
|
|
|
+ * 1692555631713287
|
|
|
+ * 1696734332089352
|
|
|
+ * 1696734333251598
|
|
|
+ */
|
|
|
+ CtopOauthToken token1 = tokenService.getTokenByAccountId(1692555408132110L);
|
|
|
+ reportService.getAdvertiserReport(token1, DateUtils.parseDate("2021-05-01","yyyy-MM-dd"), DateUtils.parseDate("2021-05-12","yyyy-MM-dd"), CtopAdConstant.BYTEDANCE_REPORT_TYPE_DAILY);
|
|
|
+ CtopOauthToken token2 = tokenService.getTokenByAccountId(1692555631713287L);
|
|
|
+ reportService.getAdvertiserReport(token2, DateUtils.parseDate("2021-05-01","yyyy-MM-dd"), DateUtils.parseDate("2021-05-12","yyyy-MM-dd"), CtopAdConstant.BYTEDANCE_REPORT_TYPE_DAILY);
|
|
|
+ CtopOauthToken token3 = tokenService.getTokenByAccountId(1696734332089352L);
|
|
|
+ reportService.getAdvertiserReport(token3, DateUtils.parseDate("2021-05-01","yyyy-MM-dd"), DateUtils.parseDate("2021-05-12","yyyy-MM-dd"), CtopAdConstant.BYTEDANCE_REPORT_TYPE_DAILY);
|
|
|
+ CtopOauthToken token4 = tokenService.getTokenByAccountId(1696734333251598L);
|
|
|
+ reportService.getAdvertiserReport(token4, DateUtils.parseDate("2021-05-01","yyyy-MM-dd"), DateUtils.parseDate("2021-05-12","yyyy-MM-dd"), CtopAdConstant.BYTEDANCE_REPORT_TYPE_DAILY);
|
|
|
+
|
|
|
+ CtopOauthToken token5 = tokenService.getTokenByAccountId(10129666L);
|
|
|
+ kuaishouInterfaceService.getAdvertiserReportDaily(token5, DateUtils.parseDate("2021-05-07","yyyy-MM-dd"), DateUtils.parseDate("2021-05-11","yyyy-MM-dd"), null);
|
|
|
+ CtopOauthToken token6 = tokenService.getTokenByAccountId(10097961L);
|
|
|
+ kuaishouInterfaceService.getAdvertiserReportDaily(token6, DateUtils.parseDate("2021-05-07","yyyy-MM-dd"), DateUtils.parseDate("2021-05-11","yyyy-MM-dd"), null);
|
|
|
+ CtopOauthToken token7 = tokenService.getTokenByAccountId(10098039L);
|
|
|
+ kuaishouInterfaceService.getAdvertiserReportDaily(token7, DateUtils.parseDate("2021-05-07","yyyy-MM-dd"), DateUtils.parseDate("2021-05-11","yyyy-MM-dd"), null);
|
|
|
+ }
|
|
|
}
|