WSDL Page:  http://<your_domain_here>/affiliate/api/2/offers.asmx?op=GetPixelTokens

 

Parameter Summary:

api_key / STRING = Affiliate API Key {See auth.asmx > Login}

affiliate_id / INT = Affiliate ID {See auth.asmx > Login}

 

Parameter Types:

api_key - ID

affiliate_id - ID

 

Sample GET Call:

https://demo.cakemarketing.com/affiliates/api/2/offers.asmx/GetPixelTokens?api_key=OIohoAIOxMHZeo7EjB2IQg&affiliate_id=5969 


Sample XML Response:

<pixel_token_response>
  <success>true</success>
  <row_count>11</row_count>
  <pixel_tokens>
    <pixel_token>
      <token_name>#leadid#</token_name>
      <token_label>Lead ID</token_label>
    </pixel_token>
    <pixel_token>
      <token_name>#affid#</token_name>
      <token_label>Affiliate ID</token_label>
    </pixel_token>
    <pixel_token>
      <token_name>#oid#</token_name>
      <token_label>Offer ID</token_label>
    </pixel_token>
    <pixel_token>
      <token_name>#campid#</token_name>
      <token_label>Campaign ID</token_label>
    </pixel_token>
    <pixel_token>
      <token_name>#cid#</token_name>
      <token_label>Creative ID</token_label>
    </pixel_token>
    <pixel_token>
      <token_name>#s1#</token_name>
      <token_label>Sub ID 1</token_label>
    </pixel_token>
    <pixel_token>
      <token_name>#s2#</token_name>
      <token_label>Sub ID 2</token_label>
    </pixel_token>
    <pixel_token>
      <token_name>#s3#</token_name>
      <token_label>Sub ID 3</token_label>
    </pixel_token>
    <pixel_token>
      <token_name>#s4#</token_name>
      <token_label>Sub ID 4</token_label>
    </pixel_token>
    <pixel_token>
      <token_name>#s5#</token_name>
      <token_label>Sub ID 5</token_label>
    </pixel_token>
    <pixel_token>
      <token_name>#price#</token_name>
      <token_label>Payout</token_label>
    </pixel_token>
  </pixel_tokens>
</pixel_token_response>