Re: Problems with OAuth 2.0 (java)

2014-03-14 Thread GrueneOrchidee
Hi, thanks for your help. Now it works for me, but not with service accounts ;-) Am Dienstag, 26. November 2013 05:10:04 UTC+1 schrieb Takeshi Hagikura (AdWords API Team): > > Hi, > > The documentation looks not right. > There is no concept of access type for service accounts. > We're fixing t

Re: Problems with OAuth 2.0 (java)

2013-11-25 Thread Takeshi Hagikura (AdWords API Team)
Hi, The documentation looks not right. There is no concept of access type for service accounts. We're fixing the sample code. For the time being please ignore the line of ".setAccessType("offline")". The error messages seems you don't have a proper access token. When you invoked the .refreshT

Re: Problems with OAuth 2.0 (java)

2013-11-20 Thread GrueneOrchidee
Hi Takeshi, thanks for your answer. I already answered more than a week ago but this answer is not visible, so I try it again. I tried using your guide but the method setAccessType("offline") is not available at class GoogleCredential of v201309 or v201306. Without this method call, I get the

Re: Problems with OAuth 2.0 (java)

2013-11-06 Thread Takeshi Hagikura (AdWords API Team)
Hi, You can use OAuth2 service account as in this guide . But if you don't use a service account specific feature (i.e. impersonation), I recommend using other authentication type, if you use app engine, web flow can be us

Problems with OAuth 2.0 (java)

2013-10-30 Thread GrueneOrchidee
I want to change the login from ClientLogin to OAuth2.0. I read so many tutorials about OAuth2.0 but it doesn't work. I want a login mechanism without user interaction and without the use of a browser, so I decided to use Service Account. Therefore I created at Google Console an OAuth 2.0 Clien