OfflineConversionError.INVALID_CONVERSION_TYPE

665 views
Skip to first unread message

mlo...@corp.free.fr

unread,
Sep 14, 2016, 12:10:58 PM9/14/16
to AdWords API Forum
Hi,

I'm getting mad with the error OfflineConversionError.INVALID_CONVERSION_TYPE

I'm trying to upload offiline conversion, but not matter what i do, I get the error OfflineConversionError.INVALID_CONVERSION_TYPE

XML trace :

request :

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <SOAP-ENV:Header>
    <RequestHeader xmlns="https://adwords.google.com/api/adwords/cm/v201607">
      <clientCustomerId>906-410-9887</clientCustomerId>
      <developerToken>REDACTED</developerToken>
      <userAgent>unknown (AwApi-Perl/4.9.0, Common-Perl/3.2.0, SOAP-WSDL/2.00.10, libwww-perl/6.04, perl/5.014002, Logging/Enabled)</userAgent>
      <validateOnly>false</validateOnly>
      <partialFailure>false</partialFailure>
    </RequestHeader>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
    <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201607">
      <operations>
        <operator>ADD</operator>
        <operand>
          <googleClickId>CJ-wz-WDj88CFfMK0wodEmoBQQ</googleClickId>
          <conversionName>Ventes_Fxxxxx</conversionName>
          <conversionTime>20160914 161952 Europe/Paris</conversionTime>
          <conversionValue>1</conversionValue>
        </operand>
      </operations>
    </mutate>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

response :

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201607">
      <requestId>00053c79ac1a99580a37d2429e0a4256</requestId>
      <serviceName>OfflineConversionFeedService</serviceName>
      <methodName>mutate</methodName>
      <operations>1</operations>
      <responseTime>155</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/v201607">
          <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>

Do you have any idea ?

Thanks by advance

Shwetha Vastrad (AdWords API Team)

unread,
Sep 14, 2016, 2:55:50 PM9/14/16
to AdWords API Forum
Hello,

The OfflineConversionError.INVALID_CONVERSION_TYPE occurs when the AdWords account being targeted in the request does not have a conversion with the name indicated by the conversionName value in the request. I found that this account does not have a conversion with name "Ventes_Fxxxxx". Could you try uploading the conversion after providing the correct conversionName in the request?

Thanks,
Shwetha, AdWords API Team.
Message has been deleted
Message has been deleted

Peter Oliquino

unread,
Sep 16, 2016, 5:09:29 AM9/16/16
to AdWords API Forum
Hi,

I'm a colleague of Shwetha and I will be providing the support in the meantime. Regarding your concern, I would recommend that you check out these validation rules and try your request once again. Additionally, I had to delete your most recent response as Shwetha had also done previously as it contained sensitive information such as your MCC ID. Please see our forum posting guidelines as well for any future posts.

If the issue persists, please let us know immediately and provide any SOAP request and response. You may respond using Reply privately to author to avoid exposing any sensitive information.

Best regards,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages