|
@@ -392,7 +392,7 @@ public class SampleTest {
|
|
private IKuaishouVideoEtlInfoService etlInfoService;
|
|
private IKuaishouVideoEtlInfoService etlInfoService;
|
|
@Test
|
|
@Test
|
|
public void etlKuaishouData(){
|
|
public void etlKuaishouData(){
|
|
- String dateString = "2020-03-30";
|
|
|
|
|
|
+ String dateString = "2020-05-25";
|
|
Date startDate = DateUtils.parseDate(dateString,"yyyy-MM-dd");
|
|
Date startDate = DateUtils.parseDate(dateString,"yyyy-MM-dd");
|
|
for(int i=0;i<=277;i++){
|
|
for(int i=0;i<=277;i++){
|
|
Date getDate = DateUtils.addDay(startDate,i);
|
|
Date getDate = DateUtils.addDay(startDate,i);
|
|
@@ -402,7 +402,9 @@ public class SampleTest {
|
|
|
|
|
|
@Test
|
|
@Test
|
|
public void loadBytedanceVideo(){
|
|
public void loadBytedanceVideo(){
|
|
- CtopOauthToken token = tokenService.getTokenByAccountId(1685024266033160L);
|
|
|
|
- advertiserDataService.getMaterialList(token);
|
|
|
|
|
|
+ CtopOauthToken token = tokenService.getTokenByAccountId(1673731601820686L);
|
|
|
|
+ for(int i=15;i<60;i++){
|
|
|
|
+ reportService.getAdvertiserReport(token,DateUtils.addDay(new Date(),-i),DateUtils.addDay(new Date(),-i),CtopAdConstant.BYTEDANCE_REPORT_TYPE_DAILY);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|