Supported Formats

json

Params

Param name
Description
from
optional

Date formatted like 2016-01-01 12:25:15 -0500

  • Must be String

to
optional

Date formatted like 2016-01-01 12:25:15 -0500

  • Must be String

rollup_period
optional

The interval.

  • Must be a decimal number.

rollup_aggregator
optional

The function to apply to the result set.

  • Must be one of: sum, min, max, avg.

buyer_id
optional

Refer to the buyer api for details

offer_id
optional

Refer to the offer api for details

traffic_source_id
optional

Refer to the traffic source api for details

queries
optional

translation missing: en.api.datasets.queries

  • Must be a a valid array of queries.

series_calc_function
optional

translation missing: en.api.datasets.series_calc_function

  • Must be one of: timeseries, sum, avg, min, max.


Supported Formats

json

Params

Param name
Description
stat
required

Return statistics on the grouped calls by one of these numeric columns.

  • Must be one of: buyer_converted_count, offer_converted_count.

data_format
optional

translation missing: en.api.data_format

  • Must be one of: timeseries, sum.

interval
optional

translation missing: en.api.interval

  • Must be one of: 300, 600, 1200, 3600, 86400, 2592000.

created_at_to
optional

Date formatted like 2016-01-01 12:25:15 -0500

  • Must be String

created_at_from
optional

Date formatted like 2016-01-01 12:25:15 -0500

  • Must be String


Supported Formats

json

Params

Param name
Description
stat
required

translation missing: en.api.leads.stat

  • Must be one of: has_next_action_count, buyer_converted_count, offer_converted_count.

data_format
optional

translation missing: en.api.data_format

  • Must be one of: timeseries, sum.

interval
optional

translation missing: en.api.interval

  • Must be one of: 300, 600, 1200, 3600, 86400, 2592000.

created_at_to
optional

Date formatted like 2016-01-01 12:25:15 -0500

  • Must be String

created_at_from
optional

Date formatted like 2016-01-01 12:25:15 -0500

  • Must be String


GET /api/v1/datasets/billing
Get the billing dataset

Supported Formats

json

Params

Param name
Description
data_format
optional

translation missing: en.api.data_format

  • Must be one of: timeseries, sum.

interval
optional

translation missing: en.api.interval

  • Must be one of: 300, 600, 1200, 3600, 86400, 2592000.

created_at_to
optional

Date formatted like 2016-01-01 12:25:15 -0500

  • Must be String

created_at_from
optional

Date formatted like 2016-01-01 12:25:15 -0500

  • Must be String


GET /api/v1/datasets/number_impressions
Get the number impression dataset

Supported Formats

json

Params

Param name
Description
data_format
optional

translation missing: en.api.data_format

  • Must be one of: timeseries, sum.

interval
optional

translation missing: en.api.interval

  • Must be one of: 300, 600, 1200, 3600, 86400, 2592000.

created_at_to
optional

Date formatted like 2016-01-01 12:25:15 -0500

  • Must be String

created_at_from
optional

Date formatted like 2016-01-01 12:25:15 -0500

  • Must be String