I'm moving my PHP client files v201109 to Ruby v201209.  I have everything 
working in Sandbox while I'm using ClientLogin; however, I've been unable 
to get OAuth2 in offline mode w/ refresh tokens working in the Ruby Client 
like I was able to in the PHP client.  Has anyone had success using offline 
mode with the Ruby Client.  Here are the OAuth2 config items I have in the 
adwords_api.yml file:
  :oauth2_client_id: MY CLIENT ID
  :oauth2_client_secret: MY CLIENT SECRET
  # Optional, see: 
https://developers.google.com/accounts/docs/OAuth2WebServer
  #:oauth2_callback: INSERT_OAUTH2_CALLBACK_URL_HERE
  #:oauth2_state: INSERT_OAUTH2_STATE_HERE
  :oauth2_access_type: offline
  :oauth2_grant_type: refresh_token
  #:oauth2_approval_prompt: INSERT_OAUTH2_APPROVAL_PROMPT_HERE
  :oauth2_refresh_token: MY REFRESH TOKEN

These are the same items I needed to have in the PHP client so I'm not sure 
what else I need to do.  Any advice would be appreciated?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

Reply via email to