Hi, I'm trying to extend an invitation to link an account with our MCC account using the mutateLink operation, and I'm trying to do this using the google-ads-python-lib library.
When I try to send the invitation, I get an error ManagedCustomerServiceError.NOT_AUTHORIZED.
We have admin access to MCC.
The request I'm sending looks like this (I will delete the developer token and the credentials of the accounts envolved):
<soap-env:Header>
</ns1:developerToken>
googleads/15.0.2, Python/3.6.3, zeep)
</ns2:userAgent>
</ns0:RequestHeader>
</soap-env:Header>
<soap-env:Body>
<ns0:operations>
<ns0:operand>
<ns0:managerCustomerId>**********</ns0:managerCustomerId>
<ns0:clientCustomerId>**********</ns0:clientCustomerId>
<ns0:linkStatus>PENDING</ns0:linkStatus>
</ns0:operand>
</ns0:operations>
</ns0:mutateLink>
</soap-env:Body>
</soap-env:Envelope>
And this is the response I'm receiving:
<soap:Header>
<ns2:requestId>00058414095e34100aa33dc4c00f6f46</ns2:requestId>
<ns2:serviceName>ManagedCustomerService</ns2:serviceName>
<ns2:methodName>mutateLink</ns2:methodName>
<ns2:operations>1</ns2:operations>
<ns2:responseTime>243</ns2:responseTime>
</ResponseHeader>
</soap:Header>
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>[ManagedCustomerServiceError.NOT_AUTHORIZED @ operations[0]]</faultstring>
<detail>
<ns2:message>[ManagedCustomerServiceError.NOT_AUTHORIZED @ operations[0]]</ns2:message>
<ns2:ApplicationException.Type>ApiException</ns2:ApplicationException.Type>
xsi:type="ManagedCustomerServiceError">
<ns2:fieldPath>operations[0]</ns2:fieldPath>
<ns2:fieldPathElements>
<ns2:field>operations</ns2:field>
<ns2:index>0</ns2:index>
</ns2:fieldPathElements>
<ns2:trigger/>
<ns2:errorString>ManagedCustomerServiceError.NOT_AUTHORIZED</ns2:errorString>
<ns2:ApiError.Type>ManagedCustomerServiceError</ns2:ApiError.Type>
<reason>NOT_AUTHORIZED</reason>
</ns2:errors>
</ApiExceptionFault>
</detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>
I'm not sure of what's happening. Any help will be appreciated.
Thank you!