EXPORT Blacklists API V1

Updated on 2015-03-25
Current Version: Version 1
Deprecated Version: N/A
Requests Allowed: GET& SOAP

 

Summary:

Returns an array of blacklists potentially filtered by affiliate, subaffiliate, advertiser id, or offer id


Resource/WSDL Page:

http://<your_domain_here>/api/1/export.asmx?op=Blacklists


Parameters

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

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


Example Values: ej7Cjys7pnJzSiMzsgzyth1u3d7PdXn

affiliate_id

Required

Type: INT

Length (Max/Min): NA

0 to skip

Example Values: 12

sub_id

Optional

Type: STRING

Length (Max/Min): NA

Not required and can accept blank value.  Used to filter records matching the value or will return all records if blank.

Example Values: Sub_id34

advertiser_id

Required

Type: INT

Length (Max/Min): NA

Must pass at least >= 0 as value.  Used to filter records matching the value or will return all records if = 0.

Example Values: 123

offer_id

Required

Type: INT

Length (Max/Min): NA

Must pass at least >= 0 as value.  Used to filter records matching the value or will return all records if = 0.

Example Values: 123456



 **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/export.asmx/Blacklists?api_key=ej7Cjys7pnJzSiMzsgzyth1u3d7PdXn&affiliate_id=0&sub_id=&advertiser_id=0&offer_id=0

 


Sample XML Response:

<blacklist_export_response><success>true</success><row_count>295</row_count><blacklists><blacklist><blacklist_id>168</blacklist_id><advertiser><advertiser_id>1</advertiser_id><advertiser_name>CAKE Master Advertiser</advertiser_name></advertiser><offer><offer_id>134</offer_id><offer_name>Are You Interested - 30 +</offer_name></offer><affiliate><affiliate_id>2575</affiliate_id><affiliate_name>Affilate 2575</affiliate_name></affiliate><blacklist_reason><blacklist_reason_id>7</blacklist_reason_id><blacklist_reason_name>Fraudulent Traffic</blacklist_reason_name></blacklist_reason><blacklist_type><blacklist_type_id>2</blacklist_type_id><blacklist_type_name>Offer Redirect</blacklist_type_name></blacklist_type><date_created>2012-11-07T00:00:00</date_created></blacklist><blacklist><blacklist_id>266</blacklist_id><advertiser><advertiser_id>1</advertiser_id><advertiser_name>CAKE Master Advertiser</advertiser_name></advertiser><offer><offer_id>148</offer_id><offer_name>$500 Off MasterVisaCard</offer_name></offer><affiliate><affiliate_id>5972</affiliate_id><affiliate_name>Drew Media</affiliate_name></affiliate><blacklist_reason><blacklist_reason_id>7</blacklist_reason_id><blacklist_reason_name>Fraudulent Traffic</blacklist_reason_name></blacklist_reason><blacklist_type><blacklist_type_id>3</blacklist_type_id><blacklist_type_name>404</blacklist_type_name></blacklist_type><date_created>2013-09-16T00:00:00</date_created></blacklist><blacklist><blacklist_id>192</blacklist_id><advertiser><advertiser_id>1</advertiser_id><advertiser_name>CAKE Master Advertiser</advertiser_name></advertiser><offer><offer_id>205</offer_id><offer_name>Deluxe ADista Mobile App Install</offer_name></offer><affiliate><affiliate_id>1922</affiliate_id><affiliate_name>Addent Media</affiliate_name></affiliate><blacklist_reason><blacklist_reason_id>6</blacklist_reason_id><blacklist_reason_name>Affiliate On Pause</blacklist_reason_name></blacklist_reason><blacklist_type><blacklist_type_id>1</blacklist_type_id><blacklist_type_name>Global Redirect</blacklist_type_name></blacklist_type><date_created>2013-01-14T00:00:00</date_created></blacklist><blacklist><blacklist_id>193</blacklist_id><advertiser><advertiser_id>1</advertiser_id><advertiser_name>CAKE Master Advertiser</advertiser_name></advertiser><offer><offer_id>205</offer_id><offer_name>Deluxe ADista Mobile App Install</offer_name></offer><affiliate><affiliate_id>2263</affiliate_id><affiliate_name>Missions Media</affiliate_name></affiliate><blacklist_reason><blacklist_reason_id>4</blacklist_reason_id><blacklist_reason_name>On Hold</blacklist_reason_name></blacklist_reason><blacklist_type><blacklist_type_id>1</blacklist_type_id><blacklist_type_name>Global Redirect</blacklist_type_name></blacklist_type><date_created>2012-12-03T00:00:00</date_created></blacklist><blacklist><blacklist_id>302</blacklist_id><advertiser><advertiser_id>9</advertiser_id><advertiser_name>Gentle Giant</advertiser_name></advertiser><offer><offer_id>1000826</offer_id><offer_name>MyDentistMatches</offer_name></offer><affiliate><affiliate_id>5287</affiliate_id><affiliate_name>Affilate 5287</affiliate_name></affiliate><blacklist_reason><blacklist_reason_id>7</blacklist_reason_id><blacklist_reason_name>Fraudulent Traffic</blacklist_reason_name></blacklist_reason><blacklist_type><blacklist_type_id>3</blacklist_type_id><blacklist_type_name>404</blacklist_type_name></blacklist_type><date_created>2014-01-29T00:00:00</date_created></blacklist><blacklist><blacklist_id>142</blacklist_id><advertiser><advertiser_id>11</advertiser_id><advertiser_name>Flower Mania</advertiser_name></advertiser><affiliate><affiliate_id>1222</affiliate_id><affiliate_name>NB Affiliate</affiliate_name></affiliate><blacklist_reason><blacklist_reason_id>7</blacklist_reason_id><blacklist_reason_name>Fraudulent Traffic</blacklist_reason_name></blacklist_reason><blacklist_type><blacklist_type_id>3</blacklist_type_id><blacklist_type_name>404</blacklist_type_name></blacklist_type><date_created>2012-09-21T00:00:00</date_created></blacklist><blacklist><blacklist_id>149</blacklist_id><advertiser><advertiser_id>11</advertiser_id><advertiser_name>Flower Mania</advertiser_name></advertiser><affiliate><affiliate_id>1222</affiliate_id><affiliate_name>NB Affiliate</affiliate_name></affiliate><blacklist_reason><blacklist_reason_id>7</blacklist_reason_id><blacklist_reason_name>Fraudulent Traffic</blacklist_reason_name></blacklist_reason><blacklist_type><blacklist_type_id>3</blacklist_type_id><blacklist_type_name>404</blacklist_type_name></blacklist_type><date_created>2012-10-04T00:00:00</date_created></blacklist><blacklist><blacklist_id>161</blacklist_id><advertiser><advertiser_id>11</advertiser_id><advertiser_name>Flower Mania</advertiser_name></advertiser><affiliate><affiliate_id>1222</affiliate_id><affiliate_name>NB Affiliate</affiliate_name></affiliate><blacklist_reason><blacklist_reason_id>7</blacklist_reason_id><blacklist_reason_name>Fraudulent Traffic</blacklist_reason_name></blacklist_reason><blacklist_type><blacklist_type_id>3</blacklist_type_id><blacklist_type_name>404</blacklist_type_name></blacklist_type><date_created>2012-10-31T00:00:00</date_created></blacklist><blacklist><blacklist_id>191</blacklist_id><advertiser><advertiser_id>11</advertiser_id><advertiser_name>Flower Mania</advertiser_name></advertiser><affiliate><affiliate_id>2309</affiliate_id><affiliate_name>1-Affiliate Window</affiliate_name></affiliate><sub_id>100224_ALB</sub_id><blacklist_reason><blacklist_reason_id>7</blacklist_reason_id><blacklist_reason_name>Fraudulent Traffic</blacklist_reason_name></blacklist_reason><blacklist_type><blacklist_type_id>3</blacklist_type_id><blacklist_type_name>404</blacklist_type_name></blacklist_type><date_created>2013-01-13T00:00:00</date_created></blacklist><blacklist><blacklist_id>148</blacklist_id><advertiser><advertiser_id>11</advertiser_id><advertiser_name>Flower Mania</advertiser_name></advertiser><affiliate><affiliate_id>2309</affiliate_id><affiliate_name>1-Affiliate Window</affiliate_name></affiliate><sub_id>100224_ALB</sub_id><blacklist_reason><blacklist_reason_id>7</blacklist_reason_id><blacklist_reason_name>Fraudulent Traffic</blacklist_reason_name></blacklist_reason><blacklist_type><blacklist_type_id>3</blacklist_type_id><blacklist_type_name>404</blacklist_type_name></blacklist_type><date_created>2012-10-04T00:00:00</date_created></blacklist><blacklist><blacklist_id>151</blacklist_id><advertiser><advertiser_id>11</advertiser_id><advertiser_name>Flower Mania</advertiser_name></advertiser><affiliate><affiliate_id>5960</affiliate_id><affiliate_name>Dark Energy</affiliate_name></affiliate><blacklist_reason><blacklist_reason_id>7</blacklist_reason_id><blacklist_reason_name>Fraudulent Traffic</blacklist_reason_name></blacklist_reason><blacklist_type><blacklist_type_id>3</blacklist_type_id><blacklist_type_name>404</blacklist_type_name></blacklist_type><date_created>2012-10-04T00:00:00</date_created></blacklist>


Example Error Messages: 

Error Message

Likely Cause

Invalid API key

API key does not exist or is expired