Create customer error ManagedCustomerServiceError.UNKNOWN @ operations[0]; trigger:'CANNOT_CREATE_ACCOUNT'

22 views
Skip to first unread message

Volodymyr Palamarchuk

unread,
Nov 13, 2019, 5:23:20 PM11/13/19
to AdWords API and Google Ads API Forum
Hi there!
Can somewho help me with this issue. I try create customer with php library googleads/googleads-php-lib. And when I sent soap call I getting 500 Internal Server Error. 
My log data after.

Thanks in advance

[2019-11-13 17:08:55] AW_SOAP.WARNING: clientCustomerId= operations=1 service=ManagedCustomerService method=mutate responseTime=301 requestId=0005973d6b7a59c00a1bf50fc4037d16 server=adwords.google.com isFault=1 faultMessage=[ManagedCustomerServiceError.UNKNOWN @ operations[0]; trigger:'CANNOT_CREATE_ACCOUNT']  

[2019-11-13 17:08:55] AW_SOAP.NOTICE: POST /api/adwords/mcm/v201809/ManagedCustomerService?wsdl HTTP/1.1

Connection: close
User-Agent: PHP-SOAP/7.3.11-1+ubuntu18.04.1+deb.sury.org+1
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 902
Authorization: REDACTED

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Header>
<ns2:RequestHeader>
  <ns1:developerToken>REDACTED</ns1:developerToken>
  <ns1:userAgent>unknown (AwApi-PHP, googleads-php-lib/41.0.0, PHP/7.3.11-1+ubuntu18.04.1+deb.sury.org+1)</ns1:userAgent>
    <ns1:validateOnly>false</ns1:validateOnly>
<ns1:partialFailure>false</ns1:partialFailure>
</ns2:RequestHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
  <ns2:mutate>
    <ns2:operations>
      <ns1:operator>ADD</ns1:operator>
      <ns2:operand>
         <ns2:name>Account #Volodymyr_Doca5dcc38a6cf8c6</ns2:name>
         <ns2:currencyCode>EUR</ns2:currencyCode>
         <ns2:dateTimeZone>Europe/London</ns2:dateTimeZone>
      </ns2:operand>
    </ns2:operations>       </ns2:mutate>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Date: Wed, 13 Nov 2019 17:08:55 GMT
Expires: Wed, 13 Nov 2019 17:08:55 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Alt-Svc: quic=":443"; ma=2592000; v="46,43",h3-Q050=":443"; ma=2592000,h3-Q049=":443"; ma=2592000,h3-Q048=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000
Accept-Ranges: none
Vary: Accept-Encoding
Connection: close

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><ResponseHeader xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201809" xmlns="https://adwords.google.com/api/adwords/mcm/v201809"><ns2:requestId>0005973d6b7a59c00a1bf50fc4037d16</ns2:requestId><ns2:serviceName>ManagedCustomerService</ns2:serviceName><ns2:methodName>mutate</ns2:methodName><ns2:operations>1</ns2:operations><ns2:responseTime>301</ns2:responseTime></ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>[ManagedCustomerServiceError.UNKNOWN @ operations[0]; trigger:'CANNOT_CREATE_ACCOUNT']</faultstring><detail><ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/mcm/v201809" xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201809"><ns2:message>[ManagedCustomerServiceError.UNKNOWN @ operations[0]; trigger:'CANNOT_CREATE_ACCOUNT']</ns2:message><ns2:ApplicationException.Type>ApiException</ns2:ApplicationException.Type><ns2:errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ManagedCustomerServiceError"><ns2:fieldPath>operations[0]</ns2:fieldPath><ns2:fieldPathElements><ns2:field>operations</ns2:field><ns2:index>0</ns2:index></ns2:fieldPathElements><ns2:trigger>CANNOT_CREATE_ACCOUNT</ns2:trigger><ns2:errorString>ManagedCustomerServiceError.UNKNOWN</ns2:errorString><ns2:ApiError.Type>ManagedCustomerServiceError</ns2:ApiError.Type><reason>UNKNOWN</reason></ns2:errors></ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>

Google Ads API Forum Advisor Prod

unread,
Nov 13, 2019, 9:03:34 PM11/13/19
to palamarch...@gmail.com, adwor...@googlegroups.com

Hello,

Thank you for reaching out. I was successfully able to create a new account under my test manager account using the code sample provided in the Adwords API documentation. Attaching the logs for reference. Could you please retry making the API request call using the code sample provided here and let me know if it works? If not, could you please share the complete logs without redacting the information in private message for me to investigate further? Please use Reply privately to author option while sharing the details.

Regards,
Nikisha Patel, Google Ads API Team



ref:_00D1U1174p._5001UJaZgR:ref
logs.txt
Reply all
Reply to author
Forward
0 new messages