Video views never charge past the budget; audit reads scheduled and uncharged campaigns correctly

chargeVideoView charged a full view even when the budget had less left (#39:
602 of 600). It now charges only what is left, and nothing once the budget is
gone; the viewer is still credited and the view still counted, so views keep
matching the watch log.

Audit: featured bookings are judged from their start time, not creation (#275
was flagged hours before its scheduled start); clicks-over-views only flags
campaigns that charged the buyer (#146, a placeholder video paused by the
source sweep, never spent a credit).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-09-27 05:28:03 -05:00
parent 917e87cd32
commit 5059d46bcb
2 changed files with 8 additions and 3 deletions
BIN
View File
Binary file not shown.