Google AnalyticsManagement API错误:用户没有足够的权限来使用此过滤器 [英] Google Analytics Management API error: User does not have sufficient permissions for this filter

查看:149
本文介绍了Google AnalyticsManagement API错误:用户没有足够的权限来使用此过滤器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时,当我尝试将过滤器链接到配置文件视图时,出现此错误用户对此过滤器没有足够的权限。 with status = 403,code = OK,reason = insufficientPermissions

Sometimes when I try to link a filter to a profile view I get this error User does not have sufficient permissions for this filter. with status=403, code=OK, reason=insufficientPermissions.

我使用这个范围 https:// www。 googleapis.com/auth/analytics.edit 并且这个错误不会一直发生,但或多或​​少是随机的。

I am using this scope https://www.googleapis.com/auth/analytics.edit and this error does not occur all the time but more or less randomly.

首先我创建一个过滤器,然后我将它添加到一个帐户,然后我将过滤器链接到同一个帐户的视图。

First I create a filter, and then I add it to an account, then I link the filter to a view from the same account.

是否有可能添加的过滤器不在我把它添加到一个属性的那一刻?我想不出这个错误的其他原因。它打破了脚本:($ / b>

Is it possible that the added filter is not processed at the moment I add it to a property? I cannot think of any another reason for this error. And it breaks the script :(

推荐答案

过滤器没有添加到属性,它们被添加到帐户并链接到视图。您需要为您正在使用的特定帐户授予您的登录权限,否则您将获得403错误。拥有对该属性或视图的修改权限是不够的。

Filters are not added to Properties, they are added to Accounts and linked to Views. Edit permission needs to be granted to your login for the specific Account you are working with or you will get the 403 error. Having Edit permission for the Property or View is not enough.

这篇关于Google AnalyticsManagement API错误:用户没有足够的权限来使用此过滤器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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