OfflineConversionError.INVALID_CONVERSION_TYPE error when trying to upload an offline conversion

418 views
Skip to first unread message

Oleg Krivtsov

unread,
Apr 27, 2015, 4:47:20 PM4/27/15
to adwor...@googlegroups.com
I'm trying to upload offline conversions and receive the following error: "OfflineConversionError.INVALID_CONVERSION_TYPE @ operations[0].operand"
I've previously created the import conversion name, so I don't understand why this error arises. Can you help?

SOAP request:

<?xml version="1.0" encoding="UTF-8"?>
  <SOAP-ENV:Header>
    <ns1:RequestHeader>
      <ns1:clientCustomerId>***-***-****</ns1:clientCustomerId>
      <ns1:developerToken>***************************</ns1:developerToken>
      <ns1:userAgent>********************* (AwApi-PHP/5.8.2, Common-PHP/5.8.2, PHP/5.5.9-1ubuntu4.5)</ns1:userAgent>
    </ns1:RequestHeader>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
    <ns1:mutate>
      <ns1:operations>
        <ns1:operator>ADD</ns1:operator>
        <ns1:operand>
          <ns1:googleClickId>COPxqYXUzsQCFU6VvQod0nYAWA</ns1:googleClickId>
          <ns1:conversionName>Enrolment</ns1:conversionName>
          <ns1:conversionTime>20150424 110516 Australia/Sydney</ns1:conversionTime>
          <ns1:conversionValue>1560</ns1:conversionValue>
        </ns1:operand>
      </ns1:operations>
    </ns1:mutate>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

SOAP response:

<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
      <requestId>000514b1bd1c3a800ac4aec578005554</requestId>
      <serviceName>OfflineConversionFeedService</serviceName>
      <methodName>mutate</methodName>
      <operations>0</operations>
      <responseTime>168</responseTime>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Server</faultcode>
      <faultstring>[OfflineConversionError.INVALID_CONVERSION_TYPE @ operations[0].operand]</faultstring>
      <detail>
        <ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201502">
          <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>
            <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>

Nadine Sundquist (AdWords API Team)

unread,
Apr 28, 2015, 11:57:11 AM4/28/15
to adwor...@googlegroups.com
Hello Oleg,

Check out these validation rules for importing conversions to see if your conversion falls into one these cases. 

Cheers,
Nadine, AdWords API Team
Reply all
Reply to author
Forward
0 new messages