SIGNUP GetTrafficTypes API Version 1
Updated on 2014-06-02
Current Version: Version 1
Deprecated Version: NA
Requests Allowed: GET&SOAP
Summary:
Returns an array of traffic types.
Resource/WSDL Page:
http://<your_domain_here>/api/1/signup.asmx?op=GetTrafficTypes
Parameters
api_key | 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-new.cakemarketing.com/api/1/signup.asmx/GetTrafficTypes?api_key=3YmDJeT3VHTFhDqAjr2OlQ |
Sample XML Response:
<TrafficTypes>
<MediaTypes>
<MediaType>
<media_type_id>15</media_type_id>
<type_name>Adware</type_name>
</MediaType>
<MediaType>
<media_type_id>7</media_type_id>
<type_name>Banner</type_name>
</MediaType>
<MediaType>
<media_type_id>6</media_type_id>
<type_name>Co-Reg</type_name>
</MediaType>
<MediaType>
<media_type_id>8</media_type_id>
<type_name>Contextual</type_name>
</MediaType>
<MediaType>
<media_type_id>3</media_type_id>
<type_name>Email</type_name>
</MediaType>
<MediaType>
<media_type_id>12</media_type_id>
<type_name>Incentivized</type_name>
</MediaType>
<MediaType>
<media_type_id>17</media_type_id>
<type_name>Linkout</type_name>
</MediaType>
<MediaType>
<media_type_id>42</media_type_id>
<type_name>Mobile</type_name>
</MediaType>
<MediaType>
<media_type_id>2</media_type_id>
<type_name>Network</type_name>
</MediaType>
<MediaType>
<media_type_id>13</media_type_id>
<type_name>Other</type_name>
</MediaType>
<MediaType>
<media_type_id>1</media_type_id>
<type_name>Post</type_name>
</MediaType>
<MediaType>
<media_type_id>4</media_type_id>
<type_name>PPC</type_name>
</MediaType>
<MediaType>
<media_type_id>9</media_type_id>
<type_name>Radio</type_name>
</MediaType>
<MediaType>
<media_type_id>44</media_type_id>
<type_name>Restricted</type_name>
</MediaType>
<MediaType>
<media_type_id>5</media_type_id>
<type_name>SEO</type_name>
</MediaType>
<MediaType>
<media_type_id>16</media_type_id>
<type_name>Social Media</type_name>
</MediaType>
<MediaType>
<media_type_id>43</media_type_id>
<type_name>test</type_name>
</MediaType>
<MediaType>
<media_type_id>10</media_type_id>
<type_name>TV</type_name>
</MediaType>
<MediaType>
<media_type_id>11</media_type_id>
<type_name>Upsell</type_name>
</MediaType>
</MediaTypes>
<PriceFormats>
<PriceFormat>
<price_format_id>1</price_format_id>
<format_name>CPA</format_name>
</PriceFormat>
<PriceFormat>
<price_format_id>2</price_format_id>
<format_name>CPC</format_name>
</PriceFormat>
<PriceFormat>
<price_format_id>3</price_format_id>
<format_name>CPM</format_name>
</PriceFormat>
<PriceFormat>
<price_format_id>4</price_format_id>
<format_name>Fixed</format_name>
</PriceFormat>
<PriceFormat>
<price_format_id>5</price_format_id>
<format_name>RevShare</format_name>
</PriceFormat>
</PriceFormats>
<VerticalCategories>
<VerticalCategory>
<vertical_category_id>1</vertical_category_id>
<category_name>BizOp</category_name>
</VerticalCategory>
<VerticalCategory>
<vertical_category_id>2</vertical_category_id>
<category_name>Education</category_name>
</VerticalCategory>
<VerticalCategory>
<vertical_category_id>3</vertical_category_id>
<category_name>Financial</category_name>
</VerticalCategory>
<VerticalCategory>
<vertical_category_id>4</vertical_category_id>
<category_name>Free Giveaways</category_name>
</VerticalCategory>
<VerticalCategory>
<vertical_category_id>5</vertical_category_id>
<category_name>Health & Beauty</category_name>
</VerticalCategory>
<VerticalCategory>
<vertical_category_id>6</vertical_category_id>
<category_name>Retail</category_name>
</VerticalCategory>
<VerticalCategory>
<vertical_category_id>7</vertical_category_id>
<category_name>Social Networking</category_name>
</VerticalCategory>
<VerticalCategory>
<vertical_category_id>11</vertical_category_id>
<category_name>Travel</category_name>
</VerticalCategory>
<VerticalCategory>
<vertical_category_id>12</vertical_category_id>
<category_name>Excercise </category_name>
</VerticalCategory>
<VerticalCategory>
<vertical_category_id>13</vertical_category_id>
<category_name>Dating </category_name>
</VerticalCategory>
<VerticalCategory>
<vertical_category_id>14</vertical_category_id>
<category_name>Quizzes</category_name>
</VerticalCategory>
<VerticalCategory>
<vertical_category_id>15</vertical_category_id>
<category_name>insurance </category_name>
</VerticalCategory>
<VerticalCategory>
<vertical_category_id>16</vertical_category_id>
<category_name>??????????</category_name>
</VerticalCategory>
<VerticalCategory>
<vertical_category_id>18</vertical_category_id>
<category_name>Test 1</category_name>
</VerticalCategory>
<VerticalCategory>
<vertical_category_id>19</vertical_category_id>
<category_name>BizOp</category_name>
</VerticalCategory>
<VerticalCategory>
<vertical_category_id>20</vertical_category_id>
<category_name>Software</category_name>
</VerticalCategory>
<VerticalCategory>
<vertical_category_id>21</vertical_category_id>
<category_name>Vertical Category</category_name>
</VerticalCategory>
<VerticalCategory>
<vertical_category_id>22</vertical_category_id>
<category_name>PIck Team</category_name>
</VerticalCategory>
<VerticalCategory>
<vertical_category_id>23</vertical_category_id>
<category_name>Online Gaming</category_name>
</VerticalCategory>
<VerticalCategory>
<vertical_category_id>24</vertical_category_id>
<category_name>Gaming</category_name>
</VerticalCategory>
<VerticalCategory>
<vertical_category_id>25</vertical_category_id>
<category_name>Auto</category_name>
</VerticalCategory>
<VerticalCategory>
<vertical_category_id>29</vertical_category_id>
<category_name>Jo-Test</category_name>
</VerticalCategory>
<VerticalCategory>
<vertical_category_id>30</vertical_category_id>
<category_name>Tuesday Meetings</category_name>
</VerticalCategory>
</VerticalCategories>
</TrafficTypes>
Example Error Messages:
Error Message | Likely Cause |
Invalid API Key | API key does not exist or is expired |