Submit a Ticket My Tickets
Welcome
Login  Sign up

EXPORT Affiliates Version 1

 

EXPORT Affiliates Version 1

Updated on 2014-03-26
Current Version: Version 1
Deprecated Version: 
Requests Allowed: GET&SOAP

 

Summary:

Returns an array of affiliates and its properties.

Resource/WSDL Page:

http://yourdomainhere.com/api/1/export.asmx?op=Advertisers

Parameters

api_key
Required
Type: STRING
Length (Max/Min): 50

Must be a valid API key (existing and NOT expired)

affiliate_id

Required

Type: INT
Length (Max/Min): NA 

If passing anything <= 0 the result will include all affiliates.  Referring Affiliate must exist already 

 **Note all optional parameters still need to be passed through in the actual call. These parameters do not need a value (therefore you can use a null value). 

 

Example Request

GET

http://demo.cakemarketing.com/api/1/export.asmx/Affiliates?api_key=dNJFmId9rI&affiliate_id=6066

 

Sample XML Response:

<ArrayOfAffiliate>
  <Affiliate>
    <affiliate_id>6066</affiliate_id>
    <affiliate_name>#1 Affiliate</affiliate_name>
    <account_manager_id>3295</account_manager_id>
    <account_manager_name>Something Else</account_manager_name>
    <status_name>Active</status_name>
    <pay_for_conversions>true</pay_for_conversions>
    <review>false</review>
    <review_new_subaffiliates>false</review_new_subaffiliates>
    <throttle_active>false</throttle_active>
    <throttle_cap xsi:nil="true"/>
    <auto_approve_campaigns>false</auto_approve_campaigns>
    <auto_approve_pixels>false</auto_approve_pixels>
    <payment_fee xsi:nil="true"/>
    <minimum_payment_threshold>10.0000</minimum_payment_threshold>
    <tags>
      <string>Super</string>
      <string>Super Affiliate </string>
      <string>Testing Tag</string>
      <string>testing</string>
    </tags>
    <media_types>
      <MediaType>
        <type_id>7</type_id>
        <type_name>Banner</type_name>
        <category_id>1</category_id>
        <category_name>Display</category_name>
      </MediaType>
    </media_types>
    <price_formats>
      <string>CPA</string>
      <string>CPC</string>
    </price_formats>
    <vertical_categories>
      <string>BizOp</string>
    </vertical_categories>
    <online_signup>false</online_signup>
    <date_created>2013-03-20T09:34:30.863</date_created>
    <notes>his traffic converts the best!</notes>
  </Affiliate>
</ArrayOfAffiliate>

 

Example Error Messages: 

Error Message

Likely Cause

Invalid API Key

API key does not exist or is expired

Invalid Affiliate ID

Affiliate ID does not exist

 

 

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.