Skip to content

Wildberries API TypeScript SDK / ROASResult

Interface: ROASResult ​

Defined in: utils/roas.ts:8

Result of computeROAS.

Properties ​

PropertyTypeDescriptionDefined in
roasnumber | nullROAS = revenue / spend, or null when spend === 0 (no ad spend → div-by-zero avoided).utils/roas.ts:13
revenuenumberΣ sum_price over the window — attributed order revenue (RUB).utils/roas.ts:15
spendnumberΣ sum over the window — ad spend (RUB).utils/roas.ts:17
daysUsednumberNumber of days included in the sums.utils/roas.ts:19
excludedDaysnumberNumber of freshest days actually dropped (capped to the available day count).utils/roas.ts:21

Made with ❤️ for the Wildberries developer community