Create Scheduled Report

This creates a Scheduled Report. This endpoint uses the same body params as a queued report for the Criteria field.

Click here for more info on Scheduled Reports.

Troubleshooting Notes

  1. All times are in GMT

  2. If you schedule a fixed date report, you must use a custom start and end date. ToDate time frames are not supported.

Body Params
string
required

A friendly name for the report

int32
required

The LoginId for the user who should receive the report. This is the ID that's returned in the User Management API endpoints. You can pull a list here

string
required

The date to begin generating the report. We will use this date and the RecurrenceType to determine when the report should recur. Will accept a valid ISO 8601 date string.

int32
required

The timeframe in which the report should be delivered. All times are in GMT. Key 0 = Midnight to 6:00AM 1 = Between 6:00AM and Noon 2 = Between Noon and 6:00PM (18:00) 3 = Between 6:00PM (18:00) and Midnight

int32
required

How often the report should be delivered. We will use the RecurrenceType to adjust the StartDate and EndDate from the criteria object with each recurring report. Key: 0 = no recurrence 1 = daily 2 = weekly 3 = monthly

Criteria
object
required

Object. Use same body params from Queued Reports. You'll effectively be placing the Queued Report fields into this object.

Emails
array of strings

The external email addresses to email with the completed report. Each email address is a string, like "Emails":["1@2.com", "3@4.com"]

Emails
boolean
Defaults to false

Display events (conversions, custom events, etc.). Default is false

boolean
Defaults to false

Display clicks sorted by click bucketing. Default is false

boolean
Defaults to false

Display revenue. Default is false

boolean
Defaults to false

Display conversions. Default is false

boolean
Defaults to false

Prevents the time frame of the report from incrementing with each send. Default is false

Response

Language
Credentials
Request
Choose an example:
application/json