AbdFatah / analytics-issues

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

More than 9 Goals in request fails #84

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
--------------------------------------------------------------------------
NOTE: This issue tracking system is for developer products only.  If you
are not a developer/programmer and have a problem with a Google web site,
please report the problem to the appropriate group.  More information can
be found here: http://www.google.com/support/
--------------------------------------------------------------------------

Name of API affected:
Analytics Data Export API

Issue summary:
API answers "400 Bad request" for query with more than 9 Goal(n)Completions in 
metrics. (Maybe it is special limitation, but I didn't find any info about such 
limitation)

Steps to reproduce issue:
https://www.google.com/analytics/feeds/data?ids=ga:<ID_HERE>&dimensions=ga:campa
ign,ga:date&metrics=ga:visits,ga:goal1Completions,ga:goal2Completions,ga:goal3Co
mpletions,ga:goal4Completions,ga:goal5Completions,ga:goal6Completions,ga:goal7Co
mpletions,ga:goal8Completions,ga:goal9Completions,ga:goal10Completions&start-dat
e=2010-05-09&end-date=2010-06-09&start-index=1&max-results=2000&sort=ga:date
Expected output:
What do you expect to see after performing the above steps?

Actual results:
400 Bad request 

Notes:
Removing one goal solves problem, but sometimes it's needed to load all Goals 
Completions.

Original issue reported on code.google.com by mut...@gmail.com on 9 Jun 2010 at 2:04

GoogleCodeExporter commented 9 years ago
Closing, not a bug:

There's an API limit of 10 metrics per request, as documented here:
http://code.google.com/apis/analytics/docs/gdata/gdataReferenceDataFeed.html#met
rics

The "visits" metric, with 10 goal metrics, is taking you over that limit, hence 
the 400 error.

Original comment by api.alex...@gtempaccount.com on 9 Jun 2010 at 5:06

GoogleCodeExporter commented 9 years ago
Removing an obsolete label that was used when these issues were in the 
gdata-issues project.

Original comment by jrobbins@google.com on 21 Jul 2011 at 10:05