Skip to main content

Reports API

The reports API allows you to create and schedule custom reports to generate insights and inform current and future campaign optimization.

Metrics and dimensions can be selected to customize reports. Metrics are quantitative values (number, percentage, dollar amount) measuring some campaign's attribute. Dimensions are those attributes: the chosen element (e.g. demographics, creatives, technologies) to be subjected to a metric.

Reports can be scheduled to a specified delivery frequency, and further fine-tuned to aggregated or disaggregated (daily) data.

info

There must be at least one active campaign before a report can be created/executed.

See the following quickstart guides:

NOTE

The date range for a report cannot exceed one year.

Learn more about reports with our Help Center articles.

Authentication​

Use the following header parameters for all requests:

Headers
Authorization
string required
Bearer followed by the access_token from the login response.
See Sign up and authenticate.
X-IAA-OW-ID
integer required
Organization Workspace ID header.

Get reports details​

This section covers the various methods and endpoints for getting lists and details of reports.

Get a list of reports​

GET
POST

Get a list of reports.

A report id can be used in the Get report by ID endpoint and to perform various actions in Reports management endpoints.

GET Query parameters
customerIds
string
Filters by comma separated Customer IDs.
Passing all gets all eligible Customer's report, default: all.
sortBy
string
Sorts by ascending (+) or descending (-).
Supported values: id, name, startDate, modifyDate.
Default: -modifyDate.
searchField
string
Filter results by search field.
limit
integer
Number of entries returned per page, default: 20.
pageNo
integer
Page number of retrieved data, default: 1.

POST Request schema
customerIds
string
Filters by comma separated Customer IDs.
Passing all gets all eligible Customer's report, default: all.
sortBy
string
Sorts by ascending (+) or descending (-).
Supported values: id, name, startDate, modifyDate.
Default: -modifyDate.
searchField
string
Filters by search field.
noOfEntries
integer
Number of entries returned per page, default: 20.
pageNo
integer
Page number of retrieved data, default: 1.

Response properties
id
integer
Report ID.
reportName
string
Report name.
startDate
integer
Unix epoch timestamp, milliseconds.
endDate
integer
Unix epoch timestamp, milliseconds.
dimensions
string
Represents dimension details as a serialized JSON string.
customerIds
array of integers
Customer IDs.
customerDetails
object
Customer details.
customerDetails object properties
owID
integer
Organization Workspace ID.
organizationName
string
Organization name.
organizationLogo
string
Organization logo.
statusId
integer
Status ID.
status
string
Status.
supportEmail
string
Support email.
timezone
integer
Timezone ID.
organizationType
string
Organization type.
timezone
integer
Timezone ID.
reportSchedulingEventDetails
string
Contains parameters for updating scheduling details.
reportSchedulingEventDetails object properties
eventId
integer
ID for schedule event.
deliveryFrequency
integer
Delivery frequency type ID.
Supported values
1One time now
2Daily until
3Weekly until
4Monthly until
fileType
integer
Report file type ID.
Supported values
1CSV
2XLSX
subscriberEmails
array of strings
List of emails to which the report will be sent.
eventEndDate
integer
Unix epoch timestamp of report schedule event end date, in milliseconds.
deliveryDay
string
[Required, if deliveryFrequency is not "once"] Delivery day to specify the day-time when the report should be sent.
Weekly delivery day: [sunday, monday, ...].
Monthly delivery day: [first, last, 2,3, ... 29].
Request sample
{
"customerIds": "123,234,345",
"pageNo": 1,
"noOfEntries": 30,
"sortBy": "+id",
"searchField": "search field"
}
Response 200
{
"success": true,
"data": {
"data": [
{
"id": 1,
"reportName": "Campaign by Gender by Device type",
"startDate": 1650177200,
"endDate": 1666938296,
"dimensions": "[{\"filter\":\"campaign\",\"value\":[123,234,345,456]},{\"filter\":\"gender\",\"value\":[10200002]},{\"filter\":\"device_type\",\"value\":[20300001,20300003]}]",
"customerIds": null,
"customerDetails": null,
"timezoneId": 11,
"reportSchedulingEventDetails": {
"eventId": 29,
"deliveryFrequency": 3,
"fileType": 2,
"subscriberEmails": [
"demoUser1@gmail.com",
"demoUser2@iqm.com"
],
"eventEndDate": 1671148799999,
"deliveryDay": "Friday"
}
},
{
"id": 2,
"reportName": "Campaigns by Zip Codes with filters",
"startDate": 1660521600,
"endDate": 1668470399,
"dimensions": "[{\"filter\": \"campaign\"}, {\"value\": [123, 234, 345, 456], \"filter\": \"zip5\"}]",
"customerIds": null,
"customerDetails": null,
"timezoneId": 12,
"reportSchedulingEventDetails": {}
},
{
"id": 3,
"reportName": "Creatives by Income Ranges and Operating System with filters",
"startDate": 1660521600,
"endDate": 1668470399,
"timezoneId": 11,
"dimensions": "[{\"filter\": \"creative\"}, {\"value\": [10300002, 10300003], \"filter\": \"income_group\"}, {\"value\": [20200001, 20200002, 20200003], \"filter\": \"os\"}]",
"customerIds": [
200,
201
],
"customerDetails": [
{
"owId": 200,
"organizationName": "Test Organization",
"organizationLogo": "https://iqm-web-assets-c92d6b6cbde1-stage.s3.amazonaws.com/organization-profile/200/1637314301025.png",
"statusId": 1,
"status": "Active",
"supportEmail": "demoSupport@gmail.com",
"timezone": 29
}
],
"reportSchedulingEventDetails": {}
}
],
"totalRecords": 3,
"filteredRecords": 3
}
}

Get report by ID​

GET

Get report data by report ID.

Path parameters
reportId
integer
Report ID.
Response properties
id
integer
Gets data for this report ID.
reportName
string
Report name.
startDate
integer
Unix epoch timestamp, milliseconds.
endDate
integer
Unix epoch timestamp, milliseconds.
dimensions
string
Represents dimension details as a serialized JSON string.
columns
array of strings
Metrics for showing serving result.
timezoneId
integer
Timezone ID.
requestType
integer
Report request type ID.
Supported values
1Daily
2Aggregated
3Weekly
4Monthly
reportSchedulingEventDetails
string
Contains parameters for updating scheduling details.
reportSchedulingEventDetails object properties
eventId
integer
ID for schedule event.
deliveryFrequency
integer
Delivery frequency type ID.
Supported values
1One time now
2Daily until
3Weekly until
4Monthly until
fileType
integer
Report file type ID.
Supported values
1CSV
2XLSX
subscriberEmails
array of strings
List of emails to which the report will be sent.
eventEndDate
integer
Unix epoch timestamp of report schedule event end date, in milliseconds.
deliveryDay
string
[Required, if deliveryFrequency is not "once"] Delivery day to specify the day-time when the report should be sent.
Weekly delivery day: [sunday, monday, ...].
Monthly delivery day: [first, last, 2,3, ... 29].
Response 200
{
"success": true,
"data": {
"id": 123,
"reportName": "Campaign by Gender by Device type",
"startDate": 1650177000,
"endDate": 1666938000,
"dimensions": "[{\"filter\":\"campaign\"},{\"filter\":\"gender\",\"value\":[10200002]},{\"filter\":\"device_type\",\"value\":[20300001,20300003]}]",
"columns": [
"maxBid",
"dailyBudget",
"totalBudget",
"impressions",
"clicks"
],
"timezoneId": 29,
"requestType": 1,
"reportSchedulingEventDetails": {
"eventId": 18,
"deliveryFrequency": 3,
"fileType": 2,
"subscriberEmails": [
"demoUser1@gmail.com",
"demoUser2@iqm.com"
],
"eventEndDate": 1671148799,
"deliveryDay": "Friday",
"runningTotalEnabled": 0,
"earliestCampaignStartDate": 0
}
}
}

Reports management​

This section covers the various methods and endpoints for managing reports.

See the quickstart guide on Creating a report.

Resource properties​

Resource properties
id
integer
Gets data for this report ID.
dimensions
string
Represents dimension details as a serialized JSON string.
columns
array of strings
Metrics for showing serving result.
customerIds
array of integers
Gets data for these Customer IDs.
filters
object
Supports campaignIds, creativeTypeIds, and campaignStatuses arrays. campaignStatuses only applies when the report includes a campaign dimension.
searchField
string
Filter results by search field.
requestType
integer
Report request type ID.
Supported values
1Daily
2Aggregated
3Weekly
4Monthly
fileType
integer
Report file type ID.
Supported values
1CSV
2XLSX
reportAggregated
string
Identifies whether the report is aggregated or disaggregated.
Supported values
0Group rows by every dimension
1Aggregate over the first dimension (left out of the grouping)
startDate
integer
Start date of report as Unix epoch timestamp, milliseconds.
endDate
integer
End date of report as Unix epoch timestamp, milliseconds.
timezoneId
integer
Timezone ID.
timezoneName
string
Timezone name.
sortBy
string
Sorts by ascending (+) or descending (-), default: -impressions.
pageNo
integer
Page number of retrieved data, default: 1.
noOfEntries
integer
Number of entries returned per page, default: 50.

Create report​

POST

Save a new report definition. This doesn't run the report; use the returned report ID with Execute a report or Get URL for report download.

To schedule email delivery, create the report, then use Schedule a report.

NOTE

The date range for a report cannot exceed one year.

Response properties
success
boolean
Indicates report was successfully created: true.
data
integer
Report ID.
{
"reportName": "Campaign by Gender by Device type ",
"startDate": 1650177200000,
"endDate": 1666938296000,
"dimensions": "[{\"filter\":\"campaign\",\"value\":[287846,287610,278417,270798]},{\"filter\":\"gender\",\"value\":[10200002]},{\"filter\":\"deviceType\",\"value\":[20300001,20300003]}]",
"columns": [
"maxBid",
"dailyBudget",
"totalBudget",
"impressions",
"clicks"
],
"requestType": 1,
"reportAggregated": "0",
"timezoneId": 29,
"timezoneName": "US/Eastern"
}

Response 200

{
"success": true,
"data": 1001
}

Execute a report​

POST

Execute a report by ID or with new report data. Returns report rows in the response; to get a file instead, use Get URL for report download.

NOTE

The date range for a report cannot exceed one year.

Request schema
id
integer
Executes report by report ID.
dimensions
string
Dimensions to filter by in serialized JSON format.
columns
array of strings
Metrics for the report, from the dimensions and metrics details API. Dimensions go in dimensions, not here.
customerIds
array of integers
Customer IDs to report.
filters
object
Supports campaignIds, creativeTypeIds, and campaignStatuses arrays. campaignStatuses only applies when the report includes a campaign dimension.
searchField
string
Filter rows by dimension value name or ID (partial match), e.g. campaign name.
requestType
integer
Report request type ID.
Supported values
1Daily
2Aggregated
3Weekly
4Monthly
reportAggregated
string
Identifies whether the report is aggregated or disaggregated.
Supported values
0Group rows by every dimension
1Aggregate over the first dimension (left out of the grouping)
startDate
integer
Unix epoch timestamp of start date for report, in milliseconds.
endDate
integer
Unix epoch timestamp of end date for report, in milliseconds.
timezoneId
integer
Timezone ID.
timezoneName
string
Timezone name, e.g. US/Eastern. Required unless id is provided.
sortBy
string
Sorts by ascending (+) or descending (-), default: -impressions.
pageNo
integer
Page number of retrieved data, default: 1.
noOfEntries
integer
Number of entries returned per page, default: 50.
Response properties
success
boolean
Indicates the request succeeded: true.
data
object
Report results.
data object properties
total
object
Totals row across all matching rows. Has the same fields as a report row; dimension and per-campaign fields are null. Also includes reach and frequency.
data
array of objects
Report rows for the requested page, one per dimension combination, sorted by sortBy. Omitted when no rows match.
totalRecords
integer
Number of rows across all pages.
filteredRecords
integer
Number of rows across all pages; currently always equal to totalRecords.
Report row and total object properties

Each row has the requested columns plus fields for the requested dimensions. The fields below are returned for an Insertion Order and Campaign report; other dimensions and metrics use their key values from the dimensions and metrics details API.

date
string
Row date (MM/DD/YYYY), daily reports (requestType 1) only.
dateRange
string
Row date range, e.g. 05/03/2026 - 05/09/2026, weekly and monthly reports only.
ioId
integer
Insertion order ID.
ioName
string
Insertion order name.
ioBudget
number
Insertion order budget.
ioBudgetTypeId
integer
Insertion order budget type: dollar-based (1) or impression-based (2).
campaignId
integer
Campaign ID.
campaign
string
Campaign name.
status
string
Campaign status, e.g. running or expired.
campaignTimezone
string
Campaign timezone name, e.g. US/Eastern.
budgetTypeId
integer
Campaign budget type: dollar-based (1) or impression-based (2).
dailyBudget
number
Campaign daily budget.
totalBudget
number
Campaign total budget.
maxBid
number
Campaign max bid price.
minBid
number
Campaign min bid price.
baseBid
number
Campaign base bid price, or null.
budgetMappingSpent
number
Campaign media spend to date, not limited to the report date range. Used for budgetCompletion.
budgetMappingDataCost
number
Campaign data cost to date, not limited to the report date range. Used for budgetCompletion.
budgetCompletion
number
Percentage of the campaign total budget used to date.
impressions
integer
Impressions.
bidImpressions
integer
Number of bids placed.
clicks
integer
Clicks.
CTR
number
Click-through rate, as a percentage.
VCR
number
Video completion rate, as a percentage.
startCount
integer
Video starts.
completeCount
integer
Video completions.
spent
number
Total advertiser spend, including media, data, pre-bid, ad serving, and 3rd party costs.
mediaSpent
number
Media cost.
dataCost
number
Data cost.
preBidCost
number
Pre-bid cost.
adServingCost
number
Ad serving cost.
thirdPartyCost
number
3rd party cost.
eCPM
number
Media eCPM (media cost per thousand impressions).
totalECPM
number
Total eCPM (total spend per thousand impressions).
reach
integer
Unique users reached. Returned in total only.
frequency
number
Average impressions per unique user. Returned in total only.
totalRecords
integer
Number of rows in total; null in rows.
{
"id": 1001
}
{
"startDate": 1670410001000,
"endDate": 1675766802000,
"dimensions": "[{\"filter\":\"campaign\"},{\"filter\":\"gender\",\"value\":[10200002]},{\"filter\":\"deviceType\",\"value\":[20300001,20300003]}]",
"columns": [
"completeCount",
"maxBid",
"dailyBudget",
"VCR",
"eCPC",
"totalECPC",
"totalBudget",
"impressions",
"clicks",
"winRate",
"reach"
],
"customerIds": [
201353,
201352
],
"filters": {
"campaignIds": [
123,
234,
345
],
"creativeTypeIds": [
11
],
"campaignStatuses": [
"expired",
"running"
]
},
"searchField": "123",
"requestType": 1,
"reportAggregated": "0",
"timezoneId": 11,
"timezoneName": "UTC",
"order": "desc",
"sortBy": "impressions",
"noOfEntries": 50,
"pageNo": 1
}
{
"customerIds": [],
"startDate": 1749614400000,
"endDate": 1757649599000,
"dimensions": "[{\"filter\":\"campaign\"}]",
"columns": [
"impressions",
"clicks",
"CTR",
"VCR",
"spent",
"dataCost",
"mediaSpent",
"eCPM"
],
"requestType": 3,
"reportAggregated": "0",
"timezoneName": "US/Eastern",
"timezoneId": 29,
"pageNo": 1,
"noOfEntries": 20,
"sortBy": "-impressions"
}
{
"success": true,
"data": {
"total": {
"CTR": 25.823331,
"date": null,
"baseBid": null,
"totalRecords": 49,
"VCR": 0.0,
"budgetTypeId": null,
"totalBudget": null,
"adServingCost": 0.0,
"dataCost": 777.0489999999999,
"budgetMappingDataCost": null,
"totalECPM": 98.79736988097639,
"campaignTimezone": null,
"eCPM": 88.99999999999999,
"bidImpressions": 164607,
"preBidCost": 0.0,
"mediaSpent": 7058.767999999999,
"startCount": 0,
"campaignId": null,
"spent": 7835.816999999999,
"impressions": 79312,
"completeCount": 0,
"minBid": null,
"budgetMappingSpent": null,
"dailyBudget": null,
"maxBid": null,
"clicks": 20481,
"thirdPartyCost": 0.0,
"campaign": null,
"budgetCompletion": null,
"status": null,
"reach": 5264,
"frequency": 15.066869
},
"totalRecords": 49,
"data": [
{
"CTR": 98.9887,
"date": "05/19/2026",
"baseBid": null,
"totalRecords": null,
"VCR": 0.0,
"budgetTypeId": 1,
"totalBudget": 10000.0,
"adServingCost": 0.0,
"dataCost": 34.61,
"budgetMappingDataCost": 47.28,
"totalECPM": 99.0,
"campaignTimezone": "US/Eastern",
"eCPM": 89.0,
"bidImpressions": 3536,
"preBidCost": 0.0,
"mediaSpent": 308.029,
"startCount": 0,
"campaignId": 591874,
"spent": 342.639,
"impressions": 3461,
"completeCount": 0,
"minBid": 0.0,
"budgetMappingSpent": 420.79200000000003,
"dailyBudget": 434.78,
"maxBid": 89.0,
"clicks": 3426,
"thirdPartyCost": 0.0,
"campaign": "Test Campaign for ICT",
"budgetCompletion": 4.68072,
"status": "expired"
},
{
"CTR": 97.2044,
"date": "04/29/2026",
"baseBid": null,
"totalRecords": null,
"VCR": 0.0,
"budgetTypeId": 1,
"totalBudget": 10000.0,
"adServingCost": 0.0,
"dataCost": 10.892,
"budgetMappingDataCost": 21.854,
"totalECPM": 92.5,
"campaignTimezone": "US/Eastern",
"eCPM": 89.0,
"bidImpressions": 3200,
"preBidCost": 0.0,
"mediaSpent": 276.968,
"startCount": 0,
"campaignId": 590515,
"spent": 287.86,
"impressions": 3112,
"completeCount": 0,
"minBid": 0.0,
"budgetMappingSpent": 555.716,
"dailyBudget": 434.78,
"maxBid": 89.0,
"clicks": 3025,
"thirdPartyCost": 0.0,
"campaign": "Test Campaign for AQS",
"budgetCompletion": 5.7757000000000005,
"status": "expired"
}
],
"filteredRecords": 49
}
}
{
"success": true,
"data": {
"total": {
"CTR": 25.823331,
"baseBid": null,
"totalRecords": 15,
"VCR": 0.0,
"budgetTypeId": 1,
"totalBudget": 150000.0,
"dateRange": null,
"adServingCost": 0.0,
"dataCost": 777.049,
"budgetMappingDataCost": null,
"totalECPM": 98.79736988097639,
"campaignTimezone": null,
"eCPM": 89.00000000000001,
"bidImpressions": 164607,
"preBidCost": 0.0,
"mediaSpent": 7058.768000000001,
"startCount": 0,
"campaignId": null,
"spent": 7835.816999999999,
"impressions": 79312,
"completeCount": 0,
"minBid": null,
"budgetMappingSpent": null,
"dailyBudget": 6521.699999999998,
"maxBid": null,
"clicks": 20481,
"thirdPartyCost": 0.0,
"campaign": null,
"budgetCompletion": 19.20648666666667,
"status": null,
"reach": 5264,
"frequency": 15.066869
},
"totalRecords": 15,
"data": [
{
"CTR": 0.4636,
"baseBid": null,
"totalRecords": null,
"VCR": 0.0,
"budgetTypeId": 1,
"totalBudget": 10000.0,
"dateRange": "05/03/2026 - 05/09/2026",
"adServingCost": 0.0,
"dataCost": 135.88,
"budgetMappingDataCost": 324.59000000000015,
"totalECPM": 99.0,
"campaignTimezone": "US/Eastern",
"eCPM": 89.0,
"bidImpressions": 32515,
"preBidCost": 0.0,
"mediaSpent": 1209.332,
"startCount": 0,
"campaignId": 590526,
"spent": 1345.212,
"impressions": 13588,
"completeCount": 0,
"minBid": 0.0,
"budgetMappingSpent": 2888.851,
"dailyBudget": 434.78,
"maxBid": 89.0,
"clicks": 63,
"thirdPartyCost": 0.0,
"campaign": "Test Campaign for SLS",
"budgetCompletion": 32.13441,
"status": "expired"
},
{
"CTR": 0.4307,
"baseBid": null,
"totalRecords": null,
"VCR": 0.0,
"budgetTypeId": 1,
"totalBudget": 10000.0,
"dateRange": "05/03/2026 - 05/09/2026",
"adServingCost": 0.0,
"dataCost": 134.67,
"budgetMappingDataCost": 309.77999999999975,
"totalECPM": 99.00000000000001,
"campaignTimezone": "US/Eastern",
"eCPM": 89.0,
"bidImpressions": 32659,
"preBidCost": 0.0,
"mediaSpent": 1198.563,
"startCount": 0,
"campaignId": 590512,
"spent": 1333.233,
"impressions": 13467,
"completeCount": 0,
"minBid": 0.0,
"budgetMappingSpent": 2757.042000000001,
"dailyBudget": 434.78,
"maxBid": 89.0,
"clicks": 58,
"thirdPartyCost": 0.0,
"campaign": "Test Campaign for PLD",
"budgetCompletion": 30.66822000000001,
"status": "expired"
}
],
"filteredRecords": 15
}
}

Delete a report​

DELETE

Delete a report and its scheduling data by ID.

Path parameters
reportId
integer
Report ID.
Response properties
success
boolean
Indicates report was successfully created: true.
data
string
Success message.
Response 200
{
"success": true,
"data": "Report with id 123 deleted successfully"
}

Edit a report​

PATCH

Update fields of a saved report. Only the fields you send are changed.

Path parameter
reportId
integer
Report ID.
Request schema
customerIds
array of integers
Customer IDs to add to report. Parameter only available to update by Workspace users or users with Customers.
startDate
integer
Unix epoch timestamp of start date for report.
endDate
integer
Unix epoch timestamp of end date for report.
reportName
string
Updated report name.
timezoneId
integer
Timezone ID.
timezoneName
string
Timezone name.
dimensions
string
Dimensions to filter by in serialized JSON format.
columns
array of strings
List of metrics for the report obtained from dimensions and metrics details API.
requestType
integer
Report request type ID.
Supported values
1Daily
2Aggregated
3Weekly
4Monthly
reportAggregated
string
Identifies whether the report is aggregated or disaggregated.
Supported values
0Group rows by every dimension
1Aggregate over the first dimension (left out of the grouping)

Response properties
success
boolean
Indicates report was successfully created: true.
data
string
Success message.
Request sample
{
"startDate":1727798981000,
"endDate":1730304581000,
"reportName": "new Report",
"dimensions":"[{\"filter\":\"ioName\"},{\"filter\":\"campaign\"}]",
"columns":[
"impressions",
"clicks",
"CTR",
"VCR",
"spent",
"dataCost",
"mediaSpent",
"eCPM"
],
"requestType":2,
"reportAggregated":"0",
"timezoneName":"US/Eastern",
"timezoneId":29
}
Response 200
{
"success": true,
"data": "Report with id 123 updated successfully"
}
Response 422
{
"success": false,
"errorObjects": [
{
"error": "User does not have access for Report's customers"
}
]
}

Duplicate a report​

POST

Create a copy of a saved report. Everything except the name is copied; email schedules are not copied.

Request schema
id
integer required
Report ID to duplicate.
reportName
string
Name for the copy. Default: "Copy of original name".
Response properties
success
boolean
Indicates report was successfully created: true.
data
string
Success message.
Request sample
{
"id": 123,
"reportName": "Report name"
}
Response 200
{
"success": true,
"data": "Report duplicated successfully with id 124"
}

Scheduling management​

This section covers the various methods and endpoints for managing scheduled reports.

See the quickstart guide on Scheduling a report.

Schedule a report​

POST

Create and save a report schedule.

Request schema
reportId
integer required
Report ID.
subscriberEmails
array of strings required
List of emails to which the report will be sent.
fileType
integer required
Report file type ID.
Supported values
1CSV
2XLSX
deliveryFrequency
integer required
Delivery frequency type ID.
Supported values
1One time now
2Daily until
3Weekly until
4Monthly until

1 (one time now) emails the report right away and removes any schedule already saved on the report.
deliveryDay
string
[Required if deliveryFrequency is weekly or monthly] Delivery day to specify the day-time when the report should be sent (not case-sensitive).
Weekly delivery day: [sunday, monday, ...].
Monthly delivery day: [first, last, 1, 2, ... 28].
eventEndDate
integer
[Required if deliveryFrequency is not "once"] Unix epoch timestamp in milliseconds, time when scheduled report will stop. Must be in the future.
runningTotalEnabled
boolean
Flag to indicate if the 'Running Total' is enabled for the report. Only supported with 'campaign' dimension. If true, start date for report will be earliest campaign start date, ending with report end date.
earliestCampaignStartDate
integer
[Required with runningTotalEnabled as true] Unix epoch timestamp, milliseconds. This is the campaign's earliest start date from the selected campaigns, which will be set as the start date of the report-time-period.
Request sample
{
"reportId": 1234,
"subscriberEmails": [
"sample_email1@example.com",
"sample_email2@example.com"
],
"fileType": 2,
"deliveryFrequency": 4,
"eventEndDate": 1814399999000,
"deliveryDay": "4",
"runningTotalEnabled": true,
"earliestCampaignStartDate": 1670674108900
}
Response 200
{
"success": true,
"data": {
"scheduledData": {
"deliveryDay": "4",
"deliveryFrequency": 4,
"earliestCampaignStartDate": 1670674108900,
"eventEndDate": 1814399999000,
"fileType": 2,
"reportId": 1234,
"runningTotalEnabled": true,
"subscriberEmails": [
"sample_email1@example.com",
"sample_email2@example.com"
]
},
"message": "Report schedule has been successfully updated."
}
}

Update a report schedule​

PATCH

Update a report schedule.

Path parameters
reportId
integer
Report ID.
Request schema
subscriberEmails
array of strings
List of emails to which the report will be sent.
fileType
integer
Report file type ID.
Supported values
1CSV
2XLSX
deliveryFrequency
integer
Delivery frequency type ID.
Supported values
1One time now
2Daily until
3Weekly until
4Monthly until

1 (one time now) emails the report right away and removes any schedule already saved on the report.
deliveryDay
string
[Required if deliveryFrequency is weekly or monthly] Delivery day to specify the day-time when the report should be sent (not case-sensitive).
Weekly delivery day: [sunday, monday, ...].
Monthly delivery day: [first, last, 1, 2, ... 28].
eventEndDate
integer
[Required if deliveryFrequency is not "once"] Unix epoch timestamp in milliseconds, time when scheduled report will stop. Must be in the future.
runningTotalEnabled
boolean
Flag to indicate if the 'Running Total' is enabled for the report. Only supported with 'campaign' dimension. If true, start date for report will be earliest campaign start date, ending with report end date.
earliestCampaignStartDate
integer
[Required with runningTotalEnabled as true] Unix epoch timestamp, milliseconds. This is the campaign's earliest start date from the selected campaigns, which will be set as the start date of the report-time-period.
Request sample
{
"subscriberEmails": [
"sample_email1@example.com",
"sample_email2@example.com",
"sample_email3@example.com"
]
}
Response 200
{
"success": true,
"data": {
"scheduledData": {
"earliestCampaignStartDate": 0,
"reportId": 1234,
"deliveryFrequency": 4,
"fileType": 1,
"subscriberEmails": [
"sample_email1@example.com",
"sample_email2@example.com",
"sample_email3@example.com"
],
"eventEndDate": 1696270980000,
"deliveryDay": "4",
"runningTotalEnabled": false
},
"message": "Report schedule has been successfully updated."
}
}

Delete report schedule​

DELETE

Remove a report schedule.

Path parameters
reportId
integer
Report ID.
Response properties
success
boolean
Indicates report was successfully created: true.
message
string
Success message.
Response 200
{
"success": true,
"data": {
"message": "Report event is removed."
}
}

Unsubscribe an email from all scheduled reports​

GET

Unsubscribe an email from all scheduled reports or an Organization.

Query parameters
token
string
Generated on the server when populating the email template dispatched to the end user. End user is able to unsubscribe the email address by opening the link in browser.

Unsubscribe an email from a report schedule​

GET

Unsubscribe an email from a report schedule.

Query parameters
token
string
Generated on the server when populating the email template dispatched to the end user. End user is able to unsubscribe the email address by opening the link in browser.

Get more report details​

This section covers more endpoints for getting various details about reports.

Get URL for report download​

POST

Generate a temporary URL, valid for 3 hours, to download a report as a CSV or XLSX file based on report ID or report data. fileType is always required. If using report data, the following parameters are also required:

  • dimensions
  • columns
  • requestType
  • reportAggregated
  • startDate
  • endDate
  • timezoneId
  • timezoneName

Refer to the Resource properties table for request schema supported parameters.

info

If there is no data for the report, this endpoint will not return a URL.

note

Downloads include up to 20,000 rows; pageNo and noOfEntries don't apply.

Response properties
success
boolean
Indicates report was successfully created: true.
url
string
Download URL.
{
"id": 123,
"fileType": 1
}
{
"fileType": 1,
"startDate": 1670410001000,
"endDate": 1675766802000,
"dimensions": "[{\"filter\":\"campaign\"},{\"filter\":\"gender\",\"value\":[10200002]},{\"filter\":\"deviceType\",\"value\":[20300001,20300003]}]",
"columns": [
"completeCount",
"maxBid",
"dailyBudget",
"VCR",
"eCPC",
"totalECPC",
"totalBudget",
"impressions",
"clicks",
"winRate"
],
"customerIds": [
201353,
201352
],
"requestType": 1,
"reportAggregated": "0",
"timezoneId": 11,
"timezoneName": "UTC",
"order": "desc",
"sortBy": "impressions",
"noOfEntries": 50,
"pageNo": 1
}
{
"fileType": 1,
"dimensions": "[{\"filter\":\"campaignId\"},{\"filter\":\"campaign\"}]",
"columns": [
"impressions",
"clicks",
"CTR",
"VCR",
"spent",
"dataCost",
"mediaSpent",
"eCPM"
],
"customerIds": [],
"requestType": 3,
"reportAggregated": "0",
"startDate": 1749960000000,
"endDate": 1757995199000,
"timezoneId": 29,
"timezoneName": "US/Eastern",
"sortBy": "-impressions"
}
Response 200
{
"success": true,
"data": {
"url": "https://bucketname.s3.amazonaws.com/csv/123/reportname__1677643612992.csv"
}
}

Get a list of conversion's custom fields​

POST

Get a list of conversion's custom fields by filter parameters.

Request schema
owIds
array of integers
Filters list by Customer Organization Workspace IDs, default is all assigned Customers.
searchField
string
Filter results by search field or ID.
sortBy
string
Sorts by ascending (+) or descending (-), default: -id.
pageNo
integer
Page number of retrieved data, default: 1.
noOfEntries
integer
Number of entries returned per page, default: 20.
Response properties
customFieldData
object
Custom field data details.
customFieldData object properties
id
integer
Pixel conversion ID.
pixelName
string
Pixel name.
customFieldName
string
Custom field name.
Request sample
{
"customerIds": [
123,
234,
345
],
"pageNo": 1,
"noOfEntries": 30,
"sortBy": "+id",
"searchField": "Pixel"
}
Response 200
{
"success": true,
"data": {
"totalRecords": 10,
"filterRecords": 3,
"customFieldData": [
{
"id": 3114,
"pixelName": "Pixel Conversion 1",
"customFieldName": "sample_one"
},
{
"id": 3114,
"pixelName": "Pixel Conversion 1",
"customFieldName": "sample_two"
},
{
"id": 3221,
"pixelName": "Pixel Conversion 2",
"customFieldName": "product_sales"
}
]
}
}

Get report request types​

GET

Get a static list of report request types.

Request type IDs
1Disaggregated (daily).
2Aggregated.
3Weekly.
4Monthly.
Response 200
{
"success": true,
"data": [
{
"id": 2,
"name": "total",
"order": 1,
"displayName": "Aggregated"
},
{
"id": 1,
"name": "daily",
"order": 2,
"displayName": "Daily"
},
{
"id": 3,
"name": "weekly",
"order": 3,
"displayName": "Weekly"
},
{
"id": 4,
"name": "monthly",
"order": 4,
"displayName": "Monthly"
}
]
}

Get report file types​

GET

Get a static list of report file types.

Report file type IDs
1CSV.
2XLS.
Response 200
{
"success": true,
"data": [
{
"name": "csv",
"id": 1,
"label": "CSV"
},
{
"name": "xlsx",
"id": 2,
"label": "XLS"
}
]
}

Get report delivery frequency types​

GET

Get a static list of report delivery frequency types.

Delivery frequency type IDs
1One time now.
2Daily until.
3Weekly until.
4Monthly until.
Response 200
{
"success": true,
"data": [
{
"name": "One Time Now",
"id": 1,
"label": "One time now"
},
{
"name": "DAY",
"id": 2,
"label": "Daily until"
},
{
"name": "WEEK",
"id": 3,
"label": "Weekly until"
},
{
"name": "MONTH",
"id": 4,
"label": "Monthly until"
}
]
}

Get dimensions and metrics details​

GET

Read more about report dimensions and metrics.

The response data object has a metrics array and a dimensions array. Each array item is an object with one key, the group name (for example Budget, Performance, Campaign Specifics, or Locations), whose value is the array of metrics or dimensions in that group. The groups and items returned depend on the account type.

Metric groups: Budget, Performance, Spending, Cost, Video, and Conversion. Dimension groups: Insertion Order Specifics, Campaign Specifics, Creative Specifics, Demographics, Technologies, Deliveries, Locations, and Audience Specifics; Workspace accounts also get Customers.

metrics object properties
id
integer
Metric ID.
label
string
Metric label.
order
integer
Display order.
fieldDataType
string
Field data type, e.g. number, currencyUSD, or percent.
aggregationType
string
How the metric is aggregated across rows: sum or avg.
description
string
Description.
tooltipDescription
string
Additional tooltip text, or null.
defaultEnabled
boolean
Indicates the metric will be applied to a report by default: true.
key
string
Unique backend identifier of a metric/dimension.
dependentDimensions
array of integers
IDs of the dimensions this metric depends on, or null.

dimensions object properties
id
integer
Dimension ID.
label
string
Dimension label.
order
integer
Display order.
isFilterSupported
boolean
Indicates that filtering is supported for a dimension: true.
isRowToColumn
boolean
Indicates the dimension supports a row-to-column pivot: true.
isCustomerDependent
boolean
Indicates the dimension is dependent on the type of Customer: true.
fieldDataType
string
Field data type, e.g. text, number, country, or regionCode.
description
string
Description.
tooltipDescription
string
Additional tooltip text, or null.
groupId
integer
Group ID.
key
string
Unique backend identifier of a metric/dimension.
Response 200
{
"success": true,
"data": {
"metrics": [
{
"Budget": [
{
"aggregationType": "sum",
"defaultEnabled": false,
"dependentDimensions": [
1,
2,
43,
44
],
"description": "Amount up to which you allow platform to spend on average each day",
"fieldDataType": "currencyUSD",
"id": 1,
"key": "dailyBudget",
"label": "Daily Budget",
"order": 1,
"tooltipDescription": null
},
{
"aggregationType": "sum",
"defaultEnabled": false,
"dependentDimensions": [
1,
2,
43,
44
],
"description": "Amount up to which you allow platform to spend",
"fieldDataType": "currencyUSD",
"id": 2,
"key": "totalBudget",
"label": "Total Budget",
"order": 2,
"tooltipDescription": null
}
]
},
{
"Performance": [
{
"aggregationType": "sum",
"defaultEnabled": true,
"dependentDimensions": null,
"description": "Number of times ad displayed on someone's screen",
"fieldDataType": "number",
"id": 5,
"key": "impressions",
"label": "Impressions",
"order": 1,
"tooltipDescription": null
}
]
}
],
"dimensions": [
{
"Campaign Specifics": [
{
"description": "Campaign Name",
"fieldDataType": "text",
"groupId": 1,
"id": 1,
"isCustomerDependent": true,
"isFilterSupported": true,
"isRowToColumn": false,
"key": "campaign",
"label": "Campaign",
"order": 1,
"tooltipDescription": null
},
{
"description": "Unique system-generated number assigned to each Campaign",
"fieldDataType": "text",
"groupId": 1,
"id": 2,
"isCustomerDependent": true,
"isFilterSupported": true,
"isRowToColumn": false,
"key": "campaignId",
"label": "Campaign ID",
"order": 4,
"tooltipDescription": null
}
]
},
{
"Locations": [
{
"description": "Country the ad ran in",
"fieldDataType": "country",
"groupId": 29,
"id": 34,
"isCustomerDependent": false,
"isFilterSupported": true,
"isRowToColumn": false,
"key": "country",
"label": "Country",
"order": 1,
"tooltipDescription": null
},
{
"description": "State the ad ran in",
"fieldDataType": "regionCode",
"groupId": 30,
"id": 35,
"isCustomerDependent": false,
"isFilterSupported": true,
"isRowToColumn": false,
"key": "state",
"label": "State",
"order": 2,
"tooltipDescription": null
}
]
},
{
"Audience Specifics": [
{
"description": "Type of audience where ad is served",
"fieldDataType": "text",
"groupId": 30,
"id": 65,
"isCustomerDependent": false,
"isFilterSupported": false,
"isRowToColumn": false,
"key": "audienceType",
"label": "Audience Type (Beta)",
"order": 3,
"tooltipDescription": "Audience Specifics reporting is supported for audiences created after 12/10/2025."
}
]
}
]
}
}
Have a question?
Was this page helpful?