I'm running into an InternalApiError on the sandbox within my unit tests 
against v201101. I'm also curious as to what modifications need to be made 
to get things up and running with a Sandbox on v201109. The 
ServicedAccountService returns a customerId of zero for the five sandbox 
accounts, and I can no longer substitute in clientEmail as the identifier.

Full debug output below. requestID: 0004b399f779daa80a0ca30b00003303

- Stephen

---

[Dec 08 2011 13:49:30.000000 - ERROR] POST 
/api/adwords/cm/v201101/CampaignService HTTP/1.1
Host: adwords-sandbox.google.com
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.3.6, gzip
Accept-Encoding: gzip, deflate
Content-Encoding: gzip
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 758

<?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/v201101";>
  <SOAP-ENV:Header>
    <ns1:RequestHeader 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="ns1:SoapHeader">
      <ns1:authToken>*****</ns1:authToken>
      <ns1:clientEmail>client_1+stephen@[*redacted*].com</ns1:clientEmail>
      <ns1:developerToken>stephen@[*redacted*].com++USD</ns1:developerToken>
      <ns1:userAgent>AwApi-PHP-2.7.2-[*redacted*]</ns1:userAgent>
    </ns1:RequestHeader>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
    <ns1:mutate>
      <ns1:operations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="ns1:CampaignOperation">
        <ns1:operator>SET</ns1:operator>
        <ns1:operand xsi:type="ns1:Campaign">
          <ns1:id>304372</ns1:id>
          <ns1:name>Test Campaign #1323373769</ns1:name>
        </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, 08 Dec 2011 19:49:30 GMT
Expires: Thu, 08 Dec 2011 19:49:30 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Content-Length: 510
Server: GSE

<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
  <soap:Header>
    <ResponseHeader 
xmlns="https://adwords.google.com/api/adwords/cm/v201101";>
      <requestId>0004b399f779daa80a0ca30b00003303</requestId>
      <operations>1</operations>
      <responseTime>126</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.&lt;init&gt;(InternalApiErro]</faultstring>
      <detail>
        <ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/cm/v201101";>
          <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/>
            <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>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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 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

Reply via email to