Google Analytics - cannot insert or update webproperty

回眸只為那壹抹淺笑 提交于 2019-12-13 02:07:52

问题


I am trying to create a new WebProperty or update an existing one in Google Analytics API.

The service account is added to the Google Analytics account with all permissions checked.

Response:

"errors": [
      {
        "domain": "global",
        "reason": "insufficientPermissions",
        "message": "Your project does not have access to this feature."
      }
]

Apart from update and insert the rest of the management API is working.

What am I missing?


回答1:


it's written in documentation:

Write operations in the Management API (e.g. create, update, delete, patch) for Web Property, View (Profile), and Goal resources is currently available as a developer preview in limited beta. If you're interested in using these features, request access to the beta.

Update:

To request access fill out the form at Google Analytics Account Setup and Configuration APIs it can take a few weeks to get access. You should recieve an email from google when you get access.



来源:https://stackoverflow.com/questions/23652867/google-analytics-cannot-insert-or-update-webproperty

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