Server-to-server OAuth authorization for Google Analytics

186 views
Skip to first unread message

Vladimir Kovarsky

unread,
Jan 18, 2013, 11:26:43 AM1/18/13
to google-analytics...@googlegroups.com
Hi, all.
I could not find out from the documentation, whether server-to-server type OAuth2 authorization (https://developers.google.com/accounts/docs/OAuth2ServiceAccount) is available for Google Analytics API?
And, if so, where one can find some directions and/or code samples?
Thank you in advance.

Chris Baker

unread,
Jan 18, 2013, 12:00:40 PM1/18/13
to google-analytics...@googlegroups.com
Vladmir,

I've been working with the API with Ruby on Rails.  Google has some sample code showing how to connect to Analytics API with a Service Account:

However, the code library that is being used in this example is not production-ready at this time.  I'm sure that there are examples for other frameworks and languages.

Best of luck!

--Chris Baker

Steven Gott

unread,
Jan 18, 2013, 11:26:24 PM1/18/13
to google-analytics...@googlegroups.com
Hi Vlad

We have implemented server to server Oauth2 for GA API.  We use this for off-line data pull from GA.  What language are you using?

Steven Gott
 
eCommerce Intelligence
http://www.eComIQ.com
800-930-5908, Ext 7
Internet Marketing & Analytics Agency


--
 
 

Vladimir Kovarsky

unread,
Jan 19, 2013, 4:54:07 PM1/19/13
to google-analytics...@googlegroups.com
Hi, Steve.
Thank you for your reply.
We use java 7 for backend.

суббота, 19 января 2013 г., 6:26:24 UTC+2 пользователь Steve G написал:
Message has been deleted

Vladimir Kovarsky

unread,
Jan 21, 2013, 4:04:06 AM1/21/13
to google-analytics...@googlegroups.com
Chris, thank you for this.
I'm seeking for java imlementation, but your hint is also useful as an example.

Regards,
Vladimir.

пятница, 18 января 2013 г., 19:00:40 UTC+2 пользователь Chris Baker написал:
Reply all
Reply to author
Forward
0 new messages