<?xml version="1.0"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="PublicApiConversionsSoapProvider" targetNamespace="https://api.oddbytes.com/?v3=conversions" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="https://api.oddbytes.com/?v3=conversions" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/">
  <wsdl:types>
    <schema targetNamespace="https://api.oddbytes.com/?v3=conversions">
      <element name="AuthenticateRequest">
        <complexType>
          <all>
            <element name="apiKey" type="xsd:string"/>
          </all>
        </complexType>
      </element>
      <simpleType name="ConversionStatus">
        <annotation>
          <documentation>Available conversions statuses</documentation>
        </annotation>
        <restriction base="xsd:string">
          <enumeration value="ACTIVE"/>
          <enumeration value="PAUSED"/>
          <enumeration value="DELETED"/>
        </restriction>
      </simpleType>
      <simpleType name="ConversionCategory">
        <annotation>
          <documentation>Available conversions categories</documentation>
        </annotation>
        <restriction base="xsd:string">
          <enumeration value="SIGNUP"/>
          <enumeration value="LEAD"/>
          <enumeration value="PURCHASE"/>
          <enumeration value="VIEW"/>
          <enumeration value="OTHER"/>
        </restriction>
      </simpleType>
      <simpleType name="ConversionUseRepeated">
        <annotation>
          <documentation>Available options for counting multiple conversions from the same impression or click</documentation>
        </annotation>
        <restriction base="xsd:string">
          <enumeration value="YES"/>
          <enumeration value="NO"/>
        </restriction>
      </simpleType>
      <complexType name="array_string_1_100">
        <sequence>
          <element name="item" minOccurs="1" maxOccurs="100" type="xsd:string"/>
        </sequence>
      </complexType>
      <complexType name="array_unsignedInt_0_unbounded">
        <sequence>
          <element name="item" minOccurs="0" maxOccurs="unbounded" type="xsd:unsignedInt"/>
        </sequence>
      </complexType>
      <complexType name="ConversionIdsResult">
        <sequence>
          <element name="ids" type="tns:array_unsignedInt_0_unbounded">
            <annotation>
              <documentation>Return value type used while fetching ID values of your conversions.</documentation>
            </annotation>
          </element>
          <element name="deletedIds" type="tns:array_unsignedInt_0_unbounded">
            <annotation>
              <documentation>Return value type used while fetching ID values of your conversions.</documentation>
            </annotation>
          </element>
        </sequence>
      </complexType>
      <complexType name="getConversionIdsParameters">
        <sequence>
          <element name="filterNames" type="tns:array_string_1_100" nillable="true">
            <annotation>
              <documentation>Optional filter specification for conversions names</documentation>
            </annotation>
          </element>
          <element name="includeDeleted" type="xsd:boolean">
            <annotation>
              <documentation>Option for also fetching ID values of your currently deleted conversions</documentation>
            </annotation>
          </element>
        </sequence>
      </complexType>
      <complexType name="array_unsignedInt_1_300">
        <sequence>
          <element name="item" minOccurs="1" maxOccurs="300" type="xsd:unsignedInt"/>
        </sequence>
      </complexType>
      <complexType name="Conversion">
        <sequence>
          <element name="id" type="xsd:unsignedInt">
            <annotation>
              <documentation>Return value type used while fetching stored data for your already existing non&amp;ndash;deleted conversion.</documentation>
            </annotation>
          </element>
          <element name="name" type="xsd:string">
            <annotation>
              <documentation>Return value type used while fetching stored data for your already existing non&amp;ndash;deleted conversion.</documentation>
            </annotation>
          </element>
          <element name="status" type="tns:ConversionStatus">
            <annotation>
              <documentation>Return value type used while fetching stored data for your already existing non&amp;ndash;deleted conversion.</documentation>
            </annotation>
          </element>
          <element name="category" type="tns:ConversionCategory">
            <annotation>
              <documentation>Return value type used while fetching stored data for your already existing non&amp;ndash;deleted conversion.</documentation>
            </annotation>
          </element>
          <element name="revenue" type="xsd:float" nillable="true">
            <annotation>
              <documentation>Return value type used while fetching stored data for your already existing non&amp;ndash;deleted conversion.</documentation>
            </annotation>
          </element>
          <element name="window" type="xsd:unsignedInt">
            <annotation>
              <documentation>Return value type used while fetching stored data for your already existing non&amp;ndash;deleted conversion.</documentation>
            </annotation>
          </element>
          <element name="useRepeated" type="tns:ConversionUseRepeated">
            <annotation>
              <documentation>Return value type used while fetching stored data for your already existing non&amp;ndash;deleted conversion.</documentation>
            </annotation>
          </element>
          <element name="created" type="xsd:dateTime">
            <annotation>
              <documentation>Return value type used while fetching stored data for your already existing non&amp;ndash;deleted conversion.</documentation>
            </annotation>
          </element>
          <element name="modified" type="xsd:dateTime">
            <annotation>
              <documentation>Return value type used while fetching stored data for your already existing non&amp;ndash;deleted conversion.</documentation>
            </annotation>
          </element>
          <element name="stats" type="tns:ConversionStats" nillable="true">
            <annotation>
              <documentation>Return value type used while fetching stored data for your already existing non&amp;ndash;deleted conversion.</documentation>
            </annotation>
          </element>
        </sequence>
      </complexType>
      <complexType name="ConversionStats">
        <sequence>
          <element name="conversionsToday" type="xsd:unsignedInt">
            <annotation>
              <documentation>Return value type used while fetching brief daily, monthly and total stats data for your already existing non&amp;ndash;deleted conversion.</documentation>
            </annotation>
          </element>
          <element name="conversionsMonth" type="xsd:unsignedInt">
            <annotation>
              <documentation>Return value type used while fetching brief daily, monthly and total stats data for your already existing non&amp;ndash;deleted conversion.</documentation>
            </annotation>
          </element>
          <element name="conversionsTotal" type="xsd:unsignedInt">
            <annotation>
              <documentation>Return value type used while fetching brief daily, monthly and total stats data for your already existing non&amp;ndash;deleted conversion.</documentation>
            </annotation>
          </element>
          <element name="unmatchedToday" type="xsd:unsignedInt">
            <annotation>
              <documentation>Return value type used while fetching brief daily, monthly and total stats data for your already existing non&amp;ndash;deleted conversion.</documentation>
            </annotation>
          </element>
          <element name="unmatchedMonth" type="xsd:unsignedInt">
            <annotation>
              <documentation>Return value type used while fetching brief daily, monthly and total stats data for your already existing non&amp;ndash;deleted conversion.</documentation>
            </annotation>
          </element>
          <element name="unmatchedTotal" type="xsd:unsignedInt">
            <annotation>
              <documentation>Return value type used while fetching brief daily, monthly and total stats data for your already existing non&amp;ndash;deleted conversion.</documentation>
            </annotation>
          </element>
          <element name="lastConverted" type="xsd:dateTime" nillable="true">
            <annotation>
              <documentation>Return value type used while fetching brief daily, monthly and total stats data for your already existing non&amp;ndash;deleted conversion.</documentation>
            </annotation>
          </element>
        </sequence>
      </complexType>
      <complexType name="array_Conversion_0_unbounded">
        <sequence>
          <element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:Conversion"/>
        </sequence>
      </complexType>
      <complexType name="ConversionsResult">
        <sequence>
          <element name="conversions" type="tns:array_Conversion_0_unbounded">
            <annotation>
              <documentation>Return value type used while fetching stored data for your already existing conversions.</documentation>
            </annotation>
          </element>
          <element name="deletedIds" type="tns:array_unsignedInt_0_unbounded">
            <annotation>
              <documentation>Return value type used while fetching stored data for your already existing conversions.</documentation>
            </annotation>
          </element>
        </sequence>
      </complexType>
      <complexType name="getConversionsParameters">
        <sequence>
          <element name="conversionIds" type="tns:array_unsignedInt_1_300">
            <annotation>
              <documentation>List of conversion ID values</documentation>
            </annotation>
          </element>
          <element name="fetchStats" type="xsd:boolean" nillable="true">
            <annotation>
              <documentation>Option for also fetching brief stats data for the returned conversions</documentation>
            </annotation>
          </element>
        </sequence>
      </complexType>
      <complexType name="ConversionWindow">
        <sequence>
          <element name="days" type="xsd:unsignedInt">
            <annotation>
              <documentation>Return value type used while fetching available option for conversions validation windows (lookback periods).</documentation>
            </annotation>
          </element>
          <element name="description" type="xsd:string">
            <annotation>
              <documentation>Return value type used while fetching available option for conversions validation windows (lookback periods).</documentation>
            </annotation>
          </element>
        </sequence>
      </complexType>
      <complexType name="array_ConversionWindow_0_unbounded">
        <sequence>
          <element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:ConversionWindow"/>
        </sequence>
      </complexType>
      <complexType name="ConversionWindowsResult">
        <sequence>
          <element name="conversionWindows" type="tns:array_ConversionWindow_0_unbounded">
            <annotation>
              <documentation>Return value type used while fetching available options for conversions validation windows (lookback periods).</documentation>
            </annotation>
          </element>
        </sequence>
      </complexType>
    </schema>
  </wsdl:types>
  <wsdl:message name="getConversionIdsRequest">
    <wsdl:part name="parameters" type="tns:getConversionIdsParameters"/>
  </wsdl:message>
  <wsdl:message name="getConversionIdsResponse">
    <wsdl:part name="return" type="tns:ConversionIdsResult"/>
  </wsdl:message>
  <wsdl:message name="getConversionsRequest">
    <wsdl:part name="parameters" type="tns:getConversionsParameters"/>
  </wsdl:message>
  <wsdl:message name="getConversionsResponse">
    <wsdl:part name="return" type="tns:ConversionsResult"/>
  </wsdl:message>
  <wsdl:message name="getConversionWindowsRequest"/>
  <wsdl:message name="getConversionWindowsResponse">
    <wsdl:part name="return" type="tns:ConversionWindowsResult"/>
  </wsdl:message>
  <wsdl:message name="AuthenticateHeader">
    <wsdl:part name="requestData" element="tns:AuthenticateRequest"/>
  </wsdl:message>
  <wsdl:portType name="PublicApiConversionsSoapProviderPortType">
    <wsdl:operation name="getConversionIds">
      <wsdl:documentation>Returns the list of ID values for your already existing conversions.&amp;nbsp; Optionally, returned list can also contain ID values of your currently deleted conversions.</wsdl:documentation>
      <wsdl:input message="tns:getConversionIdsRequest"/>
      <wsdl:output message="tns:getConversionIdsResponse"/>
    </wsdl:operation>
    <wsdl:operation name="getConversions">
      <wsdl:documentation>Returns the parameters stored for your already existing conversions, please see type&amp;nbsp; &lt;span class="showcode"&gt;&lt;a href="/?docs=v3.Index&amp;className=Conversion"&gt;Conversion&lt;/a&gt;&lt;/span&gt;&amp;nbsp; for more details.</wsdl:documentation>
      <wsdl:input message="tns:getConversionsRequest"/>
      <wsdl:output message="tns:getConversionsResponse"/>
    </wsdl:operation>
    <wsdl:operation name="getConversionWindows">
      <wsdl:documentation>Returns available options for conversions validation windows (lookback periods).</wsdl:documentation>
      <wsdl:input message="tns:getConversionWindowsRequest"/>
      <wsdl:output message="tns:getConversionWindowsResponse"/>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="PublicApiConversionsSoapProviderBinding" type="tns:PublicApiConversionsSoapProviderPortType">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="getConversionIds">
      <soap:operation soapAction="https://api.oddbytes.com/?v3=conversions#getConversionIds" style="rpc"/>
      <wsdl:documentation>Returns the list of ID values for your already existing conversions.&amp;nbsp; Optionally, returned list can also contain ID values of your currently deleted conversions.</wsdl:documentation>
      <wsdl:input>
        <soap:header use="literal" message="tns:AuthenticateHeader" part="requestData"/>
        <soap:body use="literal" namespace="https://api.oddbytes.com/?v3=conversions"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" namespace="https://api.oddbytes.com/?v3=conversions"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getConversions">
      <soap:operation soapAction="https://api.oddbytes.com/?v3=conversions#getConversions" style="rpc"/>
      <wsdl:documentation>Returns the parameters stored for your already existing conversions, please see type&amp;nbsp; &lt;span class="showcode"&gt;&lt;a href="/?docs=v3.Index&amp;className=Conversion"&gt;Conversion&lt;/a&gt;&lt;/span&gt;&amp;nbsp; for more details.</wsdl:documentation>
      <wsdl:input>
        <soap:header use="literal" message="tns:AuthenticateHeader" part="requestData"/>
        <soap:body use="literal" namespace="https://api.oddbytes.com/?v3=conversions"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" namespace="https://api.oddbytes.com/?v3=conversions"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getConversionWindows">
      <soap:operation soapAction="https://api.oddbytes.com/?v3=conversions#getConversionWindows" style="rpc"/>
      <wsdl:documentation>Returns available options for conversions validation windows (lookback periods).</wsdl:documentation>
      <wsdl:input>
        <soap:header use="literal" message="tns:AuthenticateHeader" part="requestData"/>
        <soap:body use="literal" namespace="https://api.oddbytes.com/?v3=conversions"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" namespace="https://api.oddbytes.com/?v3=conversions"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="PublicApiConversionsSoapProviderService">
    <wsdl:port name="PublicApiConversionsSoapProviderPort" binding="tns:PublicApiConversionsSoapProviderBinding">
      <soap:address location="https://api.oddbytes.com/?v3=conversions"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>
