Hello,

I have a mangager account 'A' under one user, a manager accout 'B', and 'B' 
s client account 'b' under another user. 
My application needs to check whether an account is linked to 'A', if not, 
send a link request. 

I already linked 'B' to 'A', and now I want to deal with client account 
'b'. To check whether 'b' is linked, I checked 'b' 's 
customer_manager_link, the results is empty, I also checked 'A' 's 
customer_client_link, the results does not include 'b'.  When I use:

customer_client_link_service.mutate_customer_client_link(customer_id=manager_customer_id,
 
operation=client_link_operation)

to create customer_client_link between 'b' and 'A', I got the following 
error:
error_code {
    manager_link_error: ALREADY_MANAGED_IN_HIERARCHY
  }
  message: "Client is already managed in hierarchy."

With this situation, how can I know 'b' is already linked and then I will 
not send link request?

Thanks,
Shiying 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/258acfcf-baf0-41e1-88f6-b89d9f99eb90n%40googlegroups.com.

Reply via email to