ManagedCustomerService.get - UNEXPECTED_INTERNAL_API_ERROR

39 views
Skip to first unread message

chris.s...@yodle.com

unread,
Jan 11, 2017, 11:27:44 AM1/11/17
to AdWords API Forum
We are receiving InternalApiError.UNEXPECTED_INTERNAL_API_ERROR when making calls to ManagedCustomerService.get.  Is google adwords experiencing issues with this service at the moment?

Here is the request and response from our soap logging (clientCustomerId and developerTokens have been censored):

INFO  2017-01-11 07:00:11 [pool-10-thread-6] SOAPErrorLogger -
Request:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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/v201609" soapenv:mustUnderstand="0">
      <ns2:clientCustomerId xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201609">XXXXXXXXX</ns2:clientCustomerId>
      <ns3:developerToken xmlns:ns3="https://adwords.google.com/api/adwords/cm/v201609">XXXXXXXXXXXX</ns3:developerToken>
      <ns4:userAgent xmlns:ns4="https://adwords.google.com/api/adwords/cm/v201609">Natpal-AdStation/1.0 (AwApi-Java, AdWords-Axis/2.21.0, Common-Java/2.21.0, Axis/1.4, Java/1.8.0_25, jars)</ns4:userAgent>
      <ns5:validateOnly xmlns:ns5="https://adwords.google.com/api/adwords/cm/v201609">false</ns5:validateOnly>
      <ns6:partialFailure xmlns:ns6="https://adwords.google.com/api/adwords/cm/v201609">false</ns6:partialFailure>
    </ns1:RequestHeader>
  </soapenv:Header>
  <soapenv:Body>
    <get xmlns="https://adwords.google.com/api/adwords/mcm/v201609">
      <serviceSelector>
        <ns7:fields xmlns:ns7="https://adwords.google.com/api/adwords/cm/v201609">CustomerId</ns7:fields>
        <ns8:predicates xmlns:ns8="https://adwords.google.com/api/adwords/cm/v201609">
          <ns8:field>CanManageClients</ns8:field>
          <ns8:operator>EQUALS</ns8:operator>
          <ns8:values>false</ns8:values>
        </ns8:predicates>
        <ns9:paging xmlns:ns9="https://adwords.google.com/api/adwords/cm/v201609">
          <ns9:startIndex>0</ns9:startIndex>
          <ns9:numberResults>1</ns9:numberResults>
        </ns9:paging>
      </serviceSelector>
    </get>
  </soapenv:Body>
</soapenv:Envelope>

Response:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <ns2:ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201609" xmlns:ns2="https://adwords.google.com/api/adwords/mcm/v201609">
      <requestId>000545d0576cb7500ac1188cec07d3ad</requestId>
      <serviceName>ManagedCustomerService</serviceName>
      <methodName>get</methodName>
      <operations>1</operations>
      <responseTime>3701</responseTime>
    </ns2:ResponseHeader>
  </soap:Header>
  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Server</faultcode>
      <faultstring>[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.&lt;init&gt;(InternalApiErro]</faultstring>
      <detail>
        <ns2:ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201609" xmlns:ns2="https://adwords.google.com/api/adwords/mcm/v201609">
          <message>[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.&lt;init&gt;(InternalApiErro]</message>
          <ApplicationException.Type>ApiException</ApplicationException.Type>
          <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="InternalApiError">
            <fieldPath/>
            <trigger/>
            <errorString>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR</errorString>
            <ApiError.Type>InternalApiError</ApiError.Type>
            <reason>UNEXPECTED_INTERNAL_API_ERROR</reason>
          </errors>
        </ns2:ApiExceptionFault>
      </detail>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>

Sreelakshmi Sasidharan (AdWords API Team)

unread,
Jan 11, 2017, 3:10:30 PM1/11/17
to AdWords API Forum
Hi, 

The ManagedCustomerService.get() seems to work fine for me. Could you please retry once again and confirm if this issue persists? If it does, please 'Reply privately to author' and include the customer Id in which you get this error. 

Thanks,
Sreelakshmi, AdWords API Team

Reply all
Reply to author
Forward
0 new messages