GET Advertisers API

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

Summary:

Returns an array of advertisers.

Resource/WSDL Page:

http://<your_domain_here>/api/1/get.asmx?op=Advertisers

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/Advertisers?api_key=dNJFmId9rI

 

Sample XML Response:

<ArrayOfAdvertiser>
  <Advertiser>
    <advertiser_id>1</advertiser_id>
    <advertiser_name>Rename Advertiser</advertiser_name>
  </Advertiser>
  <Advertiser>
    <advertiser_id>2</advertiser_id>
    <advertiser_name>Mink Media</advertiser_name>
  </Advertiser>
  <Advertiser>
    <advertiser_id>3</advertiser_id>
    <advertiser_name>Beach Side Ventures</advertiser_name>
  </Advertiser>
  <Advertiser>
    <advertiser_id>4</advertiser_id>
    <advertiser_name>Star Media Network</advertiser_name>
  </Advertiser>
  <Advertiser>
    <advertiser_id>5</advertiser_id>
    <advertiser_name>Belmar INC</advertiser_name>
  </Advertiser>
  <Advertiser>
    <advertiser_id>6</advertiser_id>
    <advertiser_name>Brand Media</advertiser_name>
  </Advertiser>
  <Advertiser>
    <advertiser_id>7</advertiser_id>
    <advertiser_name>Zoo Creatives</advertiser_name>
  </Advertiser>
  <Advertiser>
    <advertiser_id>8</advertiser_id>
    <advertiser_name>Sticky Notes</advertiser_name>
  </Advertiser>
  <Advertiser>
    <advertiser_id>9</advertiser_id>
    <advertiser_name>Gentle Giant</advertiser_name>
  </Advertiser>
  <Advertiser>
    <advertiser_id>10</advertiser_id>
    <advertiser_name>Advertiser of Records</advertiser_name>
  </Advertiser>
  <Advertiser>
    <advertiser_id>11</advertiser_id>
    <advertiser_name>Flower Mania</advertiser_name>
  </Advertiser>
  <Advertiser>
    <advertiser_id>12</advertiser_id>
    <advertiser_name>Allstar Media</advertiser_name>
  </Advertiser>
  <Advertiser>
    <advertiser_id>13</advertiser_id>
    <advertiser_name>Jo's Test Advertiser</advertiser_name>
  </Advertiser>
  <Advertiser>
    <advertiser_id>14</advertiser_id>
    <advertiser_name>Account Media</advertiser_name>
  </Advertiser>
  <Advertiser>
    <advertiser_id>17</advertiser_id>
    <advertiser_name>Allstar Network</advertiser_name>
  </Advertiser>
  <Advertiser>
    <advertiser_id>18</advertiser_id>
    <advertiser_name>Abright Marketing</advertiser_name>
  </Advertiser>
  <Advertiser>
    <advertiser_id>19</advertiser_id>
    <advertiser_name>Barings New Media</advertiser_name>
  </Advertiser>
  <Advertiser>
    <advertiser_id>20</advertiser_id>
    <advertiser_name>Cash Call</advertiser_name>
  </Advertiser>
</ArrayOfAdvertiser>

Example Error Messages:  

Error Message

Likely Cause

Invalid API Key

API key does not exist or is expired