We've been seeing a lot of UNEXPECTED_INTERNAL_API_ERROR when we call the 
AdWords API for one of our new AdWords clients.  This client has over a 
million ad groups per account, but we're not sure if that is related.

We've seen this error with both get and mutate operations, on multiple 
services.  We mainly use AdGroupService, AdGroupAdService, 
ReportDefinitionService, and CampaignService.  And we're currently using 
v201306 of the API. 

We do implement retries as suggested by the AdWords best practices.  It 
almost always solves the problem with our other clients, but it doesn't 
help with this particular one.

This error happens intermittently, but when they do happen they usually 
last between a few to few tens of minutes, and they occur across all of our 
servers.  During that time we can debug and reproduce the problem, and 
we've captured and attached the soap request and response of an instance of 
this error.

We would like to find out why it happens so much more often for this 
particular client, and is there anything we or the AdWords team can do to 
minimize or prevent these errors.

Example request and response text is attached. 

Any help and guidance would be greatly appreciated.  Thanks.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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].
For more options, visit https://groups.google.com/groups/opt_out.
POST https://adwords.google.com/api/adwords/cm/v201306/AdGroupAdService HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 
4.0.30319.18052)
VsDebuggerCausalityData: 
uIDPo2EVVsPMkbdGoF58VXY5R9EAAAAAMzxCv3FTBkWdJ3Jssa1XrD3awo8tpg1FijDvdP+i4N4ACQAA
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Host: adwords.google.com
Content-Length: 1548
Accept-Encoding: gzip
Connection: Keep-Alive

<?xml version="1.0" encoding="utf-8"?><soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";><soap:Header><RequestHeader 
xmlns="https://adwords.google.com/api/adwords/cm/v201306";><authToken 
xmlns="https://adwords.google.com/api/adwords/cm/v201306";>AUTH_TOKEN</authToken><developerToken
 
xmlns="https://adwords.google.com/api/adwords/cm/v201306";>DEV_TOKEN</developerToken><userAgent
 xmlns="https://adwords.google.com/api/adwords/cm/v201306";>COMPANY_NAME 
(AwApi-DotNet/16.1.0, Common-Dotnet/1.8.0, .NET CLR/4.0.30319.18052, 
gzip)</userAgent><validateOnly 
xmlns="https://adwords.google.com/api/adwords/cm/v201306";>true</validateOnly></RequestHeader></soap:Header><soap:Body><mutate
 
xmlns="https://adwords.google.com/api/adwords/cm/v201306";><operations><operator>ADD</operator><operand><adGroupId>5229123843</adGroupId><ad
 
xsi:type="TextAd"><url>DEST_URL</url><displayUrl>DISPLAY_URL</displayUrl><headline>HEADLINE</headline><description1>LINE_1</description1><description2>LINE_2</description2></ad><status>ENABLED</status></operand></operations></mutate></soap:Body></soap:Envelope>
HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Date: Fri, 15 Nov 2013 17:48:43 GMT
Expires: Fri, 15 Nov 2013 17:48:43 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Content-Length: 1283
Server: GSE

<soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><soap:Header><ResponseHeader
 
xmlns="https://adwords.google.com/api/adwords/cm/v201306";><requestId>0004eb3acd6325200a428a30000017f2</requestId><serviceName>AdGroupAdService</serviceName><methodName>mutate</methodName><operations>0</operations><responseTime>30296</responseTime></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><ApiExceptionFault
 
xmlns="https://adwords.google.com/api/adwords/cm/v201306";><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>

Reply via email to