Hi,
I'm using the API to get an account performance report
here is part of my php code
<?php
$this->user->LoadService('ReportDefinitionService', 'v201605');
$this->user->SetClientCustomerId($account->customerId);
$selector = new \Selector();
$selector->fields = [
'Cost',
'Impressions',
'Ctr',
'Clicks',
'AverageCpc',
'AllConversions',
'CostPerConversion',
'AllConversionRate',
];
$reportDefinition = new \ReportDefinition();
$reportDefinition->selector = $selector;
$reportDefinition->reportName = 'foo_bar_'.time();
$reportDefinition->dateRangeType = 'THIS_MONTH';
$reportDefinition->reportType = 'ACCOUNT_PERFORMANCE_REPORT';
$reportDefinition->downloadFormat = 'XML';
$options = [
'returnMoneyInMicros' => true,
'skipReportHeader' => true,
'skipReportSummary' => true,
];
$data = \ReportUtils::DownloadReport($reportDefinition, null, $this->user, $options);
the API returns 0 for AllConv and 191 for clicks
But in the web GUI it shows 9 for AllConv and 279 for clicks