The issue I'm having is when I try and insert a new web property using the Google Analytics Api I'm getting the error: "reason": "insufficientPermissions", "message": "Your project does not have access to this feature."
This is even when I use the page: https://developers.google.com/analytics/devguides/config/mgmt/v3/mgmtReference/management/webproperties/insert
Has anyone being able to successfully create a new web property and return its tracking code?
At the time that this question was written, write operations were still in beta. At the time, it was required to request access to the beta. From the GA documentation at the time:
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.
After applying for the beta, developers were unlikely to hear back from GA, but after 24 hours it normally worked.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With