Hi Pete,
Thanks for reaching out. RequiredError.REQUIRED occurs when the request is missing required information. This could be the result of the chain reaction of the OperatorError.OPERATOR_NOT_SUPPORTED error. As you are using a third party library when you issue the API call, I suggest you contact the owner of the library to let them know the issue you are facing. This could be that their library is not supporting this functionality or it’s not working properly.
Thanks and regards,
Xiaoming, Google Ads API Team
Hi Pete,
You could refer to this documentation on how to use the cURL to send the SOAP request to ManagedCustomerService. As you are using an unofficial client library, we couldn’t comment further. Please contact the owner of the library to report any issue related to the specific service that you have encountered issue.
Thanks and regards,
Xiaoming, Google Ads API Team
Hi Pete,
Please use the following xml file and give it a try.
<?xml version="1.0"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
<ns1:RequestHeader xmlns:ns1="https://adwords.google.com/api/adwords/mcm/v201809" soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0">
<ns1:clientCustomerId>XXX</ns1:clientCustomerId>
<ns1:developerToken>XXX</ns1:developerToken>
<ns1:userAgent>XXX</ns1:userAgent>
<ns1:validateOnly>false</ns1:validateOnly>
<ns1:partialFailure>false</ns1:partialFailure>
</ns1:RequestHeader>
</soapenv:Header>
<soapenv:Body>
<mutateLink xmlns="https://adwords.google.com/api/adwords/mcm/v201809">
<operations>
<operator>ADD</operator>
<operand>
<managerCustomerId>XXX</managerCustomerId>
<clientCustomerId>XXX</clientCustomerId>
<linkStatus>PENDING</linkStatus>
<pendingDescriptiveName>My Invitation</pendingDescriptiveName>
<isHidden>false</isHidden>
</operand>
</operations>
</mutateLink>
</soapenv:Body>
</soapenv:Envelope>