Can someone please help with the issue on my adwords tool development?
I am still creating my adwords tool with code igniter in PHP.
These are my step:
1. I already got my approved developer token
3. Once I have got my Client ID and my Client Secret I copied to the auth.ini file
4. I run the GetRefreshToken.php (I got it from online), I used my terminal to get refresh token.
I have this error:
Fatal error: Uncaught exception 'OAuth2Exception' with message '{ "error" : "unauthorized_client" }' in /home/content/55/11063355/html/best/app0809/third_party/Adwords/src/Google/Api/Ads/Common/Util/SimpleOAuth2Handler.php:124 Stack trace: #0 /home/content/55/11063355/html/best/app0809/third_party/Adwords/src/Google/Api/Ads/Common/Util/SimpleOAuth2Handler.php(100): SimpleOAuth2Handler->MakeRequest('https://account...', Array) #1 /home/content/55/11063355/html/best/app0809/third_party/Adwords/src/Google/Api/Ads/Common/Util/OAuth2Handler.php(113): SimpleOAuth2Handler->RefreshAccessToken(Array) #2 /home/content/55/11063355/html/best/app0809/third_party/Adwords/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php(502): OAuth2Handler->GetOrRefreshAccessToken(Array) #3 /home/content/55/11063355/html/best/app0809/third_party/Adwords/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php(214): AdsSoapClient->GenerateHttpHeaders() #4 /home/content/55/11063355/html/best/app0809/third_party/Adwords/src/Google/Api/Ads/AdWords/v201502/CampaignS in/home/content/55/11063355/html/best/app0809/third_party/Adwords/src/Google/Api/Ads/Common/Util/SimpleOAuth2Handler.php on line 124
I wish someone would help me.
Thanks,
Susan