Name of affected component: Core Reporting API
Name of related library and version, if applicable: using
https://github.com/google/google-api-ruby-client/
Issue summary:
For a query that includes filters, the totalsForAllResults value does not
reflects the filters.
Steps to reproduce issue:
Query a profile with filters=ga:sessions<10:
https://www.googleapis.com/analytics/v3/data/ga?ids=ga:XXX&dimensions=ga:medium&
metrics=ga:sessions&sort=-ga:sessions&filters=ga:sessions%3C10&segment=gaid::XX&
start-date=2015-02-01&end-date=2015-02-28
Expected output:
{ ...
"totalsForAllResults":{"ga:sessions":"4"},
"rows":[["directmail","3"],["PR","1"]]
}
Actual results:
{ ...
"totalsForAllResults":{"ga:sessions":"2316"},
"rows":[["directmail","3"],["PR","1"]]
}
Notes:
totalsForAllResults is returning a value that is correct if no filters are applied to this profile. This functionality changed at some point in the past year -- it used to respect filters.
Original issue reported on code.google.com by ewi...@neboagency.com on 25 Mar 2015 at 7:03
Original issue reported on code.google.com by
ewi...@neboagency.com
on 25 Mar 2015 at 7:03