In MCC account I have "ImportSaleWithValue" conversion.
We try to upload conversion and got error:

[2020-07-05 13:00:26] AW_SOAP.WARNING: clientCustomerId=702-256-1235 
operations=1 service=OfflineConversionFeedService method=mutate 
responseTime=171 requestId=0005a9aed3c58b1e0a37b646fe079183 
server=adwords.google.com isFault=1 faultMessage=[OfflineConversionError.
*INVALID_CONVERSION_TYPE* @ operations[0].operand]
[2020-07-05 13:00:26] AW_SOAP.NOTICE: POST 
/api/adwords/cm/v201809/OfflineConversionFeedService?wsdl HTTP/1.1
Host: adwords.google.com
Connection: close
User-Agent: PHP-SOAP/7.2.31-1+0~20200514.41+debian9~1.gbpe2a56b
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 1122
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>702-256-1235</ns1:clientCustomerId><ns1:developerToken>REDACTED</ns1:developerToken><ns1:userAgent>unknown
 
(AwApi-PHP, googleads-php-lib/40.0.0, 
PHP/7.2.31-1+0~20200514.41+debian9~1.gbpe2a56b)</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>Cj0KCQjwoPL2BRDxARIsAEMm9y9lHWDWDrZrkKpYoIqxZFQ6_74j_ffYSlV1xtqQQNz8YNrr6YF11nUaArvQEALw_wcB</ns1:googleClickId><ns1:conversionName>ImportSaleWithValue</ns1:conversionName><ns1:conversionTime>20200608
 
114538 
Europe/Moscow</ns1:conversionTime><ns1:conversionValue>2.26</ns1:conversionValue><ns1:conversionCurrencyCode>USD</ns1:conversionCurrencyCode></ns1:operand></ns1:operations></ns1:mutate></SOAP-ENV:Body></SOAP-ENV:Envelope>

HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Date: Sun, 05 Jul 2020 10:00:26 GMT
Expires: Sun, 05 Jul 2020 10:00:26 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-27=":443"; ma=2592000,h3-25=":443"; 
ma=2592000,h3-T050=":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>0005a9aed3c58b1e0a37b646fe079183</requestId><serviceName>OfflineConversionFeedService</serviceName><methodName>mutate</methodName><operations>1</operations><responseTime>171</responseTime></ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>[OfflineConversionError.
*INVALID_CONVERSION_TYPE* @ 
operations[0].operand]</faultstring><detail><ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/cm/v201809";><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>

PHP Fatal error:  Uncaught Google\AdsApi\AdWords\v201809\cm\ApiException: 
[OfflineConversionError.*INVALID_CONVERSION_TYPE* @ operations[0].operand] 
in 
/var/www/html/surf-and-buy.online/public_html/adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php:43
Stack trace:
#0 
/var/www/html/xxx/public_html/adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php(43):
 
ReflectionClass->newInstanceArgs(Array)
#1 
/var/www/html/xxx/public_html/adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(202):
 
Google\AdsApi\Common\Util\Reflection->createInstance('Google\\AdsApi\\A...', 
Array)
#2 
/var/www/html/xxx/public_html/adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(164):
 
Google\AdsApi\Common\AdsSoapClient->parseApiExceptionFromSoapFault(Object(SoapFault))
#3 
/var/www/html/xxx/public_html/adwords/vendor/googleads/googleads-php-lib/src/Google/AdsAp
 
in 
/var/www/html/surf-and-buy.online/public_html/adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php
 
on line 43

Where is problem? Please help!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d371f99e-6c9e-453e-bd10-90d8a89c9649o%40googlegroups.com.

Reply via email to