|
@@ -9,10 +9,7 @@ import com.google.gson.Gson;
|
|
|
import com.wechi.adweb.bridge.exception.DataException;
|
|
|
import com.wechi.adweb.bridge.google.analytics.dto.report.GAReportRequestDTO;
|
|
|
import com.wechi.adweb.bridge.google.analytics.dto.report.ReportType;
|
|
|
-import com.wechi.adweb.bridge.google.analytics.dto.report.data.CountryChartData;
|
|
|
-import com.wechi.adweb.bridge.google.analytics.dto.report.data.GAReportDataDTO;
|
|
|
-import com.wechi.adweb.bridge.google.analytics.dto.report.data.PagePathViewData;
|
|
|
-import com.wechi.adweb.bridge.google.analytics.dto.report.data.SourceMediaViewData;
|
|
|
+import com.wechi.adweb.bridge.google.analytics.dto.report.data.*;
|
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
@@ -172,6 +169,7 @@ public class GADataService {
|
|
|
case ADWEB_SESSION_SOURCE_MEDIUM_VIEW ->
|
|
|
SourceMediaViewData.toReport(reportRows, metrics, dimensions);
|
|
|
case ADWEB_PAGE_PATH_VIEW -> PagePathViewData.toReport(reportRows, metrics, dimensions);
|
|
|
+ case PAGE_VIEWS -> PageViewsData.toReport(reportRows, metrics, dimensions);
|
|
|
};
|
|
|
}
|
|
|
}
|