rxz99 / analytics-issues

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

bulk user permissions list method #744

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
---------------------------------------------------------------------------
NOTE: This tool is not designed to request help. It is only for
reporting issues and requesting features for the Google Analytics
libraries.

If you are a developer and you need help, visit:
https://developers.google.com/analytics/help/

If you are not a developer and you need help, visit:
https://support.google.com/analytics
---------------------------------------------------------------------------
Name of related component: Management API

Request summary:

I'd like to see implemented a better means to bulk extract user permissions. 
Currently to get the user permissions for an account, you need to request those 
permissions separately at account, web property, and profile levels. Then for 
each request you have to deal with paging if there are >1000 items. For a GA 
credential which manages hundreds of accounts, it can take thousands of API 
calls to extract all user permissions. And since QPS quota applies to each of 
these calls (even if batched), the time to gather all of this data can be tens 
of minutes.

Use Cases:

The call would be used by tools which use the API to generates reports of user 
permissions.

Original issue reported on code.google.com by ch...@shufflepoint.com on 28 Sep 2015 at 4:50

GoogleCodeExporter commented 8 years ago
I would like to add that this could also be a valid addition to the Reporting 
API.  I have a customer who has millions of hits a month we extract their data 
into an SSAS cube using a SSIS custom task.  In order to prevent sampling we 
must extract their data one day at a time.  This leads to a large number of 
requests being sent against the API. 

Original comment by laurl...@gmail.com on 28 Sep 2015 at 7:41