GA Management API - Custom Dimensions list() - Error 403: Insufficient Permission

若如初见. 提交于 2019-12-24 23:24:06

问题


I'm using Management API (using PY Client Library) to get list of Custom Dimensions as described here - Custom Dimensions: list

link = analytics.management().customDimensions().list(accountId = ACCOUNT_ID, 
                                                     webPropertyId = PROPERTY_ID)
dimensions = link.execute()

but the API keeps returning Error Code: 403, Insufficient Permission

I'm pretty sure the service account email address I'm using to build credentials object has sufficient Edit, Read & Analyse level access at the GA Account Level!.

I confirm - get() and patch() verbs execute properly using same credentials, same account, property ID. Even the API Explorer works fine.

Any clue what I might be missing, or potential bug in API ?

Thanks for any clue

来源:https://stackoverflow.com/questions/50421634/ga-management-api-custom-dimensions-list-error-403-insufficient-permissio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!