Hello Tom,

Please send us your version of library init, e.g.:

adwords = AdwordsApi::Api.new({...

Please make sure to replace most of the sensitive auth details with "****"


-Danial, AdWords API Team.

On Saturday, June 14, 2014 8:51:21 AM UTC+4, Tom Herman wrote:
>
>
> Hello all, I'm having a little trouble migrating to Oauth2.  I am unable 
> to run the example from: 
> https://github.com/googleads/google-api-ads-ruby/blob/master/adwords_api/examples/v201402/misc/create_ad_words_session_without_properties_file.rb,
>  
> which throws OAUTH_TOKEN_HEADER_INVALID.
>
> I've tried the credentials in Python, so I know they work.  I'm just 
> stumped as to why it's not working in Ruby.
>
> -- snip --
> <?xml version="1.0" encoding="UTF-8"?>
> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"; 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"; xmlns:wsdl="
> https://adwords.google.com/api/adwords/mcm/v201402";>
> <env:Header>
> <wsdl:RequestHeader xmlns="
> https://adwords.google.com/api/adwords/cm/v201402";>
> <clientCustomerId>PRIVATE</clientCustomerId>
> <developerToken>PRIVATE</developerToken>
> <userAgent>USERAGENT (AwApi-Ruby/0.12.0, Common-Ruby/0.9.5, Savon/1.2.0, 
> ruby/1.8.7, HTTPI/1.1.1, httpclient)</userAgent>
> </wsdl:RequestHeader>
> </env:Header>
> <env:Body>
> <get xmlns="https://adwords.google.com/api/adwords/mcm/v201402"/>
> </env:Body>
> </env:Envelope>
>
> Best,
>
> Tom
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to