Using Ruby to get access to Google Keywords

Here's a guide on how you can use 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, 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.

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 that it 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

Ruby

Forcing a Rails database column to be not null

How you can force a table column to always have something in it with Rails

Writing Marketing

We've deleted an article's worth of unhelpful words

We've improved several pages across our site by removing words that add no value, and often detract from the article.