Using Ruby to get access to Google Keywords

This is a short post detailing at a high level how you would go about using Ruby to get access to Google keyword suggestions.

First of all Google's Keyword API is hooked into their Adwords API, this means a valid Adwords account will be required to gain access to the API.

Accounts are free, essentially any Google account can sign up, it doesn't appear that you need to have any active campaigns going or anything like that in order to use the Keywords.

There is a Ruby implementation of Google Adwords API and there is a specific code example that deals with Keywords.

The API works as one might expect, you feed it a keyword and it returns multiple suggestions of other keywords and you should note that there doesn't appear to be any cost for using this service.

You should note and you probably noticed if you have looked at the code sample that is uses a SOAP interface to make calls, this won't be just as pretty as some of the slick JSON APIs you are maybe used to, but it will get the job done!

 

Recent posts View all

Talk CSS

FrontEnders - Web Performance

Sharing some of my thoughts on a FrontEnders meetup on the topic of Web Performance

Conferences

Tips for how to ask for time off to attend conferences

Asking for time off to attend a conference can be nerve-racking, these tips will get you closer to attending the conferences you're interested in.