Fatal error: Uncaught SoapFault exception: [soap:Server] [AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:''] in /var/www/html/dev/application/libraries/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php:201
Stack trace:
#0 /var/www/html/dev/application/libraries/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php(201): SoapClient->__soapCall('get', Array, NULL, Array, Array)
#1 /var/www/html/dev/application/libraries/src/Google/Api/Ads/AdWords/v201306/CampaignService.php(6454): AdsSoapClient->__soapCall('get', Array)
#2 /var/www/html/dev/application/controllers/google.php(216): CampaignService->get(Object(Selector))
#3 [internal function]: Google->accessAuth()
#4 /var/www/html/dev/system/core/CodeIgniter.php(359): call_user_func_array(Array, Array)
#5 /var/www/html/dev/index.php(206): require_once('/var/www/html/d...')
#6 {main}
thrown in /var/www/html/dev/application/libraries/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php on line 201[message:protected] => [AuthenticationError.OAUTH_TOKEN_INVALID @ ; trigger:'']
[message:protected] => [AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'']
The USER_PERMISSION_DENIED is served when you're attempting to access an unlinked account.
Regards, - Paul, AdWords API Team.
| Takeshi Hagikura (AdWords API Team) | ![]() Nov 12 |
The client customer ID must be specified for report downloads.'
When I run the campaign service, I can do that and view all the campaigns but I cannot download the reports because I dont have the clientCustomerId.
How is this suppose to work when using OAuth2?
I have a refresh token. Everything is working ok, when just viewing the campaigns but not for downloading reports. The Id is required.
Any idea?
Thanks
Hi, Paul.