Hello Luigi,

Could you confirm how often you are seeing these errors and from when you 
are facing this issue? Could you please share the SOAP logs without 
redacting any information so that we can take a closed look? you could use 
r*eply 
privately to the author* option while share the details requested.

Regards,
Sai Teja, AdWords API Team.

On Friday, September 28, 2018 at 6:27:17 AM UTC-4, Luigi Taccetta wrote:
>
> 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.&lt;init&gt;(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.&lt;init&gt;(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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
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/6ca80e46-fba4-4220-9504-71d38888b931%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • UNEXPECTED_INTERNAL... Luigi Taccetta
    • Re: UNEXPECTED... 'Teja Makani' via AdWords API and Google Ads API Forum

Reply via email to