Hi Minh, The ManagedCustomerServiceError.CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER error you encountered means that the account you are trying to unlink doesn't have a user with administrative access or a manager account with administrative ownership. Every account must have either one of those and you cannot unlink them if they don't have.
With regards to linking the accounts, you should use the ADD operator + PENDING link status. Then, you'll have to use the SET operator + ACTIVE link status to accept the invitation. Also, make sure to do this request on the manager account level. Feel free to write back for any clarifications. Regards, Luis AdWords API Team -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads 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 and Google Ads 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/96ef8368-f842-4115-8c24-3ef5e711e91a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
