OfflineConversionError.INVALID_CONVERSION_TYPE error when submition conversion, while UploadConversion was created much earlier

94 views
Skip to first unread message

don....@gmail.com

unread,
Sep 2, 2020, 8:57:12 AM9/2/20
to AdWords API and Google Ads API Forum
Hello Google team! We are having problems while submitting offline conversions via API into one of the Adwords accounts of our client

Almost all conversions submissions return error as in example below while UploadConversion was created 8/25 and we submit conversion from 8/31 and later

Could you please suggest what are we possibly doing wrong, it works for other adwords account of the same client with the same worker logic.

Appreciate your help in advance!

Please see example below


--header 'Authorization: Bearer REDACTED' \
--header 'Content-Type: application/xml' \
--data-raw '<?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/v201809"><SOAP-ENV:Header><ns1:RequestHeader><ns1:clientCustomerId>6893440343</ns1:clientCustomerId><ns1:developerToken>REDACTED</ns1:developerToken><ns1:userAgent>unknown (AwApi-PHP, googleads-php-lib/40.0.0, PHP/7.1.25-1+ubuntu16.04.1+deb.sury.org+1)</ns1:userAgent><ns1:validateOnly>false</ns1:validateOnly><ns1:partialFailure>false</ns1:partialFailure></ns1:RequestHeader></SOAP-ENV:Header><SOAP-ENV:Body><ns1:mutate><ns1:operations><ns1:operator>ADD</ns1:operator><ns1:operand><ns1:googleClickId>CjwKCAjwnK36BRBVEiwAsMT8WDHmx0hLyDA2KrfwmmTymzf0FTitf3PoomyZ8h99bQr-H2MyQU67tRoC4woQAvD_BwE</ns1:googleClickId><ns1:conversionName>Wicked Existing Lead Re Optin</ns1:conversionName><ns1:conversionTime>20200831 034202 UTC</ns1:conversionTime><ns1:conversionValue>6</ns1:conversionValue><ns1:conversionCurrencyCode>USD</ns1:conversionCurrencyCode></ns1:operand></ns1:operations></ns1:mutate></SOAP-ENV:Body></SOAP-ENV:Envelope>
'
And actual response:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<requestId>0005ae53f6397d000a37c50584031339</requestId>
<serviceName>OfflineConversionFeedService</serviceName>
<methodName>mutate</methodName>
<operations>1</operations>
<responseTime>254</responseTime>
</ResponseHeader>
</soap:Header>
<soap:Body>
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>[OfflineConversionError.INVALID_CONVERSION_TYPE @ operations[0].operand]</faultstring>
<detail>
<message>[OfflineConversionError.INVALID_CONVERSION_TYPE @ operations[0].operand]</message>
<ApplicationException.Type>ApiException</ApplicationException.Type>
<errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="OfflineConversionError">
<fieldPath>operations[0].operand</fieldPath>
<fieldPathElements>
<field>operations</field>
<index>0</index>
</fieldPathElements>
<fieldPathElements>
<field>operand</field>
</fieldPathElements>
<trigger></trigger>
<errorString>OfflineConversionError.INVALID_CONVERSION_TYPE</errorString>
<ApiError.Type>OfflineConversionError</ApiError.Type>
<reason>INVALID_CONVERSION_TYPE</reason>
</errors>
</ApiExceptionFault>
</detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>

Google Ads API Forum Advisor Prod

unread,
Sep 2, 2020, 3:47:04 PM9/2/20
to don....@gmail.com, adwor...@googlegroups.com
Hello,

Thank you for reaching out! You can take a look here for the common causes of the INVALID_CONVERSION_TYPE error. I can see in your account that the "Wicked Existing Lead Re Optin" conversion action was indeed created on August 25th and that there were no name changes applied. It is also worth noting that this conversion action is not enabled. I also understand that you tried to upload your clicks on August 31st, but can you confirm if the click has been generated before the UploadConversion was created? 

Regards,
Google Logo
Danica
Google Ads API Team
 


ref:_00D1U1174p._5004Q23wbBI:ref

don....@gmail.com

unread,
Sep 2, 2020, 4:09:52 PM9/2/20
to AdWords API and Google Ads API Forum
Hello Danica, thank you for quick reply! We are sure that click happened on 8/30 (EDT time)
we track time of the click but also pull data from
https://developers.google.com/adwords/api/docs/appendix/reports/click-performance-report
I'm attaching information about click from the API call example I have provided.
According to report it happened on 8/30 (EDT time)
exact time 2020-08-31 03:41:29.000 UTC
so according to the docs it should be accepted by API without an issue?

CjwKCAjwnK36BRBVEiwAsMT8WDHmx0hLyDA2KrfwmmTymzf0FTitf3PoomyZ8h99bQr-H2MyQU67tRoC4woQAvD_BwE.csv

Google Ads API Forum Advisor Prod

unread,
Sep 3, 2020, 12:29:42 PM9/3/20
to don....@gmail.com, adwor...@googlegroups.com
Hello,

Yes, since your click did not fall under any of the common causes of the error, it should theoretically be accepted by the API. I will check on this further internally within the team. We will reach out to you once we have an update.

don....@gmail.com

unread,
Sep 8, 2020, 5:29:13 AM9/8/20
to AdWords API and Google Ads API Forum
Hello Danica, thank you! Looking forward for an update!

Google Ads API Forum Advisor Prod

unread,
Sep 9, 2020, 2:27:15 PM9/9/20
to don....@gmail.com, adwor...@googlegroups.com
Hello,

As shown in the attached screenshot, this conversion action is inactive because this account uses cross-account conversions created by a manager account (Prosper Trading MCC 628-927-6739). For more details, you can take a look at this support article. Can you confirm if this conversion action was enabled when you tried uploading? If not, this explains why you were receiving an INVALID_CONVERSION_TYPE error. In that case, please try using an active conversion action and then try your request again. 
Screenshot 2020-09-09 at 14.12.57.png
Reply all
Reply to author
Forward
0 new messages