UNEXPECTED_INTERNAL_API_ERROR while creating ADgroup , Updating Adgroup ,Searching Adgroup

25 views
Skip to first unread message

chandra sekhar tammana

unread,
Aug 26, 2015, 10:37:48 AM8/26/15
to AdWords API Forum
Hi ,
  
   I am getting this InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
   This is one of request While updating Ad-group , I am getting existing Ad :

     <soapenv:Body>
        <get xmlns="https://adwords.google.com/api/adwords/cm/v201506">
            <serviceSelector>
                <fields>AdGroupId</fields>
                <fields>Id</fields>
                <fields>ParentCriterionId</fields>
                <fields>PartitionType</fields>
                <fields>CriteriaType</fields>
                <fields>CaseValue</fields>
                <fields>CpcBid</fields>
                <fields>CpcBidSource</fields>
                <fields>Status</fields>
                <predicates>
                    <field>AdGroupId</field>
                    <operator>EQUALS</operator>
                    <values>23279639409</values>
                </predicates>
                <predicates>
                    <field>CriteriaType</field>
                    <operator>EQUALS</operator>
                    <values>PRODUCT_PARTITION</values>
                </predicates>
                <predicates>
                    <field>Status</field>
                    <operator>IN</operator>
                    <values>ENABLED</values>
                    <values>PAUSED</values>
                </predicates>
                <paging>
                    <startIndex>516</startIndex>
                    <numberResults>100</numberResults>
                </paging>
            </serviceSelector>
        </get>
    </soapenv:Body>
</soapenv:Envelope>

 Response :

26 Aug 2015 12:44:42,737 WARN : com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger - SOAP Response:
<?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <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>
                <ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201506">
                    <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>
                </ApiExceptionFault>
            </detail>
        </soap:Fault>
    </soap:Body>
</soap:Envelope>

   This is comes in a while not so often ........

Umesh Dengale

unread,
Aug 26, 2015, 4:58:02 PM8/26/15
to AdWords API Forum
Hello,

Could you please retry above get request? If the above issue occurs again then provide the request id along with the SOAP request and response logs. Just click Reply privately to author in the forum when responding. Don't forget to remove the developer token in the output.

Thanks,
Umesh, AdWords API Team.

Josh Radcliff (AdWords API Team)

unread,
Aug 27, 2015, 5:18:24 PM8/27/15
to AdWords API Forum
Hi,

For that error and a few others, we recommend implementing retry logic in your application. Please see our Best Practices Guide for more details.

If you find that there are requests that still fail even after multiple retries, please let us know.

Thanks,
Josh, AdWords API Team
Reply all
Reply to author
Forward
0 new messages