2 messages in com.googlegroups.adwords-apiRe: AdWords API Adwords + ruby1.8| From | Sent On | Attachments |
|---|---|---|
| T3uF | 17 Oct 2006 09:05 | |
| Patrick Chanezon | 17 Oct 2006 16:48 |
| Subject: | Re: AdWords API Adwords + ruby1.8![]() |
|---|---|
| From: | Patrick Chanezon (chan...@gmail.com) |
| Date: | 10/17/2006 04:48:23 PM |
| List: | com.googlegroups.adwords-api |
1. the credentials are now developerToken and applicationToken, not token. 2. look at the log files that are generated for the requests 3. make sure you have installed the soap4r tip
Send some of the xml that you get back from these requests, this will help us help you.
P@
On 10/17/06, T3uF <maxi...@gmail.com> wrote:
Hi,
I try to use adwords v6 with ruby on rails
I install adwords4r (0.7).
My code:
require 'adwords4r'
adwords = AdWords::API.new(AdWords::AdWordsCredentials.new( { # This credential is for SandBox
'alternateUrl' => 'https://sandbox.google.com/api/adwords/v6/', 'token' => 'token', 'useragent' => 'P@ playing with the API from ruby', 'password' => 'passwd', 'email' => '...@example.com'} ))
p "campaigns = #{adwords.getAllAdWordsCampaigns(123)}"
Error:
/usr/lib/ruby/gems/1.8/gems/adwords4r-0.7 /lib/adwords4r/v5/KeywordToolServiceDriver.rb:8: warning: already initialized constant MappingRegistry /usr/lib/ruby/gems/1.8/gems/adwords4r-0.7 /lib/adwords4r/v5/KeywordToolServiceDriver.rb:23: warning: already initialized constant Methods at depth 0 - 20: unable to get local issuer certificate nil nil
How can I solve this problem ? Thank you for your help.
T3uF
-- Patrick Chanezon, Google API Evangelist http://wordpress.chanezon.com/ http://code.google.com/apis/checkout/




