Solved

Where to start with accessing Google Adwords or Google Analytics API

Posted on 2011-09-20
4
217 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
No satisfactory answer to my question
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

New Relic recently released its Synthetics product that allows for the creation of performance monitors that periodically test a site's performance. If you wish to test an interactive workflow New Relic employs Selenium WebDriverJS to run those test…
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
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:
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now