customerClientLinks:mutate Consultation of Problems

62 views
Skip to first unread message

bing li

unread,
Nov 16, 2022, 3:21:32 AM11/16/22
to Google Ads API and AdWords API Forum
  hi The customer account has a binding problem with the manager account.But I can check through API that the customer account is not bound with the manager account.May I ask why?This is my error message.
https://googleads.googleapis.com/v11/customers/5051305433/customerClientLinks:mutate
account_id:  651-724-5248
Manager Account ID  505-130-5433
  {
    "error": {
        "code": 400,
        "message": "Request contains an invalid argument.",
        "status": "INVALID_ARGUMENT",
        "details": [
            {
                "@type": "type.googleapis.com/google.ads.googleads.v11.errors.GoogleAdsFailure",
                "errors": [
                    {
                        "errorCode": {
                            "managerLinkError": "ALREADY_MANAGED_IN_HIERARCHY"
                        },
                        "message": "Client is already managed in hierarchy.",
                        "location": {
                            "fieldPathElements": [
                                {
                                    "fieldName": "operation"
                                }
                            ]
                        }
                    }
                ],
                "requestId": "cQUPDPOFbHuslIshiAyosA"
            }
        ]
    }
}  

Google Ads API Forum Advisor

unread,
Nov 16, 2022, 9:39:27 AM11/16/22
to bin...@meetsocial.com, adwor...@googlegroups.com
Hi Bing,

Thank you for reaching out to the Google Ads API team. I hope you are doing well today.

To provide an insights to this concern, when you issue the call to accept the invitation from the manager account, you are supposed to authenticate with the client customer account and this way you won’t encounter the authorization error. As you were authenticated with the manager account, it automatically detected the client customer account that you extended the invitation to, so the "ALREADY_MANAGED_IN_HIERARCHY" error was thrown. When you are inactivating a link make sure the client account is having at-least one user with admin access level if not you will face CLIENT_HAS_NO_ADMIN_USER error. You could refer to this article to give access to a user. With this, you may consider the above information.

In the event that, you are still persisting the error, you may tell us and provide the updated complete request and response logs, with the request-id so our team can further check.

Best regards,
Google Logo
Jinky
Google Ads API Team
 


ref:_00D1U1174p._5004Q2gPLXl:ref

Google Ads API Forum Advisor

unread,
Nov 16, 2022, 9:44:16 AM11/16/22
to bin...@meetsocial.com, adwor...@googlegroups.com
Hi Bing,

In addition, you can provide it via Reply privately to the author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.
Reply all
Reply to author
Forward
0 new messages