Solved

Where to start with accessing Google Adwords or Google Analytics API

Posted on 2011-09-20
4
258 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This video teaches users how to migrate an existing Wordpress website to a new domain.

856 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