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>



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/23319762-bbfb-459a-b3c3-43025d9c3707n%40googlegroups.com.

Reply via email to