Hi,
I'm trying to get a campaign performance report to download, using an adapted version of the DownloadCriteriaReport.cs from the 201409 code examples. All of the fields below are working fine, except for ClickType and Converted Clicks, for some reason. Could you tell me why this might be?
Thanks,
Mike
public string Run(AdWordsUser user, string fileName)
{
ReportDefinition definition = new ReportDefinition();
definition.reportName = "Last 7 days CAMPAIGN_PERFORMANCE_REPORT";
definition.reportType = ReportDefinitionReportType.CAMPAIGN_PERFORMANCE_REPORT;
definition.downloadFormat = DownloadFormat.CSV;
definition.dateRangeType = ReportDefinitionDateRangeType.LAST_7_DAYS;
// Create selector.
Selector selector = new Selector();
selector.fields = new string[] {"AccountDescriptiveName", "Date", "Device",
//"ClickType",
"CampaignName",
"ExternalCustomerId",
"CampaignStatus", "Clicks", "Impressions",
"Cost", "AveragePosition",
//"ConvertedClicks",
"ViewThroughConversions"
};