Supported Formats

json

Examples

curl -H "Content-Type: application/json" -X POST -d '{"payout": 10, "duration": 60, duplicate_timeframe: 3600, name: "Pay $10 after 1 minute, deduped by 1 hour.", offer_id: 10001234}' https://[your-subdomain].trackdrive.net/api/v1/offer_conversions?auth_token=[your-auth-token]

Params

Param name
Description
auth_token
Optional

Authorize requests using your token. Get it from your profile: trackdrive.net/profile/edit

  • Must be String

serializer
Optional Blank Value Allowed

This endpoint supports multiple response formats. Pass serializer=name to retrieve data in an alternate format.

  • Must be a value contained in the pick list:
    Acceptable ValueDescription
    offer_conversionDefault response format.
    offer_conversion_gridModern response format that returns various foreign keys for use with other API endpoints.
payout_type
Optional

Payout Type

  • Must be one of: usd, buyer_conversion_percent.

payout
Optional Blank Value Allowed

Payout

  • Must be a decimal number.

revenue_percentage
Optional Blank Value Allowed

Revenue Percentage

  • Must be a decimal number.

duration
Required

Duration

  • Must be a decimal number.

duplicate_timeframe
Required

Duplicate Timeframe

  • Must be a decimal number.

name
Required

Name

  • Must be String

offer_id
Required

Offer

business_range_id
Optional Blank Value Allowed

Business Range

token_values
Optional Blank Value Allowed

Conversion will only occur if the call matches these filters.

  • Must be a valid list of filters. Example filters:
    ["interest:auto", "loan_amount:>=10000", "loan_amount:<=50000", "geo:!=800", "caller_id:!=anonymous"]
sortable_order
Optional

Sortable Order

  • Must be a decimal number.