Hi Eric,
are you still experiencing problems with the sandbox ? Since yesterday
I'm trying to run some tests against the sandbox (adding adgroups in
this case) but I'm always running into this Internal API Error :(
I'm using the PHP lib 2.7.2 against v201109.
Here's some log data from the provided AddAdGroup-example:
[Jan 26 2012 12:49:52.000000 - ERROR] POST /api/adwords/cm/v201109/
AdGroupService HTTP/1.1
Host:
adwords-sandbox.google.com
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.3.2-1ubuntu4.10, gzip
Accept-Encoding: gzip, deflate
Content-Encoding: gzip
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 787
<?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/
v201109" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Header>
<ns1:RequestHeader>
<ns1:authToken>*****</ns1:authToken>
<ns1:clientCustomerId>[***]</ns1:clientCustomerId>
<ns1:developerToken>[***].de++EUR</ns1:developerToken>
<ns1:userAgent>AwApi-PHP-2.7.2-[***]</ns1:userAgent>
</ns1:RequestHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:mutate>
<ns1:operations>
<ns1:operator>ADD</ns1:operator>
<ns1:operand>
<ns1:campaignId>[***]</ns1:campaignId>
<ns1:name>Earth to Mars Cruises #1327578590</ns1:name>
<ns1:status>ENABLED</ns1:status>
<ns1:bids xsi:type="ns1:ManualCPCAdGroupBids">
<ns1:keywordMaxCpc>
<ns1:amount>
<ns1:microAmount>1000000</ns1:microAmount>
</ns1:amount>
</ns1:keywordMaxCpc>
</ns1:bids>
</ns1:operand>
</ns1:operations>
</ns1:mutate>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Date: Thu, 26 Jan 2012 11:49:52 GMT
Expires: Thu, 26 Jan 2012 11:49:52 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Content-Length: 540
Server: GSE
<?xml version="1.0"?>
<soap:Header>
<ResponseHeader xmlns="
https://adwords.google.com/api/adwords/cm/
v201109">
<requestId>0004b76cfa4d17f00a0c3b1700004240</requestId>
<serviceName>AdGroupService</serviceName>
<methodName>mutate</methodName>
<operations>1</operations>
<responseTime>2122</responseTime>
<units>1</units>
</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.<init>
(InternalApiErro]</faultstring>
<detail>
<ApiExceptionFault xmlns="
https://adwords.google.com/api/
adwords/cm/v201109">
<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/>
<trigger/>
<errorString>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR</
errorString>
<ApiError.Type>InternalApiError</ApiError.Type>
<reason>UNEXPECTED_INTERNAL_API_ERROR</reason>
</errors>
</ApiExceptionFault>