Hi Assaf,

Yes, you can create an account under an MCC using API, 
see 
https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201406/accountmanagement/CreateAccount.java
 
for a code example.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Saturday, August 23, 2014 1:24:22 AM UTC-4, assaf wrote:
>
> Hi Anash,
>
> Is there any way to achieve what I am looking for:
>
> Via API to create an account and be able to execute API calls on it using 
> my MCC developer token?
> (I need the new account to appear under my MCC managed accounts).
>
> Thanks
>
> On Friday, August 22, 2014 7:33:46 PM UTC+3, Anash P. Oommen (AdWords API 
> Team) wrote:
>>
>> Hi Assaf,
>>
>> 1. You can only create normal advertiser accounts using AdWords API, you 
>> cannot create an MCC account using ManagedCustomerService.
>> 2. The login credentials you are using may not be authorized to create an 
>> account in your MCC (e.g. it may not have administrative rights).
>>
>> Cheers,
>> Anash P. Oommen,
>> AdWords API Advisor.
>>
>> On Friday, August 22, 2014 11:25:24 AM UTC-4, assaf wrote:
>>>
>>> Hi,
>>>
>>> I want to create new Accounts under my MCC.
>>>
>>> I just tried to execute the sample code CreateAccount and get  an error 
>>> - ManagedCustomerServiceError.NOT_AUTHORIZED
>>>
>>> What can be the issue?
>>>
>>> Thanks
>>>
>>>  faultString: [ManagedCustomerServiceError.NOT_AUTHORIZED @ 
>>> operations[0]]
>>>  faultActor: 
>>>  faultNode: 
>>>  faultDetail: 
>>> {https://adwords.google.com/api/adwords/mcm/v201406}ApiExceptionFault:<ns2:message>[ManagedCustomerServiceError.NOT_AUTHORIZED
>>>  
>>> @ 
>>> operations[0]]</ns2:message><ns2:ApplicationException.Type>ApiException</ns2:ApplicationException.Type><ns2:errors
>>>  
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
>>> xsi:type="ManagedCustomerServiceError"><ns2:fieldPath>operations[0]</ns2:fieldPath><ns2:trigger/><ns2:errorString>ManagedCustomerServiceError.NOT_AUTHORIZED</ns2:errorString><ns2:ApiError.Type>ManagedCustomerServiceError</ns2:ApiError.Type><reason>NOT_AUTHORIZED</reason></ns2:errors>
>>>
>>> [ManagedCustomerServiceError.NOT_AUTHORIZED @ operations[0]]
>>>
>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5b6dd9c7-bd2d-4aea-a83d-69ffdf7c5f62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to