get_roas
Get Return on Ad Spend (ROAS) with transaction attribution data.
Closes the ROAS loop: matches purchase events to DOOH exposures with time-decay weighting, and computes attributed revenue and incremental ROAS.
WHEN TO USE:
Measuring revenue directly attributable to DOOH advertising
Getting ROAS and incremental ROAS (iROAS) figures
Seeing sales lift between exposed and control groups
RETURNS:
transactions: total, uniquePurchasers, totalRevenueCents, avgBasketCents
attribution: attributedTransactions, attributedRevenueCents, totalMediaCostCents, roas, iroas
salesLift: exposedPurchasers, controlPurchasers, incrementalTransactions, incrementalRevenueCents, salesLiftPct, posteriorProbPositive
timing: avgHoursToPurchase, medianHoursToPurchase
Returns null if no transaction data exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | Campaign identifier |