Closed GoogleCodeExporter closed 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
Excellent, the info was put to good use and appreciated!
Original comment by jimmy.ta...@gmail.com
on 9 Jul 2013 at 8:09
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
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
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
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
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
Original comment by pfrise...@google.com
on 10 Oct 2014 at 6:18
Original issue reported on code.google.com by
jimmy.ta...@gmail.com
on 18 Jun 2013 at 5:50