i am getting UNEXPECTED_INTERNAL_API_ERROR, while running ADD Service link service

12 views
Skip to first unread message

naveen...@nikulsan.com

unread,
Jun 16, 2017, 6:20:46 AM6/16/17
to AdWords API Forum
Hi,

For the following request i am getting unexpected internal API error .can i know how to resolve it .

<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/v201705" soapenv:mustUnderstand="0">
            <ns2:clientCustomerId xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201705">581-324-7148</ns2:clientCustomerId>
            <ns3:developerToken xmlns:ns3="https://adwords.google.com/api/adwords/cm/v201705">REDACTED</ns3:developerToken>
            <ns4:userAgent xmlns:ns4="https://adwords.google.com/api/adwords/cm/v201705">unknown (AwApi-Java, AdWords-Axis/3.4.0, Common-Java/3.4.0, Axis/1.4, Java/1.8.0_111, jars)</ns4:userAgent>
            <ns5:validateOnly xmlns:ns5="https://adwords.google.com/api/adwords/cm/v201705">false</ns5:validateOnly>
            <ns6:partialFailure xmlns:ns6="https://adwords.google.com/api/adwords/cm/v201705">false</ns6:partialFailure>
        </ns1:RequestHeader>
    </soapenv:Header>
    <soapenv:Body>
        <mutateServiceLinks xmlns="https://adwords.google.com/api/adwords/mcm/v201705">
            <operations>
                <ns7:operator xmlns:ns7="https://adwords.google.com/api/adwords/cm/v201705">ADD</ns7:operator>
                <operand>
                    <serviceType>MERCHANT_CENTER</serviceType>
                    <linkStatus>ACTIVE</linkStatus>
                    <name> TESTING </name>
                </operand>
            </operations>
        </mutateServiceLinks>
    </soapenv:Body>
</soapenv:Envelope>

Shwetha Vastrad (AdWords API Team)

unread,
Jun 16, 2017, 11:20:33 AM6/16/17
to AdWords API Forum
Hi Naveen,

I do not see a pending request from a Merchant Center account to your AdWords account. You need to use the Merchant Center user interface to send this invitation, or use the Content API for Shopping to update the adwordsLinks of your Account. Once you have sent the request, you can accept the invitation in your AdWords account using CustomerService.mutateServiceLinks(). When you change the linkStatus from PENDING to ACTIVE, you need to set the serviceType and the serviceLinkId fields in the operand.

Regards,
Shwetha, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages