Hi everyone!

I faced with another one issue, and cannot understand what can be a 
problem...

ReportQuery query = new ReportQuery.Builder()
.fields(
"Id")
.from(ReportDefinitionReportType.ADGROUP_PERFORMANCE_REPORT)
.where("Status").equalTo(ENABLED_STATUS)
.build();

ReportingConfiguration reportingConfiguration =
new ReportingConfiguration.Builder()
.skipColumnHeader(true)
.skipReportHeader(true)
.skipReportSummary(false)
.includeZeroImpressions(true)
.build();
session.setReportingConfiguration(reportingConfiguration);
ReportDownloaderInterface reportDownloader =
adWordsServices.getUtility(session, ReportDownloaderInterface.class);
BufferedReader reader = null;
AdGroupStoreIterator adGroupStoreIterator = new AdGroupStoreIterator(new 
ArrayList<>());
try {
// Set the property api.adwords.reportDownloadTimeout or call
// ReportDownloader.setReportDownloadTimeout to set a timeout (in 
milliseconds)
// for CONNECT and READ in report downloads.
final ReportDownloadResponse response =
reportDownloader.downloadReport(query.toString(), DownloadFormat.CSV);
// Read the response as a BufferedReader.
reader = new BufferedReader(new 
InputStreamReader(response.getInputStream(), UTF_8));


on the line "ReportDownloaderInterface reportDownloader = 
adWordsServices.getUtility(session, 
ReportDownloaderInterface.class);" the programm go to the catch block an 
shows me these output:

[07 Nov. 2018 16:38:46,500-report_download:INFO:main] HTTP request:
accept-encoding: [gzip]
authorization: REDACTED
user-agent: [unknown (AwApi-Java, AdWords-Axis/4.1.0, Common-Java/4.1.0, 
Axis/1.4, Java/10.0.2, jars, ReportDownloader, ReportQueryBuilder)]
developertoken: REDACTED
clientcustomerid: 8****-4495
skipreportheader: false
skipcolumnheader: false
skipreportsummary: false
includezeroimpressions: true


Could you please explain what I am doing wrong?

Thanks!!
Saidar

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/db974f50-7df0-4621-b807-6f221770c874%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... saidar
    • ... 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
    • ... 'Vincent Racaza (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to