alooi14 / analytics-issues

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

ga:productCategoryHierarchy can not be combined with ga:sourceMedium #586

Open GoogleCodeExporter opened 8 years ago

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

Issue summary:
ga:productCategoryHierarchy can be requested with ga:source and ga:medium but 
can not be requested with ga:sourceMedium

Steps to reproduce issue:
1. send a request to api using

--dimensions=ga:productCategoryHierarchy,ga:source,ga:Medium 
--metrics=ga:itemQuantity 

(Works No Error)

2. send a request to the api using
--dimensions=ga:productCategoryHierarchy,ga:sourceMedium 
--metrics=ga:itemQuantity

Fails 
Expected output:
I can see no reason why ga:sourceMedium would not be queried the same as 
ga:source and ga:medium

Actual results:

An error occurred: Google.Apis.Requests.RequestError
Selected dimensions and metrics cannot be queried together. [400]
Errors [
    Message[Selected dimensions and metrics cannot be queried together.] Location[ - ] Reason[badRequest] Domain[global]
]

Original issue reported on code.google.com by laurl...@gmail.com on 18 Feb 2015 at 9:42