Keyword Performance Report summary aggregation
Hi,
I am trying to get a Keyword Performance Report for a custom date range that has the results aggregated for the entered range but I do not seem to be able to get it. If I do not set the ReportAggregation property I am getting an exception about the date range being over 40 days. this is strange because the date range is less than a week.
I see that online there is an option to get the report with summary aggregation, isn't there a way to get the same through the API?
I tried using Year as the aggregation type but I got huge amounts of data. Like 50 times more than using the Day aggregation with all other variables the same. This seems weird as I was expecting a yearly summary and thus a lot less data.
Thanks,
Tibor
This report is not aggregated when requested through API; only UI aggregates. The primary reason is because it's quite lengthy to do so, and therefore less asked-for by API customers.
It was decided at the time to skip the aggregation step for API, and let the client aggregate the data.
Thanks,
Shai
Hi Shai,
Thanks for the clarification, I guess I'll do the summary myself.
So if there is no summary then what is the ReportAggregation property doing? I am certainly getting some weird responses if I set it to ReportAggregationType.Year. By weird I mean that the data I get is 50 times more than if I use ReportAggregationType.Day.
BTW, documentation for ReportAggregationType says:
This enumeration defines the various report granularities by which a report will be summarized.
Thanks,
Tibor
Sorry for the late response and thanks for reporting this. We will investigate our implementation here, it might be a bug in the design/code (and in documentation). For now I suggest not using this property when requesting keyword performance report programmatically.
Thanks,
Shai
Here's an update, after looking more into this:
For non-CustomizedDateRange, the API will derive the aggregation value from the date range, and will ignore the ReportAggregation property.
For CustomizedDateRange, the API will honor the ReportAggregation property, but it does not support "summary" aggregation.
As for why you're getting data you're not expecting, it's better to escalate thru our support channels so they will look at your specific account more closely.
HTH,
Shai