简体   繁体   中英

Data fetching using Google Analytics API v4

It may be weird to ask this but still I need some insights on this. I have to use Google Analytics API v4 API for data fetching but the code is returning compilation error even after importing and adding all the required jars in it's class-path.

The following are the classes which are unable to resolve compilation error :

AnalyticsreportingScopes
Analyticsreporting
ColumnHeader
DateRange
DateRangeValues
Dimension
GetReportsRequest
GetReportsResponse
Metric
MetricHeaderEntry
Report
ReportRequest
ReportRow

I have added google-api-services-analyticsreporting-v4-rev7-1.22.0.jar for these classes in the class-path. Please help me out tackling this so that I can proceed further in achieving my objective.

Now I'm able to remove the compilation errors. I simply removed all the 'import' statements from the beginning of the codes and resolved 'import' by selecting every class under 'red line'. It was quite weird behaviour by thanks to Eclipse IDE. I'm done with resolving compiling errors. Now, I can proceed to other important aspects of the process I have to achieve. Thanks to everyone who looked into this.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM