Hi,

In general, you may see OAUTH_TOKEN_INVALID 
<https://developers.google.com/adwords/api/docs/common-errors#AuthenticationError.OAUTH_TOKEN_INVALID>
 error 
if the access token in your request header is not valid. Access tokens have 
a limited time validity and they expire in 1 hour (3600 seconds). Our 
client libraries handle the mechanism of generating a new access token from 
your refresh token when an access token expires. Refresh tokens, on the 
other hand, do not expire and are meant to be kept safely in your local 
environment (should not be sent with your API call). Could you please 
download a fresh copy of the PHP client library 
<https://github.com/googleads/googleads-php-lib>, configure your OAuth 
credentials and check if you are able to get campaign information for your 
account when you run this example 
<https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201702/BasicOperations/GetCampaigns.php>
?

Regards,
Vishal, 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/0707ffab-6e56-4d76-9d2a-5c98613f8815%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Invalid access t... Bo Andersen
    • Re: Invalid... 'Vishal Vinayak (Adwords API Team)' via AdWords API Forum

Reply via email to