I'm also seeing "UNEXPECTED_INTERNAL_API_ERROR" but with the sandbox.
This is code which I'm 99% certain has not changed since I was working
on it last week, and it worked absolutely fine then. Either something
has changed with the adwords API to make this fail, or there's some
quote restriction I'm exceeding. In either case, it's not a very
useful error message.

On Aug 13, 10:52 am, Vinczente <[email protected]> wrote:
> Hi,
> I have some problems with the API on the production mode.
> Basically I'm running the same code for all my google client email,
> most of the time, everything is working great but sometimes it
> fails.... Here my SOAP request :
>
> <?xml version="1.0" encoding="utf-8" ?>
>
> <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema";
>
>     xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";
>
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>
>   <env:Header>
>
>         <n1:RequestHeader xmlns:n1="https://adwords.google.com/api/
> adwords/cm/v200906"
>
>             env:mustUnderstand="0">
>
>           <n1:clientEmail>[email protected]</n1:clientEmail>
>
>           <n1:userAgent>GetDeletedCampaigns</n1:userAgent>
>
>           <n1:applicationToken>toktoktok</n1:applicationToken>
>
>           <n1:developerToken>Toktoktok</n1:developerToken>
>
>           <n1:authToken>Toktoktok</n1:authToken>
>
>         </n1:RequestHeader>
>
>   </env:Header>
>
>   <env:Body>
>
>     <n2:get xmlns:n2="https://adwords.google.com/api/adwords/cm/
> v200906">
>
>       <n2:selector>
>
>         <n2:campaignStatuses>DELETED</n2:campaignStatuses>
>
>       </n2:selector>
>
>     </n2:get>
>
>   </env:Body>
>
> </env:Envelope>
>
> And this is the response :
>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/
> envelope/"><soap:Body><soap:Fault><faultcode>soap:Server</
> faultcode><faultstring>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
> @ </faultstring><detail><ApiExceptionFault xmlns="https://
> adwords.google.com/api/adwords/cm/
> v200906"><message>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ </
> message><ApplicationException.Type>ApiException</
> ApplicationException.Type><errors xmlns:xsi="http://www.w3.org/2001/
> XMLSchema-instance" xsi:type="InternalApiError"><fieldPath></
> fieldPath><trigger></trigger><ApiError.Type>InternalApiError</
> ApiError.Type><reason>UNEXPECTED_INTERNAL_API_ERROR</reason></errors></
> ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>
>
> I also recieve the same error on
>
> <?xml version="1.0" encoding="utf-8" ?>
>
> <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema";
>
>     xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";
>
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>
>   <env:Header>
>
>         <n1:RequestHeader xmlns:n1="https://adwords.google.com/api/
> adwords/cm/v200906"
>
>             env:mustUnderstand="0">
>
>           <n1:clientEmail>[email protected]</n1:clientEmail>
>
>           <n1:userAgent>CheckAllCampaings</n1:userAgent>
>
>           <n1:applicationToken>Toktoktok</n1:applicationToken>
>
>           <n1:developerToken>Toktoktok</n1:developerToken>
>
>           <n1:authToken>Toktoktok</n1:authToken>
>
>         </n1:RequestHeader>
>
>   </env:Header>
>
>   <env:Body>
>
>     <n2:get xmlns:n2="https://adwords.google.com/api/adwords/cm/
> v200906">
>
>       <n2:selector>
>
>         <n2:campaignStatuses>ACTIVE</n2:campaignStatuses>
>
>         <n2:campaignStatuses>PAUSED</n2:campaignStatuses>
>
>         <n2:statsSelector>
>
>           <n2:dateRange>
>
>             <n2:min>20090812</n2:min>
>
>             <n2:max>20090812</n2:max>
>
>           </n2:dateRange>
>
>         </n2:statsSelector>
>
>       </n2:selector>
>
>     </n2:get>
>
>   </env:Body>
>
> </env:Envelope>
>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/
> envelope/"><soap:Header><ResponseHeader xmlns="https://
> adwords.google.com/api/adwords/cm/
> v200906"><requestId>e3521df15acfee26e9d6439f7cb6d813</
> requestId><operations>1</operations><responseTime>969</
> responseTime><units>1</units></ResponseHeader></
> soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</
> faultcode><faultstring>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
> @ </faultstring><detail><ApiExceptionFault xmlns="https://
> adwords.google.com/api/adwords/cm/
> v200906"><message>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ </
> message><ApplicationException.Type>ApiException</
> ApplicationException.Type><errors xmlns:xsi="http://www.w3.org/2001/
> XMLSchema-instance" xsi:type="InternalApiError"><fieldPath></
> fieldPath><trigger></trigger><ApiError.Type>InternalApiError</
> ApiError.Type><reason>UNEXPECTED_INTERNAL_API_ERROR</reason></errors></
> ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>
>
> So, theses errors are appening maybe on 10% of my requests... This
> seams totally random for me and when I try to re-run the failed calls,
> it doesnt throw exceptions.
>
> Is that a bug from your side ? I was thinking maybe I'm doing too much
> calls in a too small period ?

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to