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.