Hi,

I have installed the PHP Google Adwords API on my machine. I have created 
one production and one test MCC account. I have received a developer token 
for the production account.
I am getting the error "unauthorised_client" error when I run the example 
GetCampaigns.php. In my auth.ini file I have set the values like as below:
developerToken :<as received from Google>
userAgent: <company name>
clientCustomerId : <my 10 digit account id sepearated by hyphens>
client_id <generated by logging into google cloud console>
client_secret <generated from google cloud console>
refresh_token <generated from Google Oauth Playground - 
https://developers.google.com/oauthplayground/>

The refresh token is generated by logging into Oauth Playground using the 
test login. Also, the client-id and client-secret are generated for the 
test account not the production account. I am getting the same issue wheen 
using the production details.

Can you please suggest what is the cause of this issue and how I can 
resolve it?

Any help much appreciated.

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to