Saltar al contenido

Export the uplift report

Este contenido aún no está disponible en su idioma.

Exports the uplift report, a campaign’s or a journey’s holdout metrics, to a CSV file, through the same task lifecycle as message statistics export: call export, poll status, call result, then download.

POST https://api.pushwoosh.com/api/v2/statistics/exportMessagesStatistics/export

Use "type": "TASK_TYPE_EXPORT_CONTROL_GROUP_ANALYTICS" and an export_control_group_analytics object instead of export_messages_v2. Authentication and the rest of the lifecycle (status, result, lastTasks, delete, download) work exactly as described on message statistics export.

export_control_group_analytics accepts:

NameRequiredTypeDescription
application_codeYesStringApplication code.
date_fromYesStringWindow start over the report’s own timestamp, YYYY-MM-DD or YYYY-MM-DD HH:MM:SS. A date-only value expands to the start of that day.
date_toYesStringWindow end, same format. A date-only value expands to the end of that day.
campaignNoStringCampaign code, exports that campaign’s holdout only. Mutually exclusive with journey.
journeyNoStringJourney UUID, exports that journey’s Holdout Split points only. Mutually exclusive with campaign.

Leave both campaign and journey empty to export every campaign and every journey the application has a report for.

Example request

Anchor link to
{
"type": "TASK_TYPE_EXPORT_CONTROL_GROUP_ANALYTICS",
"export_control_group_analytics": {
"application_code": "XXXXX-XXXXX",
"date_from": "2026-08-01",
"date_to": "2026-08-31"
}
}

result returns export_control_group_analytics_result.file and .file_url, the same shape as message statistics export’s result.

What’s in the file

Anchor link to

One row per campaign or per journey holdout point, per goal event. The underlying report writes a fresh row every day for the same pair, and the export keeps only the newest one, so you get the current numbers, not a history of every past run.

ColumnDescription
timestampWhen this row was computed.
owner_typeTYPE_CAMPAIGN or TYPE_JOURNEY.
owner_idThe campaign or message code for a campaign row, the journey’s UUID for a journey row.
point_uuidThe Holdout Split point’s UUID for a journey row. Empty for a campaign row.
event_nameThe goal event this row measures.
attribution_window_secondsThe attribution window applied, in seconds.
treatment_users, control_users, treatment_conversions, control_conversions, treatment_events, control_eventsRaw counts behind the metrics below.
uplift_pct, incremental_events, percent_of_treatment, z_score, p_value, confidence_pctSame metrics as the uplift report.
significanceTYPE_SIGNIFICANT, TYPE_NOT_SIGNIFICANT, or TYPE_NOT_ENOUGH_DATA.
revenue_tracked1 if the goal event’s revenue source was configured, 0 if the row is only guessing from a legacy fallback. See Revenue in the report.
treatment_revenue_<currency>, control_revenue_<currency>, incremental_revenue_<currency>Three columns per currency, lowercase currency code (for example treatment_revenue_usd). The file only gets columns for currencies that actually appear in the exported rows.