- Preview
- A fictional campaign spending ahead of its plan.
- Inputs
- Pass budget, planned spend and actual spend in the same currency’s major units and reporting window. Supply a stable campaign ID and its reported pause state.
- Source options
- Map a campaign’s spend and running state from the host’s advertising integration.
- Actions
- Supply a campaign snapshot and onPauseChange to enable Pause and Resume. Confirmation sends the campaign ID and requested state. Publish the confirmed snapshot. If a refresh already reports the requested state, the panel acknowledges it without repeating the change. Reject the callback to allow a retry.
- Integration requirements
- Provide finite non-negative amounts in major currency units, using one uppercase ISO currency code and the same reporting period. A budget of zero means no configured cap. The widget shows the difference between spend and plan at the currency’s precision. Pass null when data is unavailable.
{
"id": "trail-launch",
"campaign": "Trail Kit Launch",
"period": "Today",
"currency": "USD",
"budget": 3200,
"spent": 2490,
"plannedSpend": 1980,
"paused": false
}