Re: OAUTH_TOKEN_INVALID ruby client

2013-07-22 Thread Takeshi Hagikura (AdWords API Team)
Hi Matthew, Looks like the access_token (it expires in one hour) was issued at 2013-07-19 14:56:06 -0400. So at the time you made a request, the access token seemed to expire. If you make the oauth token request in offline mode, the response should contain refresh_token (that never expires).

Re: OAUTH_TOKEN_INVALID ruby client

2013-07-22 Thread Matthew Ledom
Thanks I would like to know the correct way to do this. I have not found an example the uses a refresh token that is stored in a db. I have seen the setup_oauth2.rb example where the refresh token is written to a file. Creating a new AdwordsApi::Api with the yml file and setting credentials

Re: OAUTH_TOKEN_INVALID ruby client

2013-07-22 Thread Takeshi Hagikura (AdWords API Team)
Hi, Looks like you are already talking with the ruby library maintainer in another mail thread. Please update the thread about it. Best, - Takeshi, AdWords API Team On Tuesday, July 23, 2013 2:53:29 AM UTC+9, Matthew Ledom wrote: Thanks I would like to know the correct way to do this. I