是否有任何方法可以获取GA中特定帐户的所有用户名列表。作为输出,它将显示在Google电子表格中。 此外,您是否可以使用用户可以访问的GA API查找所有属性/配置文件?
提前致谢。
答案 0 :(得分:0)
您可以使用User Permissions APIs列出特定Account,Property或view的所有用户和相关权限。
properties = analytics.management().webpropertyUserLinks().list(
accountId='123456',
webPropertyId='UA-123456-1'
).execute()
对于请求用户有权访问的所有帐户,媒体资源和视图的反向问题,您可以使用account summaries API列出Authenticated user的所有帐户详细信息。
account_summaries = analytics.management().accountSummaries().list().execute()