AbdFatah / analytics-issues

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

Access to the custom reports created in the Analytics GUI #310

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
---------------------------------------------------------------------------
NOTE: This issue tracking system is for Google Analytics developer products
only.
If you are not a developer/programmer visit:
http://www.google.com/analytics/support.html
---------------------------------------------------------------------------
Name of related component: Core Reporting API

Request summary:
I would like access to the data generated by the custom reports created in the 
Analytics GUI via the API.

Use Cases:
Our SEO department uses the custom reports generated in the Analytics GUI to 
build their weekly reports as well as data from our own database.  Funnels 
could collect the data to create the reports however, company policy does not 
allow them to use GA on certain pages that would need to be part of the funnel. 
So right now someone is gathering the data from GA and gathering the data from 
our database and squeezing it all together in a report. I am trying to automate 
the report by automatically gathering the data from the necessary resources and 
squeezing it together in an excel file for the SEO department to rearrange and 
format as they please, the automation would save them an estimated 45 minutes 
to 1 hr of time.

Original issue reported on code.google.com by jimmy.ta...@gmail.com on 18 Jun 2013 at 5:50

GoogleCodeExporter commented 9 years ago
This feature is available in google analytics api for this you have to know 
what is the id of that segment and use that in the query field to retrieve the 
data you can list all the segments using the 
management_segment->listManagementSegments(); which will show all the segments 
available be it predefined or custom created.

Original comment by ntokas1...@gmail.com on 2 Jul 2013 at 6:33

GoogleCodeExporter commented 9 years ago
Excellent, the info was put to good use and appreciated!

Original comment by jimmy.ta...@gmail.com on 9 Jul 2013 at 8:09

GoogleCodeExporter commented 9 years ago
appreciated if you need help in coding then also i can help

Original comment by ntokas1...@gmail.com on 10 Jul 2013 at 6:11

GoogleCodeExporter commented 9 years ago
Hi. This seems to be what I am looking for also. One thing is confusing me 
however, does the method listManagementSegments give custom reports or custom 
segments?

Thanks,
J

Original comment by mcg...@gmail.com on 1 Oct 2013 at 10:12

GoogleCodeExporter commented 9 years ago
I used the info returned to retrieve custom segments and build internal
custom reports. I cant remember everything it lists but I do remember just
writing out the ids it returned to the screen and being awe struck as to
how many  it retrieved.  Maybe your custom report id will be among them?

Original comment by jimmy.ta...@gmail.com on 2 Oct 2013 at 12:08

GoogleCodeExporter commented 9 years ago
Thanks for the reply. Will see if that helps. 

From reading the documentation on this page
https://developers.google.com/analytics/devguides/reporting/core/v3/coreDevguide

It mentions "The Core Reporting API provides access to the tabular data in 
Google Analytics standard and custom reports", but I can't see any reference to 
reports after that point.

I went to this page, which is similar to what I remember from years ago, 
https://ga-dev-tools.appspot.com/explorer/, but is just has the custom segments 
(for every account it seems).

I was kind of hoping for a method that gets a list of custom reports by name as 
it seems somewhat counter intuitive to have to go into GA to get the id.

Original comment by mcg...@gmail.com on 3 Oct 2013 at 3:14

GoogleCodeExporter commented 9 years ago
the listManagementSegments gives list of all the default segments as well as 
the custom segments created by the user(the user will be the person whose email 
id you are using). And yess all your custom reports will be among them...for 
any particular segment just write the segment id associated with it in the data 
fetching query...

Original comment by ntokas1...@gmail.com on 8 Oct 2013 at 1:29

GoogleCodeExporter commented 9 years ago

Original comment by pfrise...@google.com on 10 Oct 2014 at 6:18