UNEXPECTED_INTERNAL_API_ERROR for ConversionTrackerService.mutate(UploadConversion)

50 views
Skip to first unread message

Gabriel Kent

unread,
Sep 12, 2017, 3:33:08 PM9/12/17
to AdWords API Forum
Greetings all,

The following create request has been failing consistently for the ConversionTrackerService UploadConversion endpoint. We have retried the request many times over the course of several days without success. We are using the google-api-ads-ruby gem. More details can be provided as needed. Any suggestions for troubleshooting further?

[2017-09-12T10:07:12.610699] DEBUG -- : SOAP request: https://adwords.google.com/api/adwords/cm/v201702/ConversionTrackerService
[2017-09-12T10:07:12.610788] DEBUG -- : SOAPAction: "mutate", User-Agent: myAgent, Authorization: myAuth, Content-Type: text/xml;charset=UTF-8, Content-Length: 1348
[2017-09-12T10:07:12.610822] DEBUG -- : <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="https://adwords.google.com/api/adwords/cm/v201702" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header><wsdl:RequestHeader xmlns="https://adwords.google.com/api/adwords/cm/v201702"><userAgent>myAgent</userAgent><developerToken>myToken</developerToken><clientCustomerId>myClientID</clientCustomerId></wsdl:RequestHeader></env:Header><env:Body><mutate xmlns="https://adwords.google.com/api/adwords/cm/v201702"><operations><operator>ADD</operator><operand xsi:type="UploadConversion"><name>1 Minute Connect Duration (web page calls)</name><status>ENABLED</status><category>LEAD</category><viewthroughLookbackWindow>30</viewthroughLookbackWindow><ctcLookbackWindow>90</ctcLookbackWindow><countingType>ONE_PER_CLICK</countingType><defaultRevenueValue>0</defaultRevenueValue><defaultRevenueCurrencyCode>USD</defaultRevenueCurrencyCode><alwaysUseDefaultRevenueValue>false</alwaysUseDefaultRevenueValue><excludeFromBidding>false</excludeFromBidding><attributionModelType>DATA_DRIVEN</attributionModelType></operand></operations></mutate></env:Body></env:Envelope>
[2017-09-12T10:07:13.116782] DEBUG -- : SOAP response (status 500):
[2017-09-12T10:07:13.116881] DEBUG -- : <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201702"><requestId>000559011307b9900a3728df3703c5d5</requestId><serviceName>ConversionTrackerService</serviceName><methodName>mutate</methodName><operations>1</operations><responseTime>429</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/v201702"><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>

Thanks,
Gabriel

Shwetha Vastrad (AdWords API Team)

unread,
Sep 12, 2017, 5:03:05 PM9/12/17
to AdWords API Forum
Hi Gabriel, 

It looks like you are setting the attributionModelType to DATA_DRIVEN. Please note that this attribution model is only available to accounts with enough data. The requirements for this attribution model are provided here. This could be the reason these requests are failing. Could you check if this account has the "Data-driven" option for the “Attribution model” setting in the UI?

Thanks,
Shwetha, AdWords API Team.

Gabriel Kent

unread,
Sep 13, 2017, 2:50:31 PM9/13/17
to AdWords API Forum
Hi Shwetha,

Looks like that was the issue. Thank you for your help. I would have expected a more appropriate error to be returned which would help in my error handling, but I'm happy to at least know what the issue is now.

Thanks,
Gabriel

Shwetha Vastrad (AdWords API Team)

unread,
Sep 13, 2017, 2:56:30 PM9/13/17
to AdWords API Forum
Hi Gabriel,

Glad to be of help. I'll pass this feedback to the team to provide more meaningful error messages in these situations in the API response. 

Regards,
Shwetha, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages