String query = "";
query = "SELECT AccountDescriptiveName,AccountCurrencyCode, Device, "
+ "CampaignId, CampaignName, CampaignStatus, AdGroupId,AdGroupName, AdGroupStatus, "
+ "Date, AllConversions " + "FROM ADGROUP_PERFORMANCE_REPORT " + "WHERE ConversionTrackerId = 239 "
+ " DURING " + dataStart + ", " + dataEnd;
ReportingConfiguration reportingConfiguration = new ReportingConfiguration.Builder().skipReportHeader(true)
.skipColumnHeader(false).skipReportSummary(true).includeZeroImpressions(false).build();
session.setReportingConfiguration(reportingConfiguration);
ReportDownloadResponse response = null;
try {
response = new ReportDownloader(session).downloadReport(query, DownloadFormat.XML);
} catch (ReportDownloadResponseException e) {
System.out.printf("Report was not downloaded due to: %s%n", e);
}
return response;
I get an empty response, just only header.What am I doing wrong?
Thank you.
Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/