active_from and active_to windows, cap spend with budgets, and launch or roll them back as a unit through rule configuration.
For window and budget mechanics on a single rule, see Time-windowed rules and Budgets.
Choose how the bonus applies
Stacking is the safer default. Override only when the campaign rate is meant to replace the whole rate.
Stack a bonus
Add acampaigns set after your earning set (returning ID d4735e3a-265e-4f16-b1a5-4c8e9d6f0a09 here), then add windowed rules to it. This rule adds 2% on dining for October:
OUTSIDE_TIME_WINDOW) and the base rate pays alone.
Override the base rate
To pay a flat 5% on everything during launch week instead of the usual rates, put the rule first in the earning set withstop_after_match: true:
Windows and backdated events
active_from (inclusive) and active_to (exclusive) compare against each event’s event_timestamp, not processing time. You can schedule campaign rules weeks ahead, and retries make the same decision as the original run. Keep in mind that backdated historical imports can still match a closed campaign window unless you suspend or archive the rules first.
Cap the spend
Combine a program-wide budget (total campaign pool) with a per-participant budget (scope: "PARTICIPANT") to cap both total spend and per-person earnings. This rule pays 5% on purchases up to 250,000 in total and at most 2,000 per participant:
TAG action with a condition guard such as !('october_bonus_paid' in participant.tags); see One-time welcome reward. Budgets and tag or counter guards work independently, so you can combine a program-wide pool with a one-time tag guard when capping how many people can claim a flat bonus.
Once a budget is exhausted, the campaign rule is skipped (BUDGET_EXCEEDED or PARTICIPANT_BUDGET_EXCEEDED) while base rules keep paying. For a campaign funded in its own currency with a hard balance ceiling, link a PREFUNDED asset and fund the program wallet instead; see Issuance policy.
Test before launch
Send the campaign rules as a draftrule_configuration to POST /v1/programs/{program_id}/rule-configuration/simulations with options.compare_live: true to compare the draft against your live configuration without crediting live balances.
Because synthetic scenario events share one clock time, test window boundaries using replay mode over historical events on both sides of the window, or call Simulate a draft rule with explicit event_timestamp values inside and outside the window. See Testing.
Launch, monitor, and retire
Publish multi-rule campaigns in one atomic version using/rule-configuration/preview and /rule-configuration/apply (see Managing rule configuration). Because windows control activation, you can apply the revision ahead of time.
After
active_to passes, the window closes automatically. Archive the rules when you no longer need them in the active list, update their window to run the promotion again, or roll back to the pre-campaign revision.
Time-windowed rules
Window fields, budgets, and live-traffic update behavior.
Rule sets
Set order, positions, and set-local stopping.
Test a full configuration
Compare a draft campaign against live rules before launching.