WSDL Page: http://your-admin-domain-here.com/api/1/reports.asmx?op=LeadsByAffiliateExport
Parameter Summary:
api_key / STRING = Admin API Key {See GET API Key}
start_date / DATETIME = Report Start Date [MM/DD/YYYY HH:MM:SS]
end_date / DATETIME = Report End Date [MM/DD/YYYY HH:MM:SS]
affiliate_id / INT = Affiliate ID ["0" = ALL Affiliates] {See EXPORT Affiliates}
contact_id / INT = Lead Approval Contact ID ["0" = ALL Contacts]
Parameter Types:
api_key - ID
start_date - ID
end_date - ID
affiliate_id - ID
contact_id - ID
Sample GET Call:
Sample XML Response:
<ArrayOfLeadsByAffiliate>
<LeadsByAffiliate>
<publisher_id>48</publisher_id>
<publisher_name>CPAButt</publisher_name>
<campaign_id>100</campaign_id>
<campaign_name>AppTastic</campaign_name>
<advertiser_id>1</advertiser_id>
<advertiser_name>Rename Advertiser</advertiser_name>
<contract_id>958</contract_id>
<creative_id>1</creative_id>
<creative_name>Super Creative </creative_name>
<lead_id>520902</lead_id>
<unique_id>8B53C0FE</unique_id>
<first_name>John</first_name>
<last_name>Doe</last_name>
<city>Los Angeles</city>
<state>CA</state>
<zip_code>90120</zip_code>
<email_address>[email protected]</email_address>
<phone_work>555-1212</phone_work>
<ip_address>192.168.1.1</ip_address>
<subpublisher_id>8548</subpublisher_id>
<subid_1>MDTA1d7</subid_1>
<user_agent>Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB6; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; Zune 3.0; .NET CLR 3.0.30729)</user_agent>
<lead_date>2012-01-01T00:04:35.127</lead_date>
<vertical_id>1</vertical_id>
<vertical_name>Fast Food</vertical_name>
<vertical_data>0</vertical_data>
<test>0</test>
<sellable>1</sellable>
<approved>0</approved>
<rejected>0</rejected>
<thrownout>0</thrownout>
<paid>1</paid>
<pixel_dropped>1</pixel_dropped>
<throttled>0</throttled>
<price_owed>19.0000</price_owed>
<price_received>4.7500</price_received>
<lead_score>50</lead_score>
<returned>0</returned>
<dispositions>(1) Valid Mobile Phone, No Additional Information Available-(2) Business Phone, No Additional Information Available-</dispositions>
<all_vertical_data>
<data>
<debt_amount>12000</debt_amount>
</data>
</all_vertical_data>
<vertical_fields>{best_time1:},{New_Question:},{bank_account:},{Insurance:},{LT:},{BirthDate:},{programOfInterest:}</vertical_fields>
</LeadsByAffiliate>
<LeadsByAffiliate>
<publisher_id>48</publisher_id>
<publisher_name>CPAButt</publisher_name>
<campaign_id>100</campaign_id>
<campaign_name>AppTastic</campaign_name>
<advertiser_id>1</advertiser_id>
<advertiser_name>Rename Advertiser</advertiser_name>
<contract_id>958</contract_id>
<creative_id>1</creative_id>
<creative_name>Super Creative </creative_name>
<lead_id>520903</lead_id>
<unique_id>1276C0FF</unique_id>
<first_name>John</first_name>
<last_name>Doe</last_name>
<city>Los Angeles</city>
<state>CA</state>
<zip_code>90120</zip_code>
<email_address>[email protected]</email_address>
<phone_work>555-1212</phone_work>
<ip_address>192.168.1.1</ip_address>
<subpublisher_id>8926</subpublisher_id>
<subid_1>ITC4D7</subid_1>
<user_agent>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6 (.NET CLR 3.5.30729)</user_agent>
<lead_date>2012-01-01T00:14:04.42</lead_date>
<vertical_id>1</vertical_id>
<vertical_name>Fast Food</vertical_name>
<vertical_data>0</vertical_data>
<test>0</test>
<sellable>1</sellable>
<approved>0</approved>
<rejected>0</rejected>
<thrownout>0</thrownout>
<paid>1</paid>
<pixel_dropped>1</pixel_dropped>
<throttled>0</throttled>
<price_owed>19.0000</price_owed>
<price_received>27.2500</price_received>
<lead_score>50</lead_score>
<returned>0</returned>
<dispositions>(1) Input Name and Telecommunication Network Name Match-</dispositions>
<all_vertical_data>
<data>
<debt_amount>12000</debt_amount>
</data>
</all_vertical_data>
<vertical_fields>{best_time1:},{New_Question:},{bank_account:},{Insurance:},{LT:},{BirthDate:},{programOfInterest:}</vertical_fields>
</LeadsByAffiliate>
<LeadsByAffiliate>
<publisher_id>48</publisher_id>
<publisher_name>CPAButt</publisher_name>
<campaign_id>100</campaign_id>
<campaign_name>AppTastic</campaign_name>
<advertiser_id>1</advertiser_id>
<advertiser_name>Rename Advertiser</advertiser_name>
<contract_id>958</contract_id>
<creative_id>1</creative_id>
<creative_name>Super Creative </creative_name>
<lead_id>520904</lead_id>
<unique_id>B182481A</unique_id>
<first_name>John</first_name>
<last_name>Doe</last_name>
<city>Los Angeles</city>
<state>CA</state>
<zip_code>90120</zip_code>
<email_address>[email protected]</email_address>
<phone_work>555-1212</phone_work>
<ip_address>192.168.1.1</ip_address>
<subpublisher_id>8926</subpublisher_id>
<subid_1>ITC4D7</subid_1>
<user_agent>Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; FunWebProducts; GTB6.3)</user_agent>
<lead_date>2012-01-01T00:15:41.907</lead_date>
<vertical_id>1</vertical_id>
<vertical_name>Fast Food</vertical_name>
<vertical_data>0</vertical_data>
<test>0</test>
<sellable>1</sellable>
<approved>0</approved>
<rejected>0</rejected>
<thrownout>0</thrownout>
<paid>1</paid>
<pixel_dropped>1</pixel_dropped>
<throttled>0</throttled>
<price_owed>19.0000</price_owed>
<price_received>21.7500</price_received>
<lead_score>50</lead_score>
<returned>0</returned>
<dispositions>(1) Phone and Name Match-</dispositions>
<all_vertical_data>
<data>
<debt_amount>22500</debt_amount>
</data>
</all_vertical_data>
<vertical_fields>{best_time1:},{New_Question:},{bank_account:},{Insurance:},{LT:},{BirthDate:},{programOfInterest:}</vertical_fields>
</LeadsByAffiliate>
<LeadsByAffiliate>
<publisher_id>2904</publisher_id>
<publisher_name>Laguna Network</publisher_name>
<campaign_id>72</campaign_id>
<campaign_name>Offer 72</campaign_name>
<advertiser_id>1</advertiser_id>
<advertiser_name>Rename Advertiser</advertiser_name>
<contract_id>1259</contract_id>
<creative_id>70</creative_id>
<creative_name>70</creative_name>
<lead_id>520905</lead_id>
<unique_id>62478698</unique_id>
<first_name>John</first_name>
<last_name>Doe</last_name>
<city>Los Angeles</city>
<state>CA</state>
<zip_code>90120</zip_code>
<email_address>[email protected]</email_address>
<phone_work>555-1212</phone_work>
<ip_address>192.168.1.1</ip_address>
<subpublisher_id>3565</subpublisher_id>
<subid_1>963</subid_1>
<user_agent>Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; yie8)</user_agent>
<lead_date>2012-01-01T00:27:08.95</lead_date>
<vertical_id>1</vertical_id>
<vertical_name>Fast Food</vertical_name>
<vertical_data>0</vertical_data>
<test>0</test>
<sellable>1</sellable>
<approved>1</approved>
<rejected>0</rejected>
<thrownout>0</thrownout>
<paid>0</paid>
<pixel_dropped>0</pixel_dropped>
<throttled>0</throttled>
<price_owed>0.0000</price_owed>
<price_received>0.0000</price_received>
<lead_score>50</lead_score>
<returned>0</returned>
<reason_name>Generic Voicemail</reason_name>
<dispositions>(1) Different Consumer Name, No Address Match-</dispositions>
<all_vertical_data>
<data>
<debt_amount>15000</debt_amount>
</data>
</all_vertical_data>
<vertical_fields>{best_time1:},{New_Question:},{bank_account:},{Insurance:},{LT:},{BirthDate:},{programOfInterest:}</vertical_fields>
</LeadsByAffiliate>
<LeadsByAffiliate>
<publisher_id>8</publisher_id>
<publisher_name>Minors Media</publisher_name>
<campaign_id>100</campaign_id>
<campaign_name>AppTastic</campaign_name>
<advertiser_id>1</advertiser_id>
<advertiser_name>Rename Advertiser</advertiser_name>
<contract_id>924</contract_id>
<creative_id>1</creative_id>
<creative_name>Super Creative </creative_name>
<lead_id>520906</lead_id>
<unique_id>48E782E7</unique_id>
<first_name>John</first_name>
<last_name>Doe</last_name>
<city>Los Angeles</city>
<state>CA</state>
<zip_code>90120</zip_code>
<email_address>[email protected]</email_address>
<phone_work>555-1212</phone_work>
<ip_address>192.168.1.1</ip_address>
<subpublisher_id>58</subpublisher_id>
<subid_1/>
<subid_2>385945504</subid_2>
<subid_3>400488</subid_3>
<user_agent>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.16) Gecko/2009120208 Firefox/3.0.16 (.NET CLR 3.5.30729)</user_agent>
<lead_date>2012-01-01T00:54:28.35</lead_date>
<vertical_id>1</vertical_id>
<vertical_name>Fast Food</vertical_name>
<vertical_data>0</vertical_data>
<test>0</test>
<sellable>0</sellable>
<approved>0</approved>
<rejected>1</rejected>
<thrownout>0</thrownout>
<paid>1</paid>
<pixel_dropped>1</pixel_dropped>
<throttled>0</throttled>
<price_owed>16.0000</price_owed>
<price_received>0.0000</price_received>
<lead_score>50</lead_score>
<returned>0</returned>
<reason_name>Disconnected Number</reason_name>
<dispositions>(1) Potentially Disconnected Phone-(2) Valid Mobile Phone, No Additional Information Available-</dispositions>
<all_vertical_data>
<data>
<debt_amount>27500</debt_amount>
</data>
</all_vertical_data>
<vertical_fields>{best_time1:},{New_Question:},{bank_account:},{Insurance:},{LT:},{BirthDate:},{programOfInterest:}</vertical_fields>
</LeadsByAffiliate>
<LeadsByAffiliate>
<publisher_id>48</publisher_id>
<publisher_name>CPAButt</publisher_name>
<campaign_id>100</campaign_id>
<campaign_name>AppTastic</campaign_name>
<advertiser_id>1</advertiser_id>
<advertiser_name>Rename Advertiser</advertiser_name>
<contract_id>958</contract_id>
<creative_id>1</creative_id>
<creative_name>Super Creative </creative_name>
<lead_id>520907</lead_id>
<unique_id>CCD75474</unique_id>
<first_name>John</first_name>
<last_name>Doe</last_name>
<city>Los Angeles</city>
<state>CA</state>
<zip_code>90120</zip_code>
<email_address>[email protected]</email_address>
<phone_work>555-1212</phone_work>
<ip_address>192.168.1.1</ip_address>
<subpublisher_id>8926</subpublisher_id>
<subid_1>ITC4D7</subid_1>
<user_agent>Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)</user_agent>
<lead_date>2012-01-01T00:58:09.683</lead_date>
<vertical_id>1</vertical_id>
<vertical_name>Fast Food</vertical_name>
<vertical_data>0</vertical_data>
<test>0</test>
<sellable>1</sellable>
<approved>0</approved>
<rejected>0</rejected>
<thrownout>0</thrownout>
<paid>1</paid>
<pixel_dropped>1</pixel_dropped>
<throttled>0</throttled>
<price_owed>19.0000</price_owed>
<price_received>21.7500</price_received>
<lead_score>50</lead_score>
<returned>0</returned>
<dispositions>(1) Valid Mobile Phone, No Additional Information Available-(2) Business Phone, No Additional Information Available-</dispositions>
<all_vertical_data>
<data>
<debt_amount>22500</debt_amount>
</data>
</all_vertical_data>
<vertical_fields>{best_time1:},{New_Question:},{bank_account:},{Insurance:},{LT:},{BirthDate:},{programOfInterest:}</vertical_fields>
</LeadsByAffiliate>
</ArrayOfLeadsByAffiliate>