Our API is trying to create a new account. This has worked before with
another project/master account. The manager account id was given, yet it
gave a NOT_AUTHORIZED error.
297 <190>1 2016-08-16T06:38:50.590915+00:00 app worker.1 - - Exception
> SoapFault exception: [soap:Server]
> [ManagedCustomerServiceError.NOT_AUTHORIZED @ operations[0]] in
> /app/vendor/googleads/googleads-php-lib/src/Google/Api/Ads/Common/Lib/
> AdsSoapClient.php:216
> 109 <190>1 2016-08-16T06:38:50.590929+00:00 app worker.1 - - Stack trace:
> 253 <190>1 2016-08-16T06:38:50.590930+00:00 app worker.1 - - #0
> /app/vendor/googleads/googleads-php-lib/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php(216):
>
> SoapClient->__soapCall('mutate', Array, NULL, Array, Array)
> 240 <190>1 2016-08-16T06:38:50.590932+00:00 app worker.1 - - #1
> /app/vendor/googleads/googleads-php-lib/src/Google/Api/Ads/AdWords/Lib/AdWordsSoapClient.php(86):
>
> AdsSoapClient->__soapCall('mutate', Array)
> 255 <190>1 2016-08-16T06:38:50.590932+00:00 app worker.1 - - #2
> /app/vendor/googleads/googleads-php-lib/src/Google/Api/Ads/AdWords/v201605/ManagedCustomerService.php(4608):
>
> AdWordsSoapClient->__soapCall('mutate', Array)
> 174 <190>1 2016-08-16T06:38:50.590933+00:00 app worker.1 - - #3
> /app/models/GoogleAdWords.php(1460): ManagedCustomerService->mutate(Array)
>
>
I can list accounts fine.
$ YII_ENV=prod yii kw/list-accounts
> 4342976991, BestSales, manage?: 1, test?:
> 5336143149, BestSales 1, manage?: , test?:
This is what I see in the AdWords web interface.
<https://lh3.googleusercontent.com/-KlZjKv0akgU/V7OZwJHoojI/AAAAAAAAB6Y/N3QmGGa_yOIzS1eKtIErXbeE1kfNQxoMACLcB/s1600/Clipboard-39.png>
I don't even see a button to create an account in the AdWords web interface
either. When I try to create an account, I'm using the account number with
dashes, but I don't think that should matter because it works for fetching
account numbers. Do you want to see the code which tries to create the
account? The version of API I'm using is v201605.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/100536da-6f55-4375-bf51-1dff4a532dc9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.