Sign in
Telegram Ads Help Center
Account menu

Term · technical

Niche classifier

The keyword + regex pipeline that assigns a niche to each newly-ingested creative. Implemented in lib/niche.ts as priority-weighted RULES — patterns sum by weight, the highest-scoring niche wins, no match → null. ASCII patterns use \b word-boundary; Cyrillic / Arabic / CJK patterns use whole-word lookarounds. The classifier handles 25+ niches across 11 languages. Coverage telemetry exposed at /api/healthz (niche_coverage_pct_7d). New rules propagate to the 90-day backlog via the reclassify-creatives in-process cron.

Related terms

Cite this entry

Telegram Ads Spy (2026). "Niche classifier" in Telegram Ads glossary. https://tgadsspy.com/info/classifier

Licensed CC-BY-4.0 — reuse allowed including commercial, attribution required.