Hi Hunter,

Please see answers inline:

On Wednesday, 2 October 2013 15:42:39 UTC+1, Hunter McMillen wrote:
>
> 1) Is there some way to use this already created object to refresh my 
> access token?
>
The oauth_2_handler has get_access_token which refreshes stale tokens. But 
there is no way to access the _refresh_access_token method outside the 
class.
 

> 2) What about processes that might execute *longer* than the lifetime of 
> an access_token, what is the best practice for handling that token refresh?
>
Long running requests are authenticated on the way into the API (so they 
will be fine). Long running processes will be fine because there's logic to 
check for the stale tokens before they make a request.

Regards,

- Paul, AdWords API Team. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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/groups/opt_out.

Reply via email to