google analytics management api - Insert goals - 403

℡╲_俬逩灬. 提交于 2019-12-11 04:56:28

问题


I recently requested access to GA Management API and received the email confirming the whitelisting of my project 3 days ago. I am working on GA Management API to create goals but I am still getting the following error:

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

About my context and in addition:

  • i've recreated a new client API key (web application) to be sure to get a new token (referring the token lifespan) but it has not solved the problem.

  • Custom dimensions creation works on the same project id

  • Goals listing also works

  • I use "https://www.googleapis.com/auth/analytics.edit" scope to try to create my goals

  • I code using Javascript language

Thank you for your help and feel free to ask me any additional information.

来源:https://stackoverflow.com/questions/42064967/google-analytics-management-api-insert-goals-403

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