Submit a Ticket My Tickets
Welcome
Login  Sign up

GET Verticals API Version 2

GET Verticals API Version 2

Updated on 2016-02-26
Current Version: Version 2
Deprecated Version: 1
Requests Allowed: GET&SOAP


Summary:

Returns an array of link verticals


Resource/WSDL Page:

http://<your_domain_here>/api/2/get.asmx?op=Verticals


Parameters

api_key
Required
Type: STRING

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

Example Values: RUxep4nIQQmSAFn4JFECgOMdvJLeocp

vertical_category_id

Required
Type: INT

Filter by a vertical category ID. Pass 0 for all
Example Values: 0

 **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

https://demo-new.cakemarketing.com/api/2/get.asmx/Verticals?api_key=3YmDJeT3VHTFhDqAjr2OlQ&vertical_category_id=0


 

Sample XML Response:

      

<vertical_response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://cakemarketing.com/api/2/">
<success>true</success>
<row_count>4</row_count>
<verticals>
<vertical>
<vertical_id>-1</vertical_id>
<vertical_name>Global</vertical_name>
<review_upsells>true</review_upsells>
</vertical>
<vertical>
<vertical_id>0</vertical_id>
<vertical_name>Unassigned</vertical_name>
<review_upsells>false</review_upsells>
<vertical_category>
<vertical_category_id xmlns="API:id_name_store">0</vertical_category_id>
<vertical_category_name xmlns="API:id_name_store">Unassigned</vertical_category_name>
</vertical_category>
</vertical>
<vertical>
<vertical_id>1</vertical_id>
<vertical_name>Marketing Technology</vertical_name>
<review_upsells>true</review_upsells>
<vertical_category>
<vertical_category_id xmlns="API:id_name_store">4</vertical_category_id>
<vertical_category_name xmlns="API:id_name_store">Free Giveaways</vertical_category_name>
</vertical_category>
<redirect_offer>
<offer_contract_id xmlns="API:id_name_store">584</offer_contract_id>
<offer_contract_name xmlns="API:id_name_store">
$1000 Liberator.com Gift Certificate - name - CPA - $6.00
</offer_contract_name>
</redirect_offer>
<routing_information>
<router_on>true</router_on>
<tie_favors_exclusive>false</tie_favors_exclusive>
<resell_limit>3</resell_limit>
<sweeper_partners>0</sweeper_partners>
<margin_control_on>false</margin_control_on>
<expiration_hours>72</expiration_hours>
<minimum_lead_age>0</minimum_lead_age>
<maximum_lead_age>3200000</maximum_lead_age>
<delivery_percentage_weight>0.20</delivery_percentage_weight>
<posting_error_percentage_weight>0.50</posting_error_percentage_weight>
<response_time_weight>0.00</response_time_weight>
</routing_information>
</vertical>
<vertical>
<vertical_id>2</vertical_id>
<vertical_name>Tax Settlement</vertical_name>
<review_upsells>true</review_upsells>
<vertical_category>
<vertical_category_id xmlns="API:id_name_store">3</vertical_category_id>
<vertical_category_name xmlns="API:id_name_store">Financial</vertical_category_name>
</vertical_category>
<redirect_offer>
<offer_contract_id xmlns="API:id_name_store">1300</offer_contract_id>
<offer_contract_name xmlns="API:id_name_store">Felipe xyz offer - CPA - $20.00</offer_contract_name>
</redirect_offer>
<routing_information>
<router_on>true</router_on>
<tie_favors_exclusive>true</tie_favors_exclusive>
<resell_limit>50</resell_limit>
<sweeper_partners>0</sweeper_partners>
<margin_control_on>false</margin_control_on>
<expiration_hours>25000</expiration_hours>
<minimum_lead_age>0</minimum_lead_age>
<maximum_lead_age>160000</maximum_lead_age>
<delivery_percentage_weight>0.00</delivery_percentage_weight>
<posting_error_percentage_weight>0.00</posting_error_percentage_weight>
<response_time_weight>0.00</response_time_weight>
</routing_information>
</vertical>
</verticals>
</vertical_response>

      


Example Error Messages: 

Error Message

Likely Cause

Invalid API Key

API key does not exist or is expired

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.