Google Analytics API error 403: “User does not have permission to access profile”
I've been trying to learn how to use the Google Analytics API to get site traffic data. I keep running into an error saying that the user does not have permission to access the profile. I added the email address from the service account to the users and tried making it both a user with access to all profiles and an administrator and neither worked. This is my code, which I got from here : string scope = AnalyticsService.Scopes.AnalyticsReadonly.GetStringValue(); string clientId = "xxxxxxxx@developer.gserviceaccount.com"; string keyFile = @"C:\Users\emorris\Downloads\xxxxxxxxxx-privatekey.p12";