Hi Everyone, 
First off, I'd like to apologize if this is a silly question but I'm a 
total Adwords API newbie. I have the rails example project 
(google-api-ads-ruby/adwords_api/examples/adwords_on_rails/) working and 
modified it to include offline access in the initial request. I'm saving 
off the refresh token in my database for each user but I'm not sure what to 
do from there. After the initial access token expires, my calls to the API 
are failing with AdsCommon::Errors::OAuth2VerificationRequired . 

Do I manually need to rescue errors from each API call to determine if the 
access token has expired? 

Once I know the access token has expired, how do I use the refresh token to 
obtain a new access token?

Thanks in advance for any help!!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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
--- 
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 [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f517b9c2-4059-4176-b47e-717f9bb4416f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to