Re: Passing GCLID and getting Errors with Ruby Script

2015-02-26 Thread Michael Cloonan (AdWords API Team)
Hello Marlon,

Please note that the Ruby library no longer supports Ruby 1.8. There is a 
chance it may still function, but we won't fix any bugs specific to that 
version.

Could you please include the Ruby source code so I can look at what you're 
doing? If you don't feel comfortable sharing that publicly, you can reply 
to me privately by using the dropdown arrow at the top-right of my post.

Regards,
Mike, AdWords API Team

On Thursday, February 26, 2015 at 2:27:43 PM UTC-5, Marlon Haniff wrote:

 We are passing gclid values back to Google but we are getting this type of 
 error:

 /home/marlon/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/net/smtp.rb:577:in 
 `initialize': wrong argument (NilClass)! (Expected kind 
 of OpenSSL::SSL::SSLContext) (TypeError)

 from 
 /home/marlon/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/net/smtp.rb:577:in 
 `new'

 from 
 /home/marlon/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/net/smtp.rb:577:in 
 `original_tlsconnect'

 from 
 /home/marlon/.rvm/gems/ruby-1.8.7-head@cj/gems/mail-2.5.4/lib/mail/core_extensions/smtp.rb:14:in
  
 `tlsconnect'

 from 
 /home/marlon/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/net/smtp.rb:562:in 
 `do_start'

 from 
 /home/marlon/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/net/smtp.rb:525:in 
 `start'

 from 
 /home/marlon/.rvm/gems/ruby-1.8.7-head@cj/gems/mail-2.5.4/lib/mail/network/delivery_methods/smtp.rb:112:in
  
 `deliver!'

 from 
 /home/marlon/.rvm/gems/ruby-1.8.7-head@cj/gems/mail-2.5.4/lib/mail/message.rb:248:in
  
 `deliver!'

 from ./lib/notifier.rb:20:in `error'

 from script.rb:33

 Starting...

 Importing commission from CJ.

 .

 0 commissions imported.

 Exporting conversions to Adwords.


 Our database is reporting this:

 AdsCommon::Errors::HttpError - HTTP Error occurred: HTTP error (404): 
 htmlbodyNo service was found./body/html

 Our adwords_api.yml script which we use for passing of the gclid values:  
 https://www.dropbox.com/s/xhmjvka6shmzb5a/Screenshot%202015-02-25%20at%209.32.18%20AM.png?dl=0

 I'd appreciate your assistance.

 Marlon


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/82840752-0d10-4803-a503-5fc408b09122%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Passing GCLID and getting Errors with Ruby Script

2015-02-26 Thread Marlon Haniff
 

We are passing gclid values back to Google but we are getting this type of 
error:

/home/marlon/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/net/smtp.rb:577:in 
`initialize': wrong argument (NilClass)! (Expected kind 
of OpenSSL::SSL::SSLContext) (TypeError)

from 
/home/marlon/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/net/smtp.rb:577:in 
`new'

from 
/home/marlon/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/net/smtp.rb:577:in 
`original_tlsconnect'

from 
/home/marlon/.rvm/gems/ruby-1.8.7-head@cj/gems/mail-2.5.4/lib/mail/core_extensions/smtp.rb:14:in
 
`tlsconnect'

from 
/home/marlon/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/net/smtp.rb:562:in 
`do_start'

from 
/home/marlon/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/net/smtp.rb:525:in 
`start'

from 
/home/marlon/.rvm/gems/ruby-1.8.7-head@cj/gems/mail-2.5.4/lib/mail/network/delivery_methods/smtp.rb:112:in
 
`deliver!'

from 
/home/marlon/.rvm/gems/ruby-1.8.7-head@cj/gems/mail-2.5.4/lib/mail/message.rb:248:in
 
`deliver!'

from ./lib/notifier.rb:20:in `error'

from script.rb:33

Starting...

Importing commission from CJ.

.

0 commissions imported.

Exporting conversions to Adwords.


Our database is reporting this:

AdsCommon::Errors::HttpError - HTTP Error occurred: HTTP error (404): 
htmlbodyNo service was found./body/html

Our adwords_api.yml script which we use for passing of the gclid values: 
 
https://www.dropbox.com/s/xhmjvka6shmzb5a/Screenshot%202015-02-25%20at%209.32.18%20AM.png?dl=0

I'd appreciate your assistance.

Marlon

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7e62c92c-3743-4549-b632-870085c0e0e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.