在哪里可以找到 google 分析中设置的过滤器的 filterId?

Where to find filterId for the filters set in the google analytics?

并且还在 fliterid 中为 google 管理设置 viewid 编号 api 出现以下错误:“用户没有足够的权限使用此过滤器”

您必须使用过滤器列表 API 来获取您帐户的过滤器 ID:https://developers.google.com/analytics/devguides/config/mgmt/v3/mgmtReference/management/filters/list#javascript

过滤器与 accountId 而不是 viewId 相关联:https://developers.google.com/analytics/devguides/config/mgmt/v3/mgmtReference/management/filters/get