Re: Problem refreshing access token for a web application

2014-09-15 Thread Ray Tsang (AdWords API Team)
Nelu, Typically invalid_grant means one of the information was not filled out correctly (e.g., putting developer token in as the client secret, etc), or that the refresh token is invalid, or that the original authorization URL may have missed critical parameters, such as using offline access.

Re: problem refreshing access token

2014-09-15 Thread Ray Tsang (AdWords API Team)
Nelu, Let's continue this discussion in another thread. Thanks, Ray On Monday, September 15, 2014 8:34:19 AM UTC-4, Nelu Cambrea wrote: > > Hi, > > I'm working on a simple AdWords implementation using googleads-php-lib. > Everything is fine except the moment the access_token is expiring (after

problem refreshing access token

2014-09-15 Thread Nelu Cambrea
Hi, I'm working on a simple AdWords implementation using googleads-php-lib. Everything is fine except the moment the access_token is expiring (after about an hour). I'm trying to refresh the acces_token using RefreshAccessToken( $) from Google/Api/Ads/Common/Utils/SimpleOAuth2Handler.php $ha

Problem refreshing access token for a web application

2014-09-15 Thread Nelu Cambrea
Hi all, I have a problem trying to refresh the access token (OAuth2.0). I'm using the googleads-php-lib and everything is fine with the authorization process, request for tokens and I get access to the AdWords API. The problem appears when I try to refresh the access token after about an hour.