Hello 
 I have a MCC account
a Api token
a client_id and client_secret.
My script work one time but now i 
have AuthorizationError.USER_PERMISSION_DENIED.
I don't understand,what is wrong.
 I use the GetRefreshToken.php.

my user is:

object(AdWordsUser)#7 (18) { ["libVersion":"AdWordsUser":private]=> 
string(6) "13.1.0" ["libName":"AdWordsUser":private]=> string(9) 
"AwApi-PHP" ["userAgent":"AdWordsUser":private]=> NULL 
["scopes":"AdWordsUser":private]=> array(1) { [0]=> string(39) 
"https://www.googleapis.com/auth/adwords"; } 
["requestHeaderElements":"AdsUser":private]=> array(3) { ["userAgent"]=> 
string(50) " (AwApi-PHP/13.1.0, Common-PHP/13.1.0, PHP/5.6.28)" 
["clientCustomerId"]=> string(10) "9609531596" ["developerToken"]=> 
string(22) "BlLEa_qcwQdJ4VZVvyFnjg" } ["defaultServer":"AdsUser":private]=> 
string(26) "https://adwords.google.com"; 
["defaultVersion":"AdsUser":private]=> string(7) "v201609" 
["logsDirectory":"AdsUser":private]=> string(39) 
"/home/wizzim/catalog-ronan.guevel/admin" 
["soapCompression":"AdsUser":private]=> bool(true) 
["soapCompressionLevel":"AdsUser":private]=> string(1) "1" 
["wsdlCache":"AdsUser":private]=> int(0) 
["forceHttpVersion":"AdsUser":private]=> NULL 
["forceAddXsiTypes":"AdsUser":private]=> bool(false) 
["oauth2Info":"AdsUser":private]=> array(3) { ["client_id"]=> string(72) 
"242796190521-uoaro3tcgq7f6b88l3evd82ba50uotp6.apps.googleusercontent.com" 
["client_secret"]=> string(24) "jXptuwQ6j_yGLeJ5lZ6mOXZ9" 
["refresh_token"]=> string(66) 
"1/RPPK-MWdsD6IgpZmq0ossmyqPsfVMK2Ta1LAYojDjWBmK3XoKXndceislAjDRvAN" } 
["oauth2Handler":"AdsUser":private]=> object(SimpleOAuth2Handler)#8 (3) { 
["curlUtils":"SimpleOAuth2Handler":private]=> object(CurlUtils)#9 (0) { } 
["scopes":"OAuth2Handler":private]=> array(1) { [0]=> string(39) 
"https://www.googleapis.com/auth/adwords"; } 
["tokenUrlServer":"OAuth2Handler":private]=> string(42) 
"https://www.googleapis.com/oauth2/v4/token"; } 
["isIncludeUtilitiesInUserAgent":"AdsUser":private]=> string(4) "true" 
["libVersion":"AdsUser":private]=> string(6) "13.1.0" 
["libName":"AdsUser":private]=> string(10) "Common-PHP" }

Thank's for your help and sorry for my english

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4a1b5acf-dd88-4932-95af-3548bab65c31%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Authoriz... api . greenweb
    • Re:... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
      • ... api . greenweb
      • ... api . greenweb
        • ... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
          • ... api . greenweb
    • Aut... viteloge . ronan01
      • ... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
    • Aut... Minas Gratas
      • ... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
        • ... Minas Gratas
      • ... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
        • ... Minas Gratas

Reply via email to