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

 

Parameter Summary:

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

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

campaign_id / INT = Campaign ID {See offers.asmx > OfferFeed}

creative_id / INT = Creative ID {See offers.asmx > OfferFeed}

 

Parameter Types:

api_key - ID

affiliate_id - ID

campaign_id - ID

creative_id - ID

 

Sample GET Call:

https://demo.cakemarketing.com/affiliates/api/2/offers.asmx/GetCreativeCode?api_key=OIohoAIOxMHZeo7EjB2IQg&affiliate_id=5969&campaign_id=13282&creative_id=1130009

 

Sample XML Response:

<creative_code_response>
  <success>true</success>
  <row_count>2</row_count>
  <creative_files>
    <creative_file>
      <file_name>debt_map_v100.html</file_name>
      <file_content>
<html>
<head>
<title>da _email</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table id="Table_01" width="566" height="400" border="0" cellpadding="0" cellspacing="0" align="center">
      <tr>
    <td colspan="2"><div align="center"><font size="-2" color="#999999">Can't see the images? Click <a style="color:#999999" href="http://demotrk.cakemarketing.com/?a=5969&c=1130009&s1=">here</a> or copy and paste into your browser: <a style="color:#999999" href="http://apiurl.com/uc/gen_synd_unsub.pl?keyID=hlkjh23423hljk&advID=1&affID=5969&chk=eaaa04309e6ed912a249ad065e043390">http://www.debt-agency.us/da/</a></font></div></td>
  </tr>
    <tr>
        <td>
            <a href="http://www.debt-agency.us/da/"><img border="0" src="debt_map_v100_1.jpg" width="600" height="100" alt="A Stimulus Package to Get OUT of Debt"></a></td>
    </tr>
    <tr>
        <td>
            <a href="http://www.debt-agency.us/da/"><img border="0" src="debt_map_v100_2.jpg" width="600" height="100" alt="Our services could: Reduce credit card debt 50%"></a></td>
    </tr>
    <tr>
        <td>
            <a href="http://www.debt-agency.us/da/"><img border="0" src="debt_map_v100_3.jpg" width="600" height="100" alt="Homeownership not required, Debt free in 12-36 months"></a></td>
    </tr>
    <tr>
        <td>
            <a href="http://www.debt-agency.us/da/"><img border="0" src="debt_map_v100_4.jpg" width="600" height="100" alt="Free no obligation offer, Avoid filing bancruptcy"></a></td>
    </tr>
    <tr>
        <td>
            <a href="http://www.debt-agency.us/da/"><img border="0" src="debt_map_v100_5.jpg" width="600" height="100" alt="Debt-Agency.us"></a></td>
    </tr>
  <tr>
    <td colspan="2"><div align="center"><font size="-2" color="#999999">Customer Service, 93 S Jackson St #25145, Seattle, WA 98104<br>Unsubscribe: <a style="color:#999999" href="http://www.dnelist.com">here</a></font></div></td>
  </tr>
</table>
</body>
</html></file_content>
    </creative_file>
    <creative_file>
      <file_name>debt_map_v100.txt</file_name>
      <file_content>A Stimulus Package to Get OUT of DEBT  http://demotrk.cakemarketing.com/?a=5969&c=1130009&s1=</file_content>
    </creative_file>
  </creative_files>
</creative_code_response>