Monthly goals and how realistic they are
get_goalsThe month's goals register — net revenue, total media spend, the MER target (computed, never typed), the nCAC target and the per-platform budgets — and where each half comes from: set by the team, or suggested: Nuira's proposal from the store's own history, which counts everywhere until someone accepts or edits it. suggestion.revenueBasis / spendBasis say how it was derived (the average of recentMonths, or sameMonthLastYear × the year-over-year trend); withheld platforms had their spend sync down, so their share is left unassigned rather than proposed 0. checks judges each goal against the store's history: realistic: false means above high (for nCAC, below low); quote low–high as the realistic range and reference (referenceKind, referenceMonth) as the fact it rests on. Pass netRevenue, totalSpend or ncacTarget to judge values the person is considering; month is YYYY-MM, the store's current month by default. Each value's origin (goals.origins, and budgetOrigin / targetOrigin per platform) says who set it: nuira_proposed = Nuira's proposal, not accepted by anyone; nuira_accepted = Nuira's proposal, accepted by by on at; human = set by by on at; copiedFrom = copied from that month by its by. Use it when asked who set a goal or whether it is Nuira's. READ-ONLY: goals are saved only in the goals editor, by their owner — never say you set or changed one. When a goal is unrealistic, explain why with these figures, propose the realistic range, and ask what would justify it (a launch, a big campaign, a new market…): with that reason the person can keep it as an ambitious goal in the editor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| month | No | ||
| ncacTarget | No | ||
| netRevenue | No | ||
| totalSpend | No |