InternalApiError.UNEXPECTED_INTERNAL_API_ERROR during CreateAccountOperation in sandbox

128 views
Skip to first unread message

Тарас Бунык

unread,
Jan 10, 2012, 8:15:13 AM1/10/12
to adwor...@googlegroups.com
Can't find bugtracker so I'll post it here:

DEBUG:soap_xml:StartTime: 2012-01-10 15:03:37

*** Outgoing HTTP headers **********************************************
POST /api/adwords/mcm/v201109/CreateAccountService HTTP/1.0
Host:adwords-sandbox.google.com
User-agent:SOAPpy 0.12.0 (pywebsvcs.sf.net)
XML-parser: PyXML v0.8.3
Content-type:text/xml; charset="UTF-8"
Content-length:1483
SOAPAction:"mutate"
************************************************************************
*** Outgoing SOAP ******************************************************
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi3="http://www.w3.org/2001/XMLSchema-instance">
 <SOAP-ENV:Header xmlns="https://adwords.google.com/api/adwords/mcm/v201109" xmlns:cm="https://adwords.google.com/api/adwords/cm/v201109">
  <RequestHeader>
   <cm:developerToken>*******@gmail.com++USD</cm:developerToken>
   <cm:userAgent>AwApi-Python-15.1.2|UAPROMAdwordsClient</cm:userAgent>
   <cm:authToken>*******************************************</cm:authToken>
  </RequestHeader>
 </SOAP-ENV:Header>
 <SOAP-ENV:Body>
  <mutate xmlns="https://adwords.google.com/api/adwords/mcm/v201109" xmlns:cm="https://adwords.google.com/api/adwords/cm/v201109" xmlns:mcm="https://adwords.google.com/api/adwords/mcm/v201109">
   <operations xsi3:type="mcm:CreateAccountOperation">
    <cm:operator>ADD</cm:operator>
    <mcm:operand xsi3:type="mcm:Account">
     <mcm:currencyCode>USD</mcm:currencyCode>
     <mcm:dateTimeZone>Europe/London</mcm:dateTimeZone>
    </mcm:operand>
    <mcm:descriptiveName>apple inc.</mcm:descriptiveName>
   </operations>
  </mutate>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
************************************************************************
*** Incoming HTTP headers **********************************************
HTTP/1.? 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Date: Tue, 10 Jan 2012 13:03:40 GMT
Expires: Tue, 10 Jan 2012 13:03:40 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
************************************************************************
*** Incoming SOAP ******************************************************
<?xml version="1.0" encoding="UTF-8"?>
<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>
    <ns2:ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201109" xmlns:ns2="https://adwords.google.com/api/adwords/mcm/v201109">
     <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>
    </ns2:ApiExceptionFault>
   </detail>
  </soap:Fault>
 </soap:Body>
</soap:Envelope>
************************************************************************
EndTime: 2012-01-10 15:03:40

Vijayraj Chauhan

unread,
Jan 11, 2012, 4:14:11 AM1/11/12
to adwor...@googlegroups.com
Hi,

I am facing the same issue in my sandbox account InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.

I get this error when using AdGroupAdServiceInterface class.....It was working fine untill yesterday.....Also tried in sandbox account viewer but got the same error..:(

TIA,
Vijayraj

Eric Koleda

unread,
Jan 13, 2012, 12:33:51 PM1/13/12
to adwor...@googlegroups.com
Hi All,

We are experiencing some problems with the sandbox environment at the moment, and we are working with the core engineering team to resolve them.

Best,
- Eric Koleda, AdWords API Team

Manuel

unread,
Jan 26, 2012, 7:03:15 AM1/26/12
to AdWords API Forum
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:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<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.&lt;init&gt;
(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.&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>

Eric Koleda

unread,
Jan 30, 2012, 5:38:55 PM1/30/12
to adwor...@googlegroups.com
Hi Manuel,

I'm not able to replicate this error on my own account, are you still seeing the error?

Best,
- Eric

Тарас Бунык

unread,
Feb 8, 2012, 9:31:59 AM2/8/12
to AdWords API Forum
I still seing:

DEBUG:soap_xml:StartTime: 2012-02-08 16:29:46
*** Outgoing HTTP headers
**********************************************
POST /api/adwords/mcm/v201109/CreateAccountService HTTP/1.0
Host:adwords-sandbox.google.com
User-agent:SOAPpy 0.12.0 (pywebsvcs.sf.net),gzip
XML-parser: PyXML v0.8.3
Content-type:text/xml; charset="UTF-8"
Content-length:808
Accept-Encoding:gzip
Content-Encoding:gzip
SOAPAction:"mutate"
************************************************************************
*** Outgoing SOAP
******************************************************
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/
soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/
<cm:developerToken>t.b...@smartweb.com.ua++USD</cm:developerToken>
<cm:userAgent>AwApi-Python-15.2.1 (Python 2.6)|UAPROMAdwordsClient</
cm:userAgent>
<cm:authToken>blabla</cm:authToken>
</RequestHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<mutate xmlns="https://adwords.google.com/api/adwords/mcm/v201109"
xmlns:cm="https://adwords.google.com/api/adwords/cm/v201109"
xmlns:mcm="https://adwords.google.com/api/adwords/mcm/v201109">
<operations xsi3:type="mcm:CreateAccountOperation">
<cm:operator>ADD</cm:operator>
<mcm:operand xsi3:type="mcm:Account">
<mcm:currencyCode>USD</mcm:currencyCode>
<mcm:dateTimeZone>Europe/London</mcm:dateTimeZone>
</mcm:operand>
<mcm:descriptiveName>apple inc.</mcm:descriptiveName>
</operations>
</mutate>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
************************************************************************
*** Incoming HTTP headers
**********************************************
HTTP/1.? 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Date: Wed, 08 Feb 2012 14:29:55 GMT
Expires: Wed, 08 Feb 2012 14:29:55 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Content-Length: 425
Server: GSE
************************************************************************
*** Incoming SOAP
******************************************************
<?xml version="1.0" encoding="UTF-8"?>
<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>
<ns2:ApiExceptionFault xmlns="https://adwords.google.com/api/
adwords/cm/v201109" xmlns:ns2="https://adwords.google.com/api/adwords/
mcm/v201109">
<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>
</ns2:ApiExceptionFault>
</detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>
************************************************************************
EndTime: 2012-02-08 16:29:56

Jerzy Biernacki

unread,
Feb 13, 2012, 9:01:07 AM2/13/12
to adwor...@googlegroups.com
Hi,

I'm facing the same problem (using PHP with and without client library). 

To replicate, try the CreateAccount.php example with PHP 5.3.5.

For me, it ended up with: "An error has occurred: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.<init>(InternalApiErro".

Best regards,
JB
Reply all
Reply to author
Forward
0 new messages