customers.customerManagerLinks.mutate

92 views
Skip to first unread message

Michael Zima

unread,
Nov 28, 2023, 11:04:29 AM11/28/23
to Google Ads API and AdWords API Forum
Hi Support,

I am using the REST API to connect a client to our MCC. So far, I am not successful and I am missing something obvious in the dense support documents.

1. The Manager Link ID is vague. When I run a search this endpoint.

customers.googleAds.searchStream

{
  "query": "SELECT customer_manager_link.resource_name FROM customer_manager_link"
}

It returns a couple of objects. 

[{
  "results": [
    {
      "customerManagerLink": {
        "resourceName": "customers/1234567890/customerManagerLinks/4445556666~109187437"
      }
    },
    {
      "customerManagerLink": {
        "resourceName": "customers/1234567890/customerManagerLinks/444555666~402296110"
      }
    },
    {
      "customerManagerLink": {
        "resourceName": "customers/1234567890/customerManagerLinks/9881721513~210790064"
      }
    }
  ],
  "fieldMask": "customerManagerLink.resourceName",
  "requestId": "j5kTXyYMbCx8vHdRcUWjsA"
}
]

4445556666 = Manager MCC and I have i listed twice.

2. When using this endpoint to connect my client Google Ads account to our MCC.

customers.customerManagerLinks.mutate

I am adding: 
customerid = 1234567890
developer-token = token with basic access
login-customer-id = 4445556666

The correct option I am unsure of it. I have tested all of the customer manager links and they are not working.

The goal here is a 3rd party with a Google Ads account wants to become a customer and they login via SSO and select their Google Ads account (client ad account). They authorize and it sends an POST API request to send a PENDING access request to my MCC of 4445556666.

Does anyone have an example. I am missing something so obvious and I cannot find a good reference.

Google Ads API Forum Advisor

unread,
Nov 28, 2023, 6:13:34 PM11/28/23
to mi...@zimamedia.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

By reviewing your concern, I understand that you are using the REST API to connect a client to your MCC. Could you please provide us with the complete API logs (request and response with request-id and request header) while using the endpoint customers.customerManagerLinks.mutate, so that we can investigate this issue further and assist you better.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02qVN8u:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages