All buildsIn progress

Campaign validation tooling / 2026 / In progress · Anonymized work

Campaign Record Validator.

A checker that rebuilds a campaign’s approval fingerprint from today’s settings to catch anything changed since approval

Part of the Media Job Compiler journey
Role
Software engineering
Built with
Python · JSON Schema · JSONL · SHA-256 · Decimal · CLI

01What I built

The problem.

A campaign gets approved, and then things move. A setting changes, or a different creative is swapped in. The approval file is still there, and its fingerprint is still a real fingerprint. It is just for material the campaign no longer describes. Spotting that means comparing several separate records that can each look fine alone.

What I built.

Campaign Record Validator is a Python tool that runs from the command line and reads local campaign records. An approval fingerprint is a short code made from the approved details, and it changes if any detail changes. The tool rebuilds that fingerprint from the campaign as it is now. It follows the exact Asset Release Registry release list and the chosen creative. It checks approvals and events against each other, and it reports where the records disagree. It has no code that connects to a platform, and it writes nothing.

The command-line tool

Python, JSON Schema, JSONL, SHA-256

Record lookup
Builds the paths to campaign and review files from IDs that do not change, and keeps them inside the workspace.
Fingerprint rebuild
Writes the details as compact text, with field names sorted and lists kept in order. Then it makes a fingerprint of that text.The storyChecking a campaign still matches what was approved
Media check
Follows the pinned release list and creative. It compares the release and the asset they name. It also compares the filename and the content fingerprint.
Approval and events
Checks the fingerprint’s kind, its method and whether it was rebuilt. It also checks that events are numbered without gaps and IDs are unique.The storyChecking a campaign still matches what was approved
Sensitive-data scan
Refuses obvious sign-in details, card details and long platform IDs outside the one private file.

Confidential work. Names and identifying business details have been changed.

02The journey

What broke, and what changed.

Broke, then fixedA decisionA milestone

  1. 01 of 03Decided

    Rebuild the details before trusting the fingerprint

    The questionA fingerprint someone supplies can be worked out correctly and still belong to different material. Comparing two fingerprints alone would let a changed campaign pass on an old approval.

    What I choseThe checker first Campaign Record Validator · The command-line toolFingerprint rebuildWrites the details as compact text, with field names sorted and lists kept in order. Then it makes a fingerprint of that text.See it in the map above from the campaign’s current details. Then it compares the result with the approval and confirmation records. A changed detail no longer matches.

03Today

Where it stands.

Matching files cannot prove who approved a campaign or when. The fingerprints use no secret key, so someone with enough file access could rewrite the records and fingerprints together. The check for sensitive data only catches obvious patterns. Still to do are made-up test cases for a changed creative, changed approval details and events out of order.