Using service account for google analytics api
06 Sep 2014One of my clients came to me yesterday. He asked if I could use service account in the code I wrote 4 months ago.
It’s a simple php class wrapping on top of google-api-php-client, with some clever APIs like visualizing funnels.
As far as I could remember, I tried to use service account before, but no luck. This time, he also sent me the solution, a link to stackoverflow.
And I tried, it works!
How could I not be able to find this at that time? I googled, stackoverflowed, and searched google groups.
I should be more insistent next time, I think.
More...