ad-formats

Canonical sizes, aspect ratios and safe areas for social video ad placements (Reels, TikTok In-Feed, Shorts, Facebook Feed, YouTube in-stream). Includes cover-crop math for fitting a source clip to a placement. The constants come from the render pipeline behind Ravvi AI (https://ravvi.ai), an AI ad generator, so they match what real ads ship with. A TypeScript port of the same table lives at https://jsr.io/@ravvi/ad-formats

Build status: ok passing tests valid license

Authors
Documentation
Tags
License
Language familiesRacket
Last updatedTuesday, July 28th, 2026 2:01:16pm (UTC)
Ring2
ConflictsNone
Dependencies
Build platformsany platform
Most recent build results
Version Exceptions
VersionSourceChecksum
defaulthttps://github.com/ravvi-ai/ad-formats-racket.git#main15715f8d7e02d74ef3af63625463fd69dba1f982
Last checkedWednesday, July 29th, 2026 12:25:23am (UTC)
Last editedTuesday, July 28th, 2026 2:01:16pm (UTC)
Date addedTuesday, July 28th, 2026 2:01:16pm (UTC)
Modules
  • ad-formats/main.rkt