<?xml version="1.0"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="PublicApiSystemSoapProvider" targetNamespace="https://api.oddbytes.com/?v3=system" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="https://api.oddbytes.com/?v3=system" 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=system">
      <element name="AuthenticateRequest">
        <complexType>
          <all>
            <element name="apiKey" type="xsd:string"/>
          </all>
        </complexType>
      </element>
      <simpleType name="AccountStatus">
        <annotation>
          <documentation>Available account serving statuses</documentation>
        </annotation>
        <restriction base="xsd:string">
          <enumeration value="ENABLED"/>
          <enumeration value="DISABLED"/>
        </restriction>
      </simpleType>
      <complexType name="ServerTimeResult">
        <sequence>
          <element name="dateTime" type="xsd:dateTime">
            <annotation>
              <documentation>Return value type used while fetching current server time.</documentation>
            </annotation>
          </element>
        </sequence>
      </complexType>
      <complexType name="ApiVersionResult">
        <sequence>
          <element name="version" type="xsd:string">
            <annotation>
              <documentation>Return value type used while fetching current API version.</documentation>
            </annotation>
          </element>
        </sequence>
      </complexType>
      <complexType name="UsernameResult">
        <sequence>
          <element name="username" type="xsd:string">
            <annotation>
              <documentation>Return value type used while fetching username of your account.</documentation>
            </annotation>
          </element>
        </sequence>
      </complexType>
      <complexType name="array_string_0_20">
        <sequence>
          <element name="item" minOccurs="0" maxOccurs="20" type="xsd:string"/>
        </sequence>
      </complexType>
      <complexType name="LockdownResult">
        <sequence>
          <element name="ipAddresses" type="tns:array_string_0_20">
            <annotation>
              <documentation>Return value type used while fetching IP address lockdown settings.</documentation>
            </annotation>
          </element>
        </sequence>
      </complexType>
      <complexType name="Region">
        <sequence>
          <element name="regionCode" type="xsd:string">
            <annotation>
              <documentation>Return value type used while fetching region data.</documentation>
            </annotation>
          </element>
          <element name="regionName" type="xsd:string">
            <annotation>
              <documentation>Return value type used while fetching region data.</documentation>
            </annotation>
          </element>
          <element name="displayMinBid" type="xsd:float">
            <annotation>
              <documentation>Return value type used while fetching region data.</documentation>
            </annotation>
          </element>
          <element name="displayMaxBid" type="xsd:float">
            <annotation>
              <documentation>Return value type used while fetching region data.</documentation>
            </annotation>
          </element>
          <element name="textlinkMinBid" type="xsd:float">
            <annotation>
              <documentation>Return value type used while fetching region data.</documentation>
            </annotation>
          </element>
          <element name="textlinkMaxBid" type="xsd:float">
            <annotation>
              <documentation>Return value type used while fetching region data.</documentation>
            </annotation>
          </element>
          <element name="lightboxMinBid" type="xsd:float">
            <annotation>
              <documentation>Return value type used while fetching region data.</documentation>
            </annotation>
          </element>
          <element name="lightboxMaxBid" type="xsd:float">
            <annotation>
              <documentation>Return value type used while fetching region data.</documentation>
            </annotation>
          </element>
          <element name="pushMinBid" type="xsd:float">
            <annotation>
              <documentation>Return value type used while fetching region data.</documentation>
            </annotation>
          </element>
          <element name="pushMaxBid" type="xsd:float">
            <annotation>
              <documentation>Return value type used while fetching region data.</documentation>
            </annotation>
          </element>
          <element name="postcheckoutMinBid" type="xsd:float">
            <annotation>
              <documentation>Return value type used while fetching region data.</documentation>
            </annotation>
          </element>
          <element name="postcheckoutMaxBid" type="xsd:float">
            <annotation>
              <documentation>Return value type used while fetching region data.</documentation>
            </annotation>
          </element>
        </sequence>
      </complexType>
      <complexType name="array_Region_0_unbounded">
        <sequence>
          <element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:Region"/>
        </sequence>
      </complexType>
      <complexType name="RegionsResult">
        <sequence>
          <element name="regions" type="tns:array_Region_0_unbounded">
            <annotation>
              <documentation>Return value type used while fetching regions data.</documentation>
            </annotation>
          </element>
        </sequence>
      </complexType>
      <complexType name="AccountStatusResult">
        <sequence>
          <element name="status" type="tns:AccountStatus">
            <annotation>
              <documentation>Return value type used while fetching account&amp;ndash;level serving status.</documentation>
            </annotation>
          </element>
        </sequence>
      </complexType>
      <complexType name="ToggleResult">
        <sequence>
          <element name="changed" type="xsd:boolean">
            <annotation>
              <documentation>Return value type used while toggling status for one or more already existing items.</documentation>
            </annotation>
          </element>
        </sequence>
      </complexType>
    </schema>
  </wsdl:types>
  <wsdl:message name="getServerTimeRequest"/>
  <wsdl:message name="getServerTimeResponse">
    <wsdl:part name="return" type="tns:ServerTimeResult"/>
  </wsdl:message>
  <wsdl:message name="getApiVersionRequest"/>
  <wsdl:message name="getApiVersionResponse">
    <wsdl:part name="return" type="tns:ApiVersionResult"/>
  </wsdl:message>
  <wsdl:message name="getUsernameRequest"/>
  <wsdl:message name="getUsernameResponse">
    <wsdl:part name="return" type="tns:UsernameResult"/>
  </wsdl:message>
  <wsdl:message name="getLockdownRequest"/>
  <wsdl:message name="getLockdownResponse">
    <wsdl:part name="return" type="tns:LockdownResult"/>
  </wsdl:message>
  <wsdl:message name="getRegionsRequest"/>
  <wsdl:message name="getRegionsResponse">
    <wsdl:part name="return" type="tns:RegionsResult"/>
  </wsdl:message>
  <wsdl:message name="getAccountStatusRequest"/>
  <wsdl:message name="getAccountStatusResponse">
    <wsdl:part name="return" type="tns:AccountStatusResult"/>
  </wsdl:message>
  <wsdl:message name="resumeAccountRequest"/>
  <wsdl:message name="resumeAccountResponse">
    <wsdl:part name="return" type="tns:ToggleResult"/>
  </wsdl:message>
  <wsdl:message name="pauseAccountRequest"/>
  <wsdl:message name="pauseAccountResponse">
    <wsdl:part name="return" type="tns:ToggleResult"/>
  </wsdl:message>
  <wsdl:message name="AuthenticateHeader">
    <wsdl:part name="requestData" element="tns:AuthenticateRequest"/>
  </wsdl:message>
  <wsdl:portType name="PublicApiSystemSoapProviderPortType">
    <wsdl:operation name="getServerTime">
      <wsdl:documentation>Returns date and time on the API server.&amp;nbsp; This allows your API client to introduce correction offset for any existing time differences, either because of different time zones or because of any other reason.</wsdl:documentation>
      <wsdl:input message="tns:getServerTimeRequest"/>
      <wsdl:output message="tns:getServerTimeResponse"/>
    </wsdl:operation>
    <wsdl:operation name="getApiVersion">
      <wsdl:documentation>Returns current API version, as spoken by the server.</wsdl:documentation>
      <wsdl:input message="tns:getApiVersionRequest"/>
      <wsdl:output message="tns:getApiVersionResponse"/>
    </wsdl:operation>
    <wsdl:operation name="getUsername">
      <wsdl:documentation>Returns username of your account accessed through the API.</wsdl:documentation>
      <wsdl:input message="tns:getUsernameRequest"/>
      <wsdl:output message="tns:getUsernameResponse"/>
    </wsdl:operation>
    <wsdl:operation name="getLockdown">
      <wsdl:documentation>Returns the set of lockdown IP addresses from which access to your account is limited through the API, for improved security.</wsdl:documentation>
      <wsdl:input message="tns:getLockdownRequest"/>
      <wsdl:output message="tns:getLockdownResponse"/>
    </wsdl:operation>
    <wsdl:operation name="getRegions">
      <wsdl:documentation>Returns regions codes and descriptions, together with minimal and maximal bids allowed for each of them, as allowed for your account, please see type&amp;nbsp; &lt;span class="showcode"&gt;&lt;a href="/?docs=v3.Index&amp;className=Region"&gt;Region&lt;/a&gt;&lt;/span&gt;&amp;nbsp; for more details.</wsdl:documentation>
      <wsdl:input message="tns:getRegionsRequest"/>
      <wsdl:output message="tns:getRegionsResponse"/>
    </wsdl:operation>
    <wsdl:operation name="getAccountStatus">
      <wsdl:documentation>Returns current account&amp;ndash;level serving status.&amp;nbsp; Having your account disabled results in no more traffic received until it is enabled again.</wsdl:documentation>
      <wsdl:input message="tns:getAccountStatusRequest"/>
      <wsdl:output message="tns:getAccountStatusResponse"/>
    </wsdl:operation>
    <wsdl:operation name="resumeAccount">
      <wsdl:documentation>Resumes serving for your whole account, if it was paused.&amp;nbsp; Upon completion, you will begin receiving traffic again.</wsdl:documentation>
      <wsdl:input message="tns:resumeAccountRequest"/>
      <wsdl:output message="tns:resumeAccountResponse"/>
    </wsdl:operation>
    <wsdl:operation name="pauseAccount">
      <wsdl:documentation>Pauses serving for your whole account, if it was active.&amp;nbsp; Upon completion, you will receive no traffic until account is resumed.&amp;nbsp; Please note that account &lt;b&gt;can not&lt;/b&gt; be paused if it contains no online campaigns.</wsdl:documentation>
      <wsdl:input message="tns:pauseAccountRequest"/>
      <wsdl:output message="tns:pauseAccountResponse"/>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="PublicApiSystemSoapProviderBinding" type="tns:PublicApiSystemSoapProviderPortType">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="getServerTime">
      <soap:operation soapAction="https://api.oddbytes.com/?v3=system#getServerTime" style="rpc"/>
      <wsdl:documentation>Returns date and time on the API server.&amp;nbsp; This allows your API client to introduce correction offset for any existing time differences, either because of different time zones or because of any other reason.</wsdl:documentation>
      <wsdl:input>
        <soap:header use="literal" message="tns:AuthenticateHeader" part="requestData"/>
        <soap:body use="literal" namespace="https://api.oddbytes.com/?v3=system"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" namespace="https://api.oddbytes.com/?v3=system"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getApiVersion">
      <soap:operation soapAction="https://api.oddbytes.com/?v3=system#getApiVersion" style="rpc"/>
      <wsdl:documentation>Returns current API version, as spoken by the server.</wsdl:documentation>
      <wsdl:input>
        <soap:header use="literal" message="tns:AuthenticateHeader" part="requestData"/>
        <soap:body use="literal" namespace="https://api.oddbytes.com/?v3=system"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" namespace="https://api.oddbytes.com/?v3=system"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getUsername">
      <soap:operation soapAction="https://api.oddbytes.com/?v3=system#getUsername" style="rpc"/>
      <wsdl:documentation>Returns username of your account accessed through the API.</wsdl:documentation>
      <wsdl:input>
        <soap:header use="literal" message="tns:AuthenticateHeader" part="requestData"/>
        <soap:body use="literal" namespace="https://api.oddbytes.com/?v3=system"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" namespace="https://api.oddbytes.com/?v3=system"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getLockdown">
      <soap:operation soapAction="https://api.oddbytes.com/?v3=system#getLockdown" style="rpc"/>
      <wsdl:documentation>Returns the set of lockdown IP addresses from which access to your account is limited through the API, for improved security.</wsdl:documentation>
      <wsdl:input>
        <soap:header use="literal" message="tns:AuthenticateHeader" part="requestData"/>
        <soap:body use="literal" namespace="https://api.oddbytes.com/?v3=system"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" namespace="https://api.oddbytes.com/?v3=system"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getRegions">
      <soap:operation soapAction="https://api.oddbytes.com/?v3=system#getRegions" style="rpc"/>
      <wsdl:documentation>Returns regions codes and descriptions, together with minimal and maximal bids allowed for each of them, as allowed for your account, please see type&amp;nbsp; &lt;span class="showcode"&gt;&lt;a href="/?docs=v3.Index&amp;className=Region"&gt;Region&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=system"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" namespace="https://api.oddbytes.com/?v3=system"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getAccountStatus">
      <soap:operation soapAction="https://api.oddbytes.com/?v3=system#getAccountStatus" style="rpc"/>
      <wsdl:documentation>Returns current account&amp;ndash;level serving status.&amp;nbsp; Having your account disabled results in no more traffic received until it is enabled again.</wsdl:documentation>
      <wsdl:input>
        <soap:header use="literal" message="tns:AuthenticateHeader" part="requestData"/>
        <soap:body use="literal" namespace="https://api.oddbytes.com/?v3=system"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" namespace="https://api.oddbytes.com/?v3=system"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="resumeAccount">
      <soap:operation soapAction="https://api.oddbytes.com/?v3=system#resumeAccount" style="rpc"/>
      <wsdl:documentation>Resumes serving for your whole account, if it was paused.&amp;nbsp; Upon completion, you will begin receiving traffic again.</wsdl:documentation>
      <wsdl:input>
        <soap:header use="literal" message="tns:AuthenticateHeader" part="requestData"/>
        <soap:body use="literal" namespace="https://api.oddbytes.com/?v3=system"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" namespace="https://api.oddbytes.com/?v3=system"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="pauseAccount">
      <soap:operation soapAction="https://api.oddbytes.com/?v3=system#pauseAccount" style="rpc"/>
      <wsdl:documentation>Pauses serving for your whole account, if it was active.&amp;nbsp; Upon completion, you will receive no traffic until account is resumed.&amp;nbsp; Please note that account &lt;b&gt;can not&lt;/b&gt; be paused if it contains no online campaigns.</wsdl:documentation>
      <wsdl:input>
        <soap:header use="literal" message="tns:AuthenticateHeader" part="requestData"/>
        <soap:body use="literal" namespace="https://api.oddbytes.com/?v3=system"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" namespace="https://api.oddbytes.com/?v3=system"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="PublicApiSystemSoapProviderService">
    <wsdl:port name="PublicApiSystemSoapProviderPort" binding="tns:PublicApiSystemSoapProviderBinding">
      <soap:address location="https://api.oddbytes.com/?v3=system"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>
