Hello Sander,
getCampaignStats() returns statistics for campaigns over a time
period, with each campaign's stats summarized into a single record. If
you need the statistics aggregated daily instead of summarized, your
best bet is to run a custom report via the ReportService.
The documentation is correct in that an array of StatsRecord objects
will be returned, one per campaign id you specify. If you're only
asking for stats for one campaign, you'll get back a single-element
array.
Cheers,
-Jeff Posnick, AdWords API Team
On Feb 26, 11:51 am, Sander Marechal <sand...@tribal.nl>
wrote:
Hello,
Is it correct that in the v11 API getCampaignStats only returns a single
StatsRecord with the summation of the period you asked for? The v11
reference states that it should return an array of StatsRecords, one for
each day in the period.
Bug in the API or bug in the documentation?