Skip to main content
GET
get-campaign-statistics-csv
To set the date range, use start and end together, or use since or last. The default date range is seven days. To query a single day, set start and end to the same date. offset applies only to since and last. Reporting dates use KST and exclude today.

Path Parameters

projectId
string
required

Project ID.

Query Parameters

start
string<date>

First date (YYYY-MM-DD, KST). Use with end.

end
string<date>

Last date (YYYY-MM-DD, KST). Use with start.

since
string<date>

Query data starting on this date.

last
integer

Query the last N periods. Use a positive number.

Required range: x >= 1
offset
integer

Move the reference date for since or last back by this many periods.

Required range: x >= 0
timeUnit
enum<string>
default:day

Unit for last or offset.

Available options:
day,
week,
month
tag
string[]

Repeat to filter campaigns matching any tag. User journeys are excluded when tags are supplied.

Response

Returns text/csv when data is available. Dates use DD/MM/YYYY and unavailable metrics are 0. Up to ten conversions appear in conversion_1 through conversion_10. Conversion types are 전체 전환 (total), 직접 전환 (direct), or 전환 매출 (revenue). Unused slots are blank. Returns a text/plain message for empty results, some date range errors, or CSV files over 2 MB.

The response is of type string.