AuthorizationError.USER_PERMISSION_DENIED on live account

30 views
Skip to first unread message

Sjoerd Maessen

unread,
Oct 25, 2016, 10:24:58 AM10/25/16
to AdWords API Forum
I received an email this morning with the message my AdWords API token was approved for Basic Access. If I however try to access the ManagedCustomerService I get a response from the API that shows:

AuthorizationError.USER_PERMISSION_DENIED on live account

The same logic is working on the test account. My request_info.log file lists:

[Oct 25 2016 15:38:03.000000 - INFO] effectiveUser=xxx-xxx-xxxx service=ManagedCustomerService method=get operators={} responseTime=207 requestId=00053fb0e54c3cb10ac2f0a32d0d8612 operations=1 units= server=adwords.google.com isFault=false faultMessage=null
[Oct 25 2016 15:38:43.000000 - ERROR] effectiveUser=yyy-yyy-yyyy service=ManagedCustomerService method=get operators={} responseTime=276 requestId=00053fb0e77f49510ac25102fb091f36 operations=1 units= server=adwords.google.com isFault=true faultMessage=[AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'<null>']

the soap_xml.log file shows the 2 requests and response with the test and live account. In both cases I use the developertoken listed in the associated AdWords API center.

Shwetha Vastrad (AdWords API Team)

unread,
Oct 25, 2016, 11:05:08 AM10/25/16
to AdWords API Forum
Hi Sjoerd,

The USER_PERMISSION_DENIED error occurs when there is no link between the manager account authenticated in the request and the client account specified in the headers. You should use the OAuth2 credentials associated with your production AdWords account while making requests against it. If you are using the right OAuth2 credentials, please provide the SOAP request and response logs along with the email address used to generate the OAuth2 credentials so I can further investigate. Please use Reply privately to author when responding. 

Thanks,
Shwetha, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages