I have a process which is fetching the Ads for several users, the following API call is done several times a day, just with different Google Tokens.
<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201802"> <SOAP-ENV:Header> <ns1:RequestHeader> <ns1:clientCustomerId>0000000000</ns1:clientCustomerId> <ns1:developerToken>REDACTED</ns1:developerToken> <ns1:userAgent>unknown (AwApi-PHP, googleads-php-lib/37.1.0, PHP/7.0.32-0ubuntu0.16.04.1)</ns1:userAgent> <ns1:validateOnly>false</ns1:validateOnly> <ns1:partialFailure>false</ns1:partialFailure> </ns1:RequestHeader> </SOAP-ENV:Header> <SOAP-ENV:Body> <ns1:get> <ns1:serviceSelector> <ns1:fields>Id</ns1:fields> <ns1:fields>Status</ns1:fields> <ns1:fields>HeadlinePart1</ns1:fields> <ns1:fields>HeadlinePart2</ns1:fields> <ns1:fields>Description</ns1:fields> <ns1:fields>Url</ns1:fields> <ns1:fields>DisplayUrl</ns1:fields> <ns1:fields>CreativeFinalUrls</ns1:fields> <ns1:fields>UrlData</ns1:fields> <ns1:fields>Path1</ns1:fields> <ns1:fields>Path2</ns1:fields> <ns1:fields>Labels</ns1:fields> <ns1:fields>BaseAdGroupId</ns1:fields> <ns1:fields>BaseCampaignId</ns1:fields> <ns1:predicates> <ns1:field>Status</ns1:field> <ns1:operator>IN</ns1:operator> <ns1:values>ENABLED</ns1:values> </ns1:predicates> <ns1:predicates> <ns1:field>AdGroupId</ns1:field> <ns1:operator>IN</ns1:operator> <ns1:values>00000000000</ns1:values> <!-- There are 9900 values here --> </ns1:predicates> <ns1:ordering> <ns1:field>Id</ns1:field> <ns1:sortOrder>ASCENDING</ns1:sortOrder> </ns1:ordering> <ns1:paging> <ns1:startIndex>19500</ns1:startIndex> <ns1:numberResults>500</ns1:numberResults> </ns1:paging> </ns1:serviceSelector> </ns1:get> </SOAP-ENV:Body> </SOAP-ENV:Envelope> Sometimes, and I don't know why, I get the InternalApiError.UNEXPECTED_INTERNAL_API_ERROR <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.<init>(InternalApiErro</faultstring> <detail> <ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201802"> <message>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.<init>(InternalApiErro</message> <ApplicationException.Type>ApiException</ApplicationException.Type> <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="InternalApiError"> <fieldPath> </fieldPath> <trigger> </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> Is there something I can do to avoid it? Which one is the best way to deal with it, just retrying? Is there a way to get a more specific error message? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads 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 and Google Ads 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/758effd0-30dc-4ddb-8f7a-ce00c9943913%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
