Submit a Ticket My Tickets
Welcome
Login  Sign up

[Track] MassConversionAdjustment (V1) - Admin

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:

http://demo.cakemarketing.com/api/1/track.asmx/MassConversionAdjustment?api_key=dNJFmId9rI&get_current_totals_only=TRUE&start_date=01/01/2012+12:00:00&end_date=01/01/2013+12:00:00&affiliate_id=4401&offer_id=1000005&campaign_id=4904&sub_affiliate=andysub1&creative_id=1130010&affiliate_payment_type=paid_only&advertiser_payment_type=paid_only&total_to_adjust=20&payout=3.25&payout_currency_id=1&received=4.35&received_currency_id=1&return_option=do_not_change&note=Here+is+where+I%27m+putting+my+notes&billing_option=next_generated_bill

 

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>

Did you find it helpful? Yes No

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