Got 403 error when connecting to Google Analytics with Python 2.7.x

☆樱花仙子☆ 提交于 2019-11-30 20:46:15

You are trying to access the Google Analytics API using a service account. A service account by default does not have access to any Google Analytics accounts.

What you need to do is take the Service account email address from the Google Developer console. Go to the Admin section of the Google Analytics Website. Give this service account access at the ACCOUNT level it must be the ACCOUNT level to the Google Analytics account you wish to access.

It wont work at the Web property or the view level it must be the Account level.

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