POST /offer_conversions
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/offer_conversions
Create Traffic Source Payout.
Creates a Traffic Source Payout rule that pays out once a call on the given offer reaches the specified duration, deduping repeat conversions from the same caller within duplicate_timeframe seconds. Set payout_type to usd with a fixed payout amount, or to buyer_conversion_percent with revenue_percentage instead; the matching field is required.
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 Required |
Duration
|
||||||
|
duplicate_timeframe Required |
Duplicate Timeframe
|
||||||
|
duplicate_timeframe_scope Optional |
Duplicate Timeframe Scope
|
||||||
|
name Required |
Name
|
||||||
|
offer_id Required |
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 |
Sortable Order
|