Solved

Where to start with accessing Google Adwords or Google Analytics API

Posted on 2011-09-20
4
248 Views
Last Modified: 2013-11-19
I am trying to find a way to easily pull data from Google AdWords and Google Analytics. They have an API but I am very new to programming so most of the documentation is Greek to me. I am willing to put in the time to reverse engineer an existing program that accesses the data via the API so I can build my own and tweak it to my needs if I need to. Any advice or pre-built apps that could help with this task would be great.
0
Comment
Question by:futr_vision
  • 3
4 Comments
 
LVL 4

Expert Comment

by:cnpz
ID: 36572693
Just checking all bases here, but I wanted to make sure that the Export button in the services won't do the job for you.

Now, to answer your question. You need to pick a programming language. Below is a link to a sample for Python. If you're using windows, you'll need to first set up Python. Go to http://www.python.org/download/ and click on the Windows Installer (doesn't really matter which version). You'll then need to download the Python version of the relevant API, unzip it and run the command python setup.py install from the command line (in the folder where the unzipped API is located. If you get a "'Python' is not recognized..." error, you'll need to either add python.exe to your path, or type in the full path (eg c:\python\python.exe setup.py install).

If you're using a mac or a linux machine, you'll probably already have python at the console - so just skip the installation bit above.

It's a bit tough going without programming experience, but you could have a look at this sample program that uses the analytics api: http://code.google.com/p/gdata-samples/source/browse/trunk/analytics/python/segmentdemo/segment-demo.py

You'll need to change the USERNAME, PASSWORD and TABLE_ID parameters, and then run the program by typing python segment-demo.py at the command line.

The good thing about python is that you can just start a session by typing python at the command line. You can then type out the code of the sample line by line and examine the results of each statement.

Good luck. Let me know if you run into problems getting started or if you'd prefer to use a different language.
0
 

Author Comment

by:futr_vision
ID: 36716261
I"m looking for a way to automatically pull the data into my own database. I've been learning PHP so that might be the way I go but I am not opposed to trying other languages. Ultimately, whatever language I end up with, will be the language I use for all my applications.
0
 

Accepted Solution

by:
futr_vision earned 0 total points
ID: 38164660
I haven't really gotten and answer to this so maybe it is time to just close this qeustion.
0
 

Author Closing Comment

by:futr_vision
ID: 38335877
No satisfactory answer to my question
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to dynamically set the form action using jQuery.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question