[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analytics Data API: What IAM roles or permissions are required? #4901

Closed
dpkirchner opened this issue Dec 19, 2023 · 2 comments
Closed

Analytics Data API: What IAM roles or permissions are required? #4901

dpkirchner opened this issue Dec 19, 2023 · 2 comments

Comments

@dpkirchner
Copy link

Per the README we are supposed to create a service account to access Google Analytics data. What IAM roles or permissions do we need to assign to that service account? Otherwise, how do we grant access to GA to that service account? The README just links to generic service account docs.

@sofisl
Copy link
Contributor
sofisl commented Jan 3, 2024

From what I understand, you don't need to give the SA any special permissions, but you do need to add it onto your account using its email address: (see https://support.google.com/analytics/answer/1009702?hl=en#zippy=%2Cin-this-article)

@ikuleshov, would you mind confirming?

@ikuleshov
Copy link
Contributor

As per the quickstart guide, a Service Account needs to be added to the Google Analytics account/property you are trying to access, no other IAM roles needed.

@sofisl sofisl closed this as completed Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants