Hi Matt, Could you confirm if you are using one of our AdWords API client libraries <https://developers.google.com/adwords/api/docs/clientlibraries>? If you are using it, then our client libraries automatically refreshes an expired access token based on this guide <https://developers.google.com/adwords/api/docs/guides/authentication#access_token_expiration>. For more information regarding web app flow, you can refer here <https://github.com/googleads/googleads-php-lib/wiki/API-access-on-behalf-of-your-clients-(web-flow)> .
If you are not using it, then you need to check if the access token is about to expire and then refresh this token as needed. The OAuth2TokenRefresher.php <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fgoogleads%2Fgoogleads-php-lib%2Fblob%2Fmaster%2Fsrc%2FGoogle%2FAdsApi%2FCommon%2FUtil%2FOAuth2TokenRefresher.php&sa=D&sntz=1&usg=AFQjCNEnWkVtcLSfy7lMO3TL3TZUzp6s0g> example provides the functionality to retrieve OAuth2 access tokens and handling refreshing the token if it is about to expire. Let me know if you have further clarifications. Thanks, Vincent AdWords API Team -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/4e4e6884-78de-4766-803b-7112e1dab355%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
