WSDL Page: http://<your_domain_here>/api/1/track.asmx?op=MassConversionAdjustment
Parameter Summary:
api_key / STRING = Admin API Key {See get.asmx > GetAPIKey}
get_current_totals_only / BOOL = Show Totals or Run Adjustment Query? ["TRUE" = Show Totals/DO NOT RUN QUERY, "FALSE" = Run Adjustment Query]
start_date / DATETIME = Mass Adjustment Start Date [MM/DD/YYYY HH:MM:SS]
end_date / DATETIME = Mass Adjustment End Date [MM/DD/YYYY HH:MM:SS]
affiliate_id / INT = Affiliate ID {See export.asmx > Affiliates}
offer_id / INT = Offer ID {See export.asmx > Offers}
campaign_id / INT = Campaign ID {See export.asmx > Campaigns}
sub_affiliate / STRING = SubAffiliate Name
creative_id / INT = Creative ID {See export.asmx > Creatives}
affiliate_payment_type / STRING = Conversion Affiliate Payment Type ["paid_only", "unpaid_only", "paid_and_unpaid"]
advertiser_payment_type / STRING = Conversion Advertiser Payment Type ["paid_only", "unpaid_only", "paid_and_unpaid"]
total_to_adjust / INT = Total Conversions to Adjust
payout / DECIMAL = Price Paid Per Conversion
payout_currency_id / INT (unsignedByte) = Payout Currency ID {See get.asmx > Currencies}
received / DECIMAL = Price Received Per Conversion
received_currency_id / INT (unsignedByte) = Received Currency ID {See get.asmx > Currencies}
return_option / STRING = Mark the Conversions as Returned? ["mark_as_returned", "mark_as_unreturned", "do_not_change"]
note / STRING = Freeform Notes
billing_option / STRING = Apply Price Changes to which Bill? ["ignore_billing", "next_generated_bill", "latest_generated_bill"]
Parameter Types:
api_key - ID
get_current_totals_only - ASSIGNABLE
start_date - ID
end_date - ID
affiliate_id - ID
offer_id - ID
campaign_id - ID
sub_affiliate - ID
creative_id - ID
affiliate_payment_type - ASSIGNABLE
advertiser_payment_type - ASSIGNABLE
total_to_adjust - ASSIGNABLE
payout - ASSIGNABLE
payout_currency_id - ID
received - ASSIGNABLE
received_currency_id - ID
return_option - ASSIGNABLE
note - ASSIGNABLE
billing_option - ASSIGNABLE
Sample GET Call:
Sample XML Response:
<mass_conversion_adjustment_response>
<success>true</success>
<message>20 Conversion(s) Found</message>
<conversions_found>20</conversions_found>
<conversions_adjusted>0</conversions_adjusted>
<total_payout_old>45.0000</total_payout_old>
<total_received_old>67.0000</total_received_old>
<total_payout_new>45.0000</total_payout_new>
<total_received_new>67.0000</total_received_new>
</mass_conversion_adjustment_response>