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
2. I have created the Client ID from here -> 
https://console.developers.google.com
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.
5. After I have got my refresh token I run my script on 
http://best.bigevo.com/adwords, and I have this kind of error.

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

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a057685f-e385-45ff-8bc0-0faa64e3999b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to