GET AffiliateTags API V1

Updated on 2014-05-20
Current Version: Version 1
Deprecated Version: NA
Requests Allowed: GET&SOAP


Summary:

Returns an array of affiliate tags.


Resource/WSDL Page:

http:///api/1/get.asmx?op=AffiliateTags


Parameters

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

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

Example Values: Fo35NRAqvFLXoZxqB4aViaiYM7iVMhh

 **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/get.asmx/AffiliateTags?api_key=dNJFmId9rI

 

Sample XML Response:

<affiliate_tags_response>
  <success>true</success>
  <row_count>20</row_count>
  <tags>
    <tag>
      <tag_id>1</tag_id>
      <tag_name>Internal</tag_name>
    </tag>
    <tag>
      <tag_id>2</tag_id>
      <tag_name>External</tag_name>
    </tag>
    <tag>
      <tag_id>3</tag_id>
      <tag_name>Affiliate Summit East</tag_name>
    </tag>
    <tag>
      <tag_id>4</tag_id>
      <tag_name>Education</tag_name>
    </tag>
    <tag>
      <tag_id>5</tag_id>
      <tag_name>CPM</tag_name>
    </tag>
    <tag>
      <tag_id>6</tag_id>
      <tag_name>Prepayment Required</tag_name>
    </tag>
    <tag>
      <tag_id>7</tag_id>
      <tag_name>Biz Opp</tag_name>
    </tag>
    <tag>
      <tag_id>8</tag_id>
      <tag_name>CPC</tag_name>
    </tag>
    <tag>
      <tag_id>9</tag_id>
      <tag_name>Insurance</tag_name>
    </tag>
    <tag>
      <tag_id>10</tag_id>
      <tag_name>call center leads</tag_name>
    </tag>
    <tag>
      <tag_id>11</tag_id>
      <tag_name>Media Buys</tag_name>
    </tag>
    <tag>
      <tag_id>12</tag_id>
      <tag_name>Social Media</tag_name>
    </tag>
    <tag>
      <tag_id>13</tag_id>
      <tag_name>mobile</tag_name>
    </tag>
    <tag>
      <tag_id>14</tag_id>
      <tag_name>gaming</tag_name>
    </tag>
    <tag>
      <tag_id>15</tag_id>
      <tag_name>download</tag_name>
    </tag>
    <tag>
      <tag_id>16</tag_id>
      <tag_name>Branded Offers</tag_name>
    </tag>
    <tag>
      <tag_id>17</tag_id>
      <tag_name>PPC</tag_name>
    </tag>
    <tag>
      <tag_id>18</tag_id>
      <tag_name>host n post</tag_name>
    </tag>
    <tag>
      <tag_id>19</tag_id>
      <tag_name>iframe</tag_name>
    </tag>
    <tag>
      <tag_id>20</tag_id>
      <tag_name>search</tag_name>
    </tag>
  </tags>
</affiliate_tags_response>

Example Error Messages:  

Error Message

Likely Cause

Invalid API Key

API key does not exist or is expired