Re: java oauth2 refreshToken handling

2013-03-26 Thread Takeshi Hagikura (AdWords API Team)
Hi, Yes, when the access token is not valid the library will try to refresh the access token unless you explicitly set the api.adwords.refreshOAuth2Token to false in ads.properties

java oauth2 refreshToken handling

2013-03-25 Thread Wilson MacGyver
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.