Conversions Settings
Rules that define when and how much a traffic source is paid when one of its calls converts.
GET /offer_conversions
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/offer_conversions
List Traffic Source Payouts.
Lists the Traffic Source Payout rules (conversion-to-payout definitions) configured on offers, filterable by offer_id or business_range_id. Supports CSV export.
Supported Formats
json, csvParams
| Param name | Description | ||||||
|---|---|---|---|---|---|---|---|
|
serializer Optional Blank value allowed |
This endpoint supports multiple response formats. Pass
|
||||||
|
offer_id Optional |
The Offer this conversion rule belongs to.
|
||||||
|
business_range_id Optional |
Scopes this conversion rule to calls during this Business Range, instead of the whole Offer.
|
||||||
|
page Optional |
Return the next page of results.
|
||||||
|
per_page Optional |
How many results to return per page. The default is 25.
|
||||||
|
created_at_to Optional |
Date formatted like 2016-01-01 12:25:15 -0500
|
||||||
|
created_at_from Optional |
Date formatted like 2016-01-01 12:25:15 -0500
|
||||||
|
fulltext Optional |
Search for any record that matches this text
|
||||||
|
time_zone Optional |
Date ranges will be parsed using this time zone.
|
||||||
|
columns Optional |
Specify the columns you would like returned by the API for a given resource.
Limiting the columns can significantly increase API response time since only the requested data will be processed.
columns=uuid,number,created_at
Must be any combination of:
|
||||||
|
root Optional |
Pass
|
GET /offer_conversions/new
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/offer_conversions/new
Build Traffic Source Payout with defaults.
Returns a blank Traffic Source Payout record populated with default attribute values, without saving it.
Params
| Param name | Description | ||||||
|---|---|---|---|---|---|---|---|
|
serializer Optional Blank value allowed |
This endpoint supports multiple response formats. Pass
|
GET /offer_conversions/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/offer_conversions/:id
Get Traffic Source Payout by id.
Fetches a single Traffic Source Payout by id.
Params
| Param name | Description | ||||||
|---|---|---|---|---|---|---|---|
|
serializer Optional Blank value allowed |
This endpoint supports multiple response formats. Pass
|
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
|
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
|
DELETE /offer_conversions/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/offer_conversions/:id
Destroy Traffic Source Payout by id.
Deletes a Traffic Source Payout rule by id.
Params
| Param name | Description | ||||||
|---|---|---|---|---|---|---|---|
|
serializer Optional Blank value allowed |
This endpoint supports multiple response formats. Pass
|