Is anyone still using Ruby for the Adwords API? I've found only old discussions about V6. Any examples about how to do it on a recent version? Any speculation on why it isn't more popular?
On 10/24/07, Andrew - Helium <aress...@helium.com> wrote:
> Is anyone still using Ruby for the Adwords API? I've found only old > discussions about V6. Any examples about how to do it on a recent > version? Any speculation on why it isn't more popular?
I did most of the work to update adwords4r to use the newer soap4r libraries and support V10 a while ago. It seems Jeffrey Posnick at Google has stepped up to continue where I left off and added V11 support yesterday.
You can download the latest gem with V10 and V11 support here:
I am not sure why more people don't use adwords4r, but it probably just relates to how many people are using Ruby versus PHP and .NET, etc. As much as I like Ruby, it still isn't as big as the other languages.
Ryan is correct-the updated Ruby gem is not yet uploaded to RubyForge, but you can access the v10/v11 version of the libraries from the Google Code site in the meantime.
I'll update this thread when the gem has made it to RubyForge. In the meantime, please let us know if you encounter any issues using the client library.
The new gem version of adwords4r, 11.0.2, has now been updated on RubyForge. Assuming you have a properly configured ruby/gem environment, you can install it automatically with the "gem install adwords4r" command.
Cheers, -Jeff Posnick, AdWords API Team
On Nov 7, 3:15 pm, AdWords API Advisor <adwordsapiadvi...@google.com> wrote:
Jeff, I attempted to get adwords4r running and rant into some issues.
First it seems that the environmental variable "ADWORDS4R_DEBUG" is
required. I think this should be optional, so all that would need to
be done is check for a null value on line 81 of adwords4r.rb
Attempting to access the API this way didn't seem to work. I used the
developer token given to me along with my user/pass to adwords client
manager. I get an error of "Application information missing." when I
run this code:
adwords = AdWords::API.new(AdWords::AdWordsCredentials.new(
{ 'token' => 'mytoken',
'useragent' => 'P@ playing with the API from ruby',
'password' => 'mypasswd',
'email' => 'em...@example.com'}
))
> The new gem version of adwords4r, 11.0.2, has now been updated on
> RubyForge. Assuming you have a properly configuredruby/gem
> environment, you can install it automatically with the "gem install
> adwords4r" command.
> Cheers,
> -Jeff Posnick, AdWords API Team
> On Nov 7, 3:15 pm, AdWords API Advisor <adwordsapiadvi...@google.com>
> wrote:
> > Apologies, the SiteSuggestionService code was in the packaged .gem
> > file but was not added to the SVN repository.
> > It has since been added. Let us know if you run into any issues.
> > Cheers,
> > -Jeff Posnick, AdWords API Team
> > On Nov 7, 6:05 am, "fly...@googlemail.com" <fly...@googlemail.com>
> > wrote:
> Jeff, I attempted to get adwords4r running and rant into some issues.
> First it seems that the environmental variable "ADWORDS4R_DEBUG" is
> required. I think this should be optional, so all that would need to
> be done is check for a null value on line 81 of adwords4r.rb
> Attempting to access the API this way didn't seem to work. I used the
> developer token given to me along with my user/pass to adwords client
> manager. I get an error of "Application information missing." when I
> run this code:
> adwords = AdWords::API.new(AdWords::AdWordsCredentials.new(
> { 'token' => 'mytoken',
> 'useragent' => 'P@ playing with the API from ruby',
> 'password' => 'mypasswd',
> 'email' => 'em...@example.com'}
> ))
> On Nov 9, 11:13 am, AdWords API Advisor <adwordsapiadvi...@google.com>
> wrote:
> > The new gem version of adwords4r, 11.0.2, has now been updated on
> > RubyForge. Assuming you have a properly configuredruby/gem
> > environment, you can install it automatically with the "gem install
> > adwords4r" command.
> > Cheers,
> > -Jeff Posnick, AdWords API Team
> > On Nov 7, 3:15 pm, AdWords API Advisor <adwordsapiadvi...@google.com>
> > wrote:
> > > Apologies, the SiteSuggestionService code was in the packaged .gem
> > > file but was not added to the SVN repository.
> > > It has since been added. Let us know if you run into any issues.
> > > Cheers,
> > > -Jeff Posnick, AdWords API Team
> > > On Nov 7, 6:05 am, "fly...@googlemail.com" <fly...@googlemail.com>
> > > wrote:
Thanks for pointing out the ADWORDS4R_DEBUG issue-I've updated the
code in the Subversion repository to perform a nil? check before
attempting to convert the variable into uppercase. I'll update the Gem
as well.
Cheers,
-Jeffrey Posnick, AdWords API Team
On Dec 4, 2:50 pm, Alan <tala...@gmail.com> wrote:
> Sorry, I figured it out, looks like the requirements for
> AdWordsCredentials have changed.
> On Dec 4, 10:06 am, Alan <tala...@gmail.com> wrote:
> > Jeff, I attempted to get adwords4r running and rant into some issues.
> > First it seems that the environmental variable "ADWORDS4R_DEBUG" is
> > required. I think this should be optional, so all that would need to
> > be done is check for a null value on line 81 of adwords4r.rb
> > Attempting to access the API this way didn't seem to work. I used the
> > developer token given to me along with my user/pass to adwords client
> > manager. I get an error of "Application information missing." when I
> > run this code:
> > adwords = AdWords::API.new(AdWords::AdWordsCredentials.new(
> > { 'token' => 'mytoken',
> > 'useragent' => 'P@ playing with the API from ruby',
> > 'password' => 'mypasswd',
> > 'email' => 'em...@example.com'}
> > ))
> > On Nov 9, 11:13 am, AdWords API Advisor <adwordsapiadvi...@google.com>
> > wrote:
> > > The new gem version of adwords4r, 11.0.2, has now been updated on
> > > RubyForge. Assuming you have a properly configuredruby/gem
> > > environment, you can install it automatically with the "gem install
> > > adwords4r" command.
> > > Cheers,
> > > -Jeff Posnick, AdWords API Team
> > > On Nov 7, 3:15 pm, AdWords API Advisor <adwordsapiadvi...@google.com>
> > > wrote:
> > > > Apologies, the SiteSuggestionService code was in the packaged .gem
> > > > file but was not added to the SVN repository.
> > > > It has since been added. Let us know if you run into any issues.
> > > > Cheers,
> > > > -Jeff Posnick, AdWords API Team
> > > > On Nov 7, 6:05 am, "fly...@googlemail.com" <fly...@googlemail.com>
> > > > wrote:
> > > > > On Oct 26, 10:12 pm, AdWords API Advisor
> Thanks for pointing out the ADWORDS4R_DEBUG issue-I've updated the
> code in the Subversion repository to perform a nil? check before
> attempting to convert the variable into uppercase. I'll update the Gem
> as well.
> Cheers,
> -Jeffrey Posnick, AdWords API Team
> On Dec 4, 2:50 pm, Alan <tala...@gmail.com> wrote:
> > Sorry, I figured it out, looks like the requirements for
> > AdWordsCredentials have changed.
> > On Dec 4, 10:06 am, Alan <tala...@gmail.com> wrote:
> > > Jeff, I attempted to get adwords4r running and rant into some issues.
> > > First it seems that the environmental variable "ADWORDS4R_DEBUG" is
> > > required. I think this should be optional, so all that would need to
> > > be done is check for a null value on line 81 of adwords4r.rb
> > > Attempting to access the API this way didn't seem to work. I used the
> > > developer token given to me along with my user/pass to adwords client
> > > manager. I get an error of "Application information missing." when I
> > > run this code:
> > > adwords = AdWords::API.new(AdWords::AdWordsCredentials.new(
> > > { 'token' => 'mytoken',
> > > 'useragent' => 'P@ playing with the API fromruby',
> > > 'password' => 'mypasswd',
> > > 'email' => 'em...@example.com'}
> > > ))
> > > On Nov 9, 11:13 am, AdWords API Advisor <adwordsapiadvi...@google.com>
> > > wrote:
> > > > The new gem version of adwords4r, 11.0.2, has now been updated on
> > > > RubyForge. Assuming you have a properly configuredruby/gem
> > > > environment, you can install it automatically with the "gem install
> > > > adwords4r" command.
> > > > Cheers,
> > > > -Jeff Posnick, AdWords API Team
> > > > On Nov 7, 3:15 pm, AdWords API Advisor <adwordsapiadvi...@google.com>
> > > > wrote:
> > > > > Apologies, the SiteSuggestionService code was in the packaged .gem
> > > > > file but was not added to the SVN repository.
> > > > > It has since been added. Let us know if you run into any issues.
> > > > > Cheers,
> > > > > -Jeff Posnick, AdWords API Team
> > > > > On Nov 7, 6:05 am, "fly...@googlemail.com" <fly...@googlemail.com>
> > > > > wrote:
> > > > > > On Oct 26, 10:12 pm, AdWords API Advisor