Dear Team,
I have some problems with the following:
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;
When i run the code I get an empty *response*, just only header.
What am I doing wrong?
Thank you.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/49a9b417-db63-4faa-baa5-3bbf012a773a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.