Hi Ronak, 

The procedure to unlink an account created via ManagedCustomerService is 
the same. You need to use ManagedCustomerService.mutateLink() 
<https://developers.google.com/adwords/api/docs/reference/v201702/ManagedCustomerService#mutatelink>
 
method and set the LinkStatus 
<https://developers.google.com/adwords/api/docs/reference/v201702/ManagedCustomerService.ManagedCustomerLink#linkstatus>
 
to INACTIVE to unlink an account. Every account must have either a user 
with administrative access or a manager account with administrative 
ownership. If you try to unlink an account which doesn't have either of 
these, the operation will not be successful and you'll encounter 
ManagedCustomerServiceError.CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER error.

Regards,
Shwetha, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a833a672-f3dc-4ee4-8981-b7a6b5070b7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to