Daily revenue and spend
get_seriesDaily revenue and spend over the current period. byWeekday averages revenue per day of the week with how many of those days the span held: for 'which day sells most' read at least the last 90 days and quote it, never work it out. For one channel's revenue on a day, QUOTE platformRevenueByChannel: each platform's own claim per day, the figure the Plataforma trend chart draws. revenueByChannel is Nuira's own position-based credit from measured touchpoints (revenue with no paid touch under direct), a second opinion — quote it only when asked how Nuira attributes. Use when the question is about when something changed, about a trend or spike, or about one channel on a given day. spend is that day's total ad spend. For totals over the whole period use get_summary (all channels) or get_channels (per channel). Optional from and to (inclusive YYYY-MM-DD, both or neither, never after today) read another span instead of the default period. A named month, a week or two dates the operator gave MUST be sent here: without them this reads the last 30 days, which is not that month.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day of the span, inclusive, as YYYY-MM-DD; not after today. Send together with `from`, or omit both to read the default 30-day period. | |
| from | No | First day of the span, inclusive, as YYYY-MM-DD. Send together with `to`, or omit both to read the default 30-day period. |