I've been consistently getting an UNEXPECTED_INTERNAL_API_ERROR when using 
the googleads-java-lib to make a request to the AdWords CustomerService. 
Any idea on what might be missing?


Service: CustomerService
Method: getCustomers
URL: https://adwords.google.com/api/adwords/mcm/v201708/CustomerService
Request ID: 00055abd3118b9800aa37bcc8202950e

SOAP 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/v201708"; soapenv:mustUnderstand=
"0">
            <ns2:developerToken xmlns:ns2=
"https://adwords.google.com/api/adwords/cm/v201708";>REDACTED
</ns2:developerToken>
            <ns3:userAgent xmlns:ns3=
"https://adwords.google.com/api/adwords/cm/v201708";>AdWords (AwApi-Java, 
AdWords-Axis/3.8.0, Common-Java/3.8.0, Axis/1.4, Java/1.8.0_91, maven)
</ns3:userAgent>
            <ns4:validateOnly xmlns:ns4=
"https://adwords.google.com/api/adwords/cm/v201708";>false</ns4:validateOnly>
            <ns5:partialFailure xmlns:ns5=
"https://adwords.google.com/api/adwords/cm/v201708";>false
</ns5:partialFailure>
        </ns1:RequestHeader>
    </soapenv:Header>
    <soapenv:Body>
        <getCustomers xmlns=
"https://adwords.google.com/api/adwords/mcm/v201708"/>
    </soapenv:Body>
</soapenv:Envelope>

SOAP 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/v201708"; xmlns:ns2=
"https://adwords.google.com/api/adwords/mcm/v201708";>
            <requestId>00055abc34fcee000aa35acdcc0a5bfe</requestId>
            <serviceName>CustomerService</serviceName>
            <methodName>getCustomers</methodName>
            <operations>0</operations>
            <responseTime>157</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/v201708"; xmlns:ns2=
"https://adwords.google.com/api/adwords/mcm/v201708";>
                    <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>

More request info:
com.google.api.ads.adwords.lib.client.AdWordsServiceClient.requestInfoLogger
: Request made: Service: CustomerService Method: getCustomers 
clientCustomerId: null URL: 
https://adwords.google.com/api/adwords/mcm/v201708/CustomerService 
Request ID: 00055abd3118b9800aa37bcc8202950e ResponseTime(ms): 167 
OperationsCount: 0 IsFault: true FaultMessage: 
ApiException{applicationExceptionType=ApiException, 
errors=[InternalApiError{apiErrorType=InternalApiError, 
errorString=InternalApiError.UNEXPECTED_INTERNAL_API_ERROR, fieldPath=, 
reason=UNEXPECTED_INTERNAL_API_ERROR, trigger=}]}


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/31c256a3-7f4f-47b4-83bd-35ab4429e2b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Cust... gyntema
    • ... 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
      • ... gyntema
        • ... 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API Forum
          • ... gyntema
            • ... 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API Forum

Reply via email to