I am trying to create accounts for my customers using the API, and would
like each customer to have their own manager account underneath my root MCC.
When I use ManagedCustomerService to create the account, .canManageAccounts
is always false, and the documentation says it is ignored when sent to the
API. Of course the documentation doesn't mention any way to set this value
to true or if its possible or not.
If I try to use a MoveOperation to move a child account under a customer
manager account, i get error ManagedCustomerServiceError.NOT_MANAGER
Private Sub LinkAccounts(ByRef ParentAcctId As Int64, ByRef ChildAcctId
As Int64, ByRef CustomerService As ManagedCustomerService)
Dim moveOp As MoveOperation = New MoveOperation()
moveOp.oldManagerCustomerId = RootMCCId 'This is my root MCC
acct id
moveOp.operator = [Operator].SET
Dim link As ManagedCustomerLink = New ManagedCustomerLink()
link.clientCustomerId = ChildAcctId
link.linkStatus = LinkStatus.ACTIVE
link.managerCustomerId = ParentAcctId
moveOp.operand = link
Dim operations() As MoveOperation = {moveOp}
CustomerService.mutateManager(operations)
End Sub
How is this supposed to work? There is support for hierarchy and getting
links between accounts, but i can't add them?
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8d4e09c0-9df7-40be-855a-398b7178eef8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.