AdWords
2K members online now
2K members online now
Get started with AdWords - learn the basics to get set up for success
Guide Me
star_border
Reply

Unable to get refresh Token

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I am trying to run my adwords but everytime I try to execute the GetRefreshToken.php file on my server I get the following error

"Warning: Error parsing  ../googleads-php-lib-master/src/Google/Api/Ads/AdWords/Lib/api.properties on line 14 in .. /googleads-php-lib-master/src/Google/Api/Ads/Common/Util/ApiPropertiesUtils.php on line 40  Notice: Use of undefined constant WSDL_CACHE_NONE - assumed 'WSDL_CACHE_NONE' in  .. /googleads-php-lib-master/src/Google/Api/Ads/Common/Lib/AdsUser.php on line 231 Log in to your AdWords account and open the following URL: https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=529713113834-pcltkti85cv8... After approving the token enter the authorization code here: Your OAuth2 Credentials are incorrect. Please see the GetRefreshToken.php example. { "error" : "invalid_request", "error_description" : "Missing required parameter: code" }"

Re: Unable to get refresh Token

Participant ✭ ✭ ✭
# 2
Participant ✭ ✭ ✭
Hi Shukla A,

I would suggest posting your question on the API forum found here:
https://groups.google.com/forum/#!forum/adwords-api

You are much more likely to find the answers there.

Good Luck

Re: Unable to get refresh Token

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Thanks Smiley Happy