OAuth 2.0 with Google Analytics API v3
I’m adding a PHP answer – you may be able to adjust or convert it to garb / ruby code. You should be able to use Analytics with service accounts now. You will indeed have to use a private key instead of an access token. Create an app in the API Console Basically, you go … Read more