MAHMOUD ABDELNABY
Media Buying · CLI SCRIPT · 2

Snapchat Saudi Ad Spec & Regulatory Compliance Linter

Prevent Snapchat ad rejections in Saudi Arabia. Automatically verify video safe-zones, technical specs, and Mawthooq compliance.

Problem it addresses

Build an open-source pre-flight validation toolkit for Snapchat Saudi advertising: 1) Python inspection script (snap_spec_linter.py) that checks video dimensions (1080x1920), duration, file size, audio presence, and text bounding-box safe-zone clearance, 2) SVG safe-zone overlays for Figma and Premiere Pro, 3) 20-point Saudi advertising legal compliance checklist (Mawthooq, pricing clarity, VAT transparency).

Who it is for

PRO operating in high-growth e-commerce, digital publishing, and direct-response marketing across Saudi Arabia, UAE, and Egypt.

What is inside

Key files listed in the README repository architecture:

  • assets/safe_zone_overlay_1080x1920.svg
  • checklists/saudi-advertising-compliance.md
  • examples/sample_manifest.json
  • LICENSE
  • README.md
  • src/snap_spec_linter.py
  • tests/test_linter.py

How to evaluate and use it

  1. Read the README first and confirm that the documented problem matches your use case.
  2. Inspect the listed files to find the data, tools, templates, and tests relevant to your task.
  3. Follow the repository’s Quick Start and check prerequisites before running commands.
  4. Compare outputs with documented examples and review limitations before using them in a decision or client workflow.

Quick Start from the README: python -m unittest discover -s tests · python src/snap_spec_linter.py --help

Scope and limitations

  • Saudi Mawthooq Verification: Commercial creator ads in KSA must display valid Mawthooq license numbers to avoid punitive ad account suspensions.
  • Snap Safe Zone Inset: Vertical 9:16 videos must maintain top (150px) and bottom (250px) clear zones to prevent CTA button overlap.
  • Bitrate & File Size Compression: Max file size of 32MB and H.264/AAC encoding constraints strictly enforced for fast loading on cellular networks.

This page summarizes the available documentation; it does not establish performance or business results. Verify data and prerequisites before use.

Related repositories