Sha256: a806e4d42ae0aecaad755e9216359b301516fe23a6bf40721796af9b4dbe7dae
Contents?: true
Size: 950 Bytes
Versions: 8
Compression:
Stored size: 950 Bytes
Contents
module SoapyCake class AdminTrack < Client include Helper CONVERSION_DEFAULTS = { add_to_existing_payout: false, received_option: 'total_revenue', received: 0, disposition_type: 'no_change', update_revshare_payout: false, effective_date_option: 'today', notes_to_append: '', disallow_on_billing_status: 'ignore' }.freeze def mass_conversion_insert(opts) require_params(opts, %i( conversion_date affiliate_id sub_affiliate campaign_id creative_id total_to_insert )) run Request.new(:admin, :track, :mass_conversion_insert, opts) end def update_conversion(opts) require_params(opts, %i(offer_id payout)) run Request.new(:admin, :track, :update_conversion, CONVERSION_DEFAULTS.merge(opts)) end def decrypt_affiliate_link(opts = {}) run Request.new(:admin, :track, :decrypt_affiliate_link, opts) end end end
Version data entries
8 entries across 8 versions & 1 rubygems