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
- Niche (Telegram Ads Spy taxonomy)The granular taxonomy layer in tgadsspy. Each indexed creative is classified into one of ~30 niche slugs by a keyword + regex clas
- Category (Telegram Ads Spy taxonomy)The coarse-grained taxonomy layer in Telegram Ads Spy — six super-groups: Finance, Gambling, Tech, Content, Commerce, Lifestyle. E
- Niche ClassificationAutomatic or manual categorization of ads by vertical — crypto, trading, gambling, VPN, tech, news, retail, finance, gaming, educa
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.