Hi,

I was under the impression refreshToken is automatically handed by the java
api library. Is that incorrect?


For example, if I create a new GoogleCredential, set the parameters,
including both accessToken
and refreshToken

when I use this to access the resources, if the token is still valid.
everything works.
if the token is not valid, the the java api library
will automatically refresh the accessToken
using the refreshToken and update the credential object.

There isn't any need to call credential.refreshToken() directly.

I'm finding this approach works when calling analytics, but not with
adwords.

Thanks

-- 
Omnem crede diem tibi diluxisse supremum.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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