OfflineConversionError.CONVERSION_PRECEDES_CLICK

215 views
Skip to first unread message

Игорь Фильченко

unread,
Apr 1, 2021, 4:31:08 AM4/1/21
to AdWords API and Google Ads API Forum
Hi support, I use Google Ad API for uploading offline conversation. Most of gclids were successfully uploaded, but some were not and I've got an error CONVERSION_PRECEDES_CLICK.
Please help with this issue.

I've send request:

AW_SOAP.NOTICE: POST /api/adwords/cm/v201809/OfflineConversionFeedService?wsdl HTTP/1.1

Host: adwords.google.com

Connection: close

User-Agent: PHP-SOAP/7.4.6

Content-Type: text/xml; charset=utf-8

SOAPAction: ""

Content-Length: 1099

Authorization: REDACTED


<?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>630-397-0570</ns1:clientCustomerId><ns1:developerToken>REDACTED</ns1:developerToken><ns1:userAgent>unknown (AwApi-PHP, googleads-php-lib/46.2.1, PHP/7.4.6)</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>CjwKCAjwu5CDBhB9EiwA0w6sLVM1TPwjsiXQq-TIu6-e8d5lZUNCkxop_JdIsmbheQyan2ALjKQdXxoCO5YQAvD_BwE</ns1:googleClickId><ns1:conversionName>offline_conversion</ns1:conversionName><ns1:conversionTime>20210331 045917 Pacific/Auckland</ns1:conversionTime><ns1:conversionValue>100</ns1:conversionValue><ns1:conversionCurrencyCode>NZD</ns1:conversionCurrencyCode></ns1:operand></ns1:operations></ns1:mutate></SOAP-ENV:Body></SOAP-ENV:Envelope>


And I've received response:

HTTP/1.1 500 Internal Server Error

Content-Type: text/xml; charset=UTF-8

Date: Thu, 01 Apr 2021 08:22:45 GMT

Expires: Thu, 01 Apr 2021 08:22:45 GMT

Cache-Control: private, max-age=0

X-Content-Type-Options: nosniff

X-Frame-Options: SAMEORIGIN

Content-Security-Policy: frame-ancestors 'self'

X-XSS-Protection: 1; mode=block

Server: GSE

Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"

Accept-Ranges: none

Vary: Accept-Encoding

Connection: close

Transfer-Encoding: chunked


<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201809"><requestId>0005bee4efa0f3ed0a37270bec093912</requestId><serviceName>OfflineConversionFeedService</serviceName><methodName>mutate</methodName><operations>1</operations><responseTime>113</responseTime></ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>[OfflineConversionError.CONVERSION_PRECEDES_CLICK @ operations[0].operand]</faultstring><detail><ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201809"><message>[OfflineConversionError.CONVERSION_PRECEDES_CLICK @ 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.CONVERSION_PRECEDES_CLICK</errorString><ApiError.Type>OfflineConversionError</ApiError.Type><reason>CONVERSION_PRECEDES_CLICK</reason></errors></ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>



Google Ads API Forum Advisor Prod

unread,
Apr 2, 2021, 11:57:11 AM4/2/21
to 833...@gmail.com, adwor...@googlegroups.com
Hello,

Thanks for reaching out. This error occurs when the conversionTime provided in the upload precedes the time of the click was registered by Google Ads. Please see the validation rules section of the tracking and importing conversions guide.

Regards,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


ref:_00D1U1174p._5004Q2Ep1Vr:ref
Reply all
Reply to author
Forward
0 new messages