This question already has an answer here:
I want to get some of the data from Google Analytics into Salesforce. I have looked through a series of articles but I couldn't find any step by step guide how to do so, hence I am unsure what approach should I take. This is one of the articles I tried to follow: https://developer.salesforce.com/page/Apex_Web_Services_and_Callouts
I would need to get the data on a daily basis so I was thinking in creating a batch class which performs GA callouts everyday. I don't have much experience in doing so, especially how to work with the GA api.
If anybody has any knowledge how to achieve this in terms of what design approach would be the easiest to implement and could lead me into the right direction or is able to provide some sample code, reference some useful articles I would be grateful.