Open manishkvaish opened 10 years ago
You need to attach Google's auto-generated client email address to the analytics account http://stackoverflow.com/questions/12837748/analytics-google-api-error-403-user-does-not-have-any-google-analytics-account
many thanks Brobin..got my problem solved
+1
Thanks for advice! @Brobin
:+1:
Now that it's a few years later, does anybody know if the e-mail address you need to add is still the long auto-generated client ID of the service account, or is it more like this format now: [YOUR SERVICE ACCOUNT NAME]@[YOUR PROJECT NAME].iam.gserviceaccount.com ? The e-mail address for my service account is not a long client ID, it's this: automatedjb@website-user-analysis.iam.gserviceaccount.com. Is this the e-mail address I need to add to the profile as a user?
@JeremyBowyer i'm also confused :D with the changes.
Me, getting User does not have any Google Analytics account
but i already have the req.credentials
👍
hi.. i am getting this error Error calling GET https://www.googleapis.com/analytics/v3/management/accounts/~all/webproperties/~all/profiles: (403) User does not have any Google Analytics account.
i wonder why this is happening ,as i have a valid google analytic account with my account info showing on the right/top of my account page as
manishnitk2011@gmail.com laraval - http://laraval.eu1.frbit.net/ All Web Site Data
(more over i am putting the client id and mail etc. well attached with my google api account with analytics api enabled) please help me resolving the error