Hi, Thanks for getting back to me.
Unfortunately, I don't have a line in my (previously working) code that resembles the $client->get_oauth_2_handler()->set_access_token('...'); line you indicated. But, I was able to comment out the oAuth2AccessToken line in ~/adwords.properties and the error went away. I'm presuming these are equivalent values, just set with different methods. So, I think this one is fixed. Thanks again, Mike. On Wednesday, April 4, 2018 at 3:30:56 PM UTC-4, Dhanya Sundararaju (AdWords API Team) wrote: > > Hi Mike, > > Your access token may be getting invalid after expiry time. You can check > if thats the case by providing your access token in the Google API > Explorer > <https://developers.google.com/apis-explorer/#p/oauth2/v2/oauth2.tokeninfo?access_token=ya29.Gl1_BUkOvZK24qkva9SZIQXloMmk8lTuHqtNeFCCgM7aESXlaH6WyfYQwtNAF0jAyckbsX8-k9I13u9bjU2XnB6kiErQiIztsKIpgQO88GFtMaCmkM3Zr5fKXz2v5qQ&_h=3&> > and checking the 'expires_in' field. > > Also, if you are setting access token in your script as in below code > snippet, could you please retry after commenting out the same? > $client->get_oauth_2_handler()->set_access_token('...'); > > If you still get the invalid_token error, could you please reply back with > complete error message? > > Regards, > Dhanya, 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. 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/7632b2f8-d797-4a10-824f-e26a955545ee%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.