AbdFatah / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 0 forks source link

Valid metrics and dimensions cause "400 : Selected dimensions and metrics cannot be queried together." #262

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Name of affected component: Core Reporting API

JSON API

Issue summary:
I'm trying to fetch statistics with 
"ga:visits,ga:newVisits,ga:pageviews,ga:timeOnSite,ga:bounces,ga:itemRevenue,ga:
itemQuantity" metrics and 
"ga:campaign,ga:source,ga:medium,ga:adContent,ga:keyword,ga:date,ga:transactionI
d" dimensions (http://cl.ly/image/3O261t3H2k3A). This cause "Ack! There was an 
error! 400 : Selected dimensions and metrics cannot be queried together.".

Steps to reproduce issue:
1. Put 
"ga:visits,ga:newVisits,ga:pageviews,ga:timeOnSite,ga:bounces,ga:itemRevenue,ga:
itemQuantity" metrics and 
"ga:campaign,ga:source,ga:medium,ga:adContent,ga:keyword,ga:date,ga:transactionI
d" dimensions fields
2. Fetch statistics
3. Got error

Expected output:
Valid result.

Actual results:
Error message.

Notes:
http://cl.ly/image/3O261t3H2k3A

Original issue reported on code.google.com by nectarin...@gmail.com on 5 Feb 2013 at 5:39

GoogleCodeExporter commented 9 years ago
I agree it is stuppid that it is not possible to link, adContent and 
transactionid together. On the other side it is consistent with the 
specification 
https://developers.google.com/analytics/devguides/reporting/core/dimsmets#cats=e
commerce,trafficsources

I could vote for chnaging it to new feature request, it works as designed.

Original comment by jh.eg...@gmail.com on 29 Apr 2013 at 7:53