PUT /offer_conversions/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/offer_conversions/:id
Update Traffic Source Payout by id.
Updates a Traffic Source Payout rule's duration, payout amount, or dedupe settings. If payout_type is changed, the corresponding payout or revenue_percentage requirement is re-validated.
Params
| Param name | Description | ||||||
|---|---|---|---|---|---|---|---|
|
serializer Optional Blank value allowed |
This endpoint supports multiple response formats. Pass
|
||||||
|
payout_type Optional |
Payout Type
|
||||||
|
payout Optional Blank value allowed |
Payout
|
||||||
|
revenue_percentage Optional Blank value allowed |
Revenue Percentage
|
||||||
|
duration Optional |
Duration
|
||||||
|
duplicate_timeframe Optional |
Duplicate Timeframe
|
||||||
|
duplicate_timeframe_scope Optional |
Duplicate Timeframe Scope
|
||||||
|
name Optional |
Name
|
||||||
|
offer_id Optional Blank value allowed |
The Offer this conversion rule belongs to.
|
||||||
|
business_range_id Optional Blank value allowed |
Scopes this conversion rule to calls during this Business Range, instead of the whole Offer.
|
||||||
|
conversion_type Optional Blank value allowed |
When the traffic source is paid: payout (after Duration seconds), postback (an external conversion postback), or when_buyer_converted (when a buyer converts the call).
|
||||||
|
traffic_source_id Optional Blank value allowed |
Scopes this conversion rule to calls from this Traffic Source, instead of the whole Offer.
|
||||||
|
number_id Optional Blank value allowed |
Scopes this conversion rule to calls to this Number, instead of the whole Offer.
|
||||||
|
owner_id Optional Blank value allowed |
The id of the record given in owner_type that this conversion rule is scoped to, instead of the whole Offer.
|
||||||
|
owner_type Optional Blank value allowed |
What this conversion rule is scoped to instead of the whole Offer: TrafficSource, Number, or BusinessRange, used together with owner_id.
|
||||||
|
token_value_ids Optional Blank value allowed |
Only pays out for calls matching these token values.
|
||||||
|
record_token_filter_list Optional Blank value allowed |
Assign filters to the object by passing an array of key:value pairs
|
||||||
|
sortable_order Optional Blank value allowed |
Sortable Order
|