Google Analytics(分析)报告API - 权限不足403 [英] Google Analytics reports API - Insufficient Permission 403

查看:195
本文介绍了Google Analytics(分析)报告API - 权限不足403的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过Google Analytics(分析)访问数据。我遵循指南,能够授权我的用户,并从oauth获取代码。



当我尝试从GA访问数据时,我只得到403不正确的权限。我是否需要将Google API控制台中的项目连接到我的分析项目?我该怎么做?还是有其他原因为什么我得到403不足的权限回来?



我在Python中使用Django做这个,我已经在我的API控制台上打开了Analytics API! / p>

解决方案

有同样的问题,但现在解决了。
使用查看ID不是帐户ID,查看ID可以在Admin-> Profiles-> Profile Settings选项卡中找到



更新
现在,如果你有更多的帐户,你必须去:管理员 - >选择帐户 - >在视图 - >点击查看设置


I am trying to access data from google-analytics. I am following the guide and is able to gauthorize my user and get the code from oauth.

When I try to access data from GA I only get 403 Insufficient Permission back. Do I somehow have to connect my project in Google API console to my analytics project? How would I do this? Or is there some other reason why I get 403 Insufficient Permission back?

I am doing this in Python with Django and I have Analytics API turned on i my API console!

解决方案

Had the same problem, but now is solved. Use View ID Not account ID, the 'View ID', can be found in the Admin->Profiles->Profile Settings tab

UPDATE now, if you have more a account , you must go: Admin -> Select account -> under View-> click on View Settings

这篇关于Google Analytics(分析)报告API - 权限不足403的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆