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

A timeframe

  • 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

A timeframe

  • 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

A timeframe

  • 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

A timeframe

  • 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