Suddenly getting AuthorizationError.USER_PERMISSION_DENIED

27 views
Skip to first unread message

James Andrews

unread,
Jun 27, 2016, 11:03:23 AM6/27/16
to AdWords API Forum
We have a few accounts set up as Manager accounts that we use for testing in development.  We were going through testing as we are doing a major update to the framework our code use when suddenly we were getting AuthorizationError.USER_PERMISSION_DENIED errors return to us upon authorization.  We looked at the accounts and they seem to be fine.  I am at a loss as to how to debug this issue.

This happens when we try to call

        $customerService = $this->user->GetService("CustomerService");
        $customer = $customerService->get();

Shwetha Vastrad (AdWords API Team)

unread,
Jun 27, 2016, 1:08:24 PM6/27/16
to AdWords API Forum
Hi James, 

The USER_PERMISSION_DENIED error occurs when there is no link between the manager account authorized in the request and the client account specified in the request headers. 

Could you provide the CustomerId for which you are getting the USER_PERMISSION_DENIED error along with the email account used to generate authorization credentials used in authorizing the request? Please use Reply privately to author when responding. 

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