Skip to main content

Restricted Categories

The /v1/compliance/check-image endpoint detects image content belonging to six advertising-restricted categories and emits a dedicated compliance check for each match. Each check carries jurisdiction-aware regulatory citations and platform-policy references filtered to the request scope.

When a check fires

The image is analyzed for recognizable objects/scenes. When a detected label maps to a restricted category (case-insensitive exact-word match against the category’s matchLabels), a Restricted Category: {categoryName} check is emitted. Aggregation rules:
  • Multiple detected labels matching the same categoryone check, using the highest-confidence label in the interpolated message
  • Detected labels below 50% confidence are ignored (most signal noise lives below this threshold)
  • Match is exact-word and case-insensitive: "alcohol" matches "Alcohol" and "alcohol " but does NOT match "non-alcoholic"

The six categories

CategorySeverityStatusSample match labels
Alcohol & spiritshighblockalcohol, wine, beer, whiskey, spirits, champagne, cocktail, vodka, rum, liquor
Weapons & firearmshighblockfirearm, weapon, gun, rifle, pistol, ammunition, bullet, knife
Tobacco & smoking productshighblocktobacco, cigarette, cigar, vape, e-cigarette, smoking, smoker
Gamblinghighblockcasino, gambling, slot machine, poker chip, roulette, lottery, betting
Pharmaceutical & prescription drugsmediumflagmedicine, pill, pharmacy, drug, pharmaceutical, prescription, capsule
Financial products (incl. crypto, forex, investments)mediumflagbitcoin, cryptocurrency, currency, investment, trading, stock market, forex, banking, loan, crypto, coin
high-severity categories produce a hard block decision. medium-severity categories produce a flag (review required) — typically for regulated content that’s allowed with substantiation and disclosure.

Citations per category

Each category carries per-jurisdiction citations (US / EU / UK / China / India) and per-platform citations (Facebook, Instagram, TikTok, YouTube). Only those matching the request scope are included on the emitted check.

Alcohol & spirits

ScopeCitations
us27 U.S.C. § 213 (Federal Alcohol Administration Act); FTC alcohol self-regulation guides; state alcohol-board rules (e.g. California ABC, NY SLA)
euEU AVMSD Art. 9 (commercial communications for alcoholic beverages); EU Council Recommendation 2001/458/EC
ukUK CAP Code Section 18 (Alcohol); ASA enforcement
chinaChina Advertising Law Art. 23 (alcohol); SAMR enforcement
indiaIndia Cable Television Networks Rules Rule 7(2)(viii); Drugs and Cosmetics Act 1940 (surrogate-advertising provisions)
facebook / instagramMeta Advertising Standards — Alcohol
tiktokTikTok Advertising Policies — Alcohol
youtubeGoogle Ads Policies — Alcohol

Weapons & firearms

ScopeCitations
usATF firearms-advertising regulations; state firearms-marketing statutes
euEU member-state firearms-advertising restrictions
ukUK Firearms Act 1968; CAP Code Rule 11 (Distance Selling)
chinaChina Firearms Control Law Art. 5
indiaIndia Arms Act 1959
facebook / instagramMeta Advertising Standards — Weapons, ammunition & explosives
tiktokTikTok Advertising Policies — Weapons & explosives
youtubeGoogle Ads Policies — Dangerous products or services

Tobacco & smoking products

ScopeCitations
usFamily Smoking Prevention and Tobacco Control Act (FSPTCA); FDA tobacco advertising rules; state tobacco-control laws
euEU Tobacco Advertising Directive 2003/33/EC; TPD 2014/40/EU
ukUK Tobacco Advertising and Promotion Act 2002
chinaChina Advertising Law Art. 22 (tobacco advertising ban)
indiaIndia COTPA 2003 (Cigarettes and Other Tobacco Products Act)
facebook / instagramMeta Advertising Standards — Tobacco & related products
tiktokTikTok Advertising Policies — Tobacco products
youtubeGoogle Ads Policies — Tobacco

Gambling

ScopeCitations
usState gaming-commission rules (NJ DGE, NV GCB, etc.); Wire Act; UIGEA
euEU member-state gambling regulators (French ANJ, Spanish DGOJ, etc.); EU Commission gambling recommendations
ukUK Gambling Act 2005; CAP Code Section 16; Gambling Commission rules
chinaChina Criminal Law Art. 303 (gambling prohibition)
indiaIndia Public Gambling Act 1867; state lottery laws
facebook / instagramMeta Advertising Standards — Online gambling & gaming
tiktokTikTok Advertising Policies — Gambling
youtubeGoogle Ads Policies — Gambling and games

Pharmaceutical & prescription drugs

ScopeCitations
usFDA prescription-drug advertising rules (21 CFR § 202); FTC self-regulation for OTC drugs
euEU Directive 2001/83/EC Art. 86–100 (medicinal-product advertising); EMA guidelines
ukUK Human Medicines Regulations 2012 Part 14; PMCPA Code of Practice
chinaChina Advertising Law Art. 15–18 (medical advertising); SAMR enforcement
indiaIndia Drugs and Magic Remedies (Objectionable Advertisements) Act 1954
facebook / instagramMeta Advertising Standards — Online pharmacies
tiktokTikTok Advertising Policies — Drugs, drug-related products
youtubeGoogle Ads Policies — Healthcare and medicines

Financial products (incl. crypto, forex, investments)

ScopeCitations
usSEC marketing rule (Rule 206(4)-1); FINRA Rule 2210 (communications with the public); CFTC commodity-advertising rules; state Blue Sky laws
euEU MiFID II; ESMA marketing-communications guidelines; MiCA crypto-asset-markets marketing rules
ukUK FCA Financial Promotion regime (FSMA s.21); FCA crypto-promotion rules (PS23/6)
chinaChina Advertising Law Art. 25 (financial-product advertising); PBOC and CBIRC rules
indiaIndia SEBI Investment Adviser Regulations; RBI advertising guidelines
facebook / instagramMeta Advertising Standards — Financial products & services
tiktokTikTok Advertising Policies — Financial services
youtubeGoogle Ads Policies — Financial products & services

Example response check

When an image of a wine bottle is checked with jurisdictions: ["us", "uk"] and platforms: ["facebook", "tiktok"]:
{
  "id": "chk_87bdd543",
  "agentId": "rights-clearance-image",
  "checkName": "Restricted Category: Alcohol & spirits",
  "status": "block",
  "severity": "high",
  "message": "Image depicts Alcohol & spirits (detected label: liquor, 94% confidence). Restricted advertising category — alcohol marketing requires age-gating, jurisdictional licensing, and specific disclaimer language.",
  "recommendation": "Block publication or obtain explicit clearance for alcohol & spirits advertising under the cited regulations and platform policies.",
  "citation": "27 U.S.C. § 213 (Federal Alcohol Administration Act); FTC alcohol self-regulation guides; state alcohol-board rules (e.g. California ABC, NY SLA); UK CAP Code Section 18 (Alcohol); ASA enforcement; Meta Advertising Standards — Alcohol; TikTok Advertising Policies — Alcohol",
  "jurisdictions": ["us", "uk"],
  "platforms": ["facebook", "tiktok"]
}
The message interpolates {{category}} (categoryName), {{label}} (the highest-confidence matched label, lower-cased), and {{confidence}} (integer 0–100).

Notes on extensibility

The category list, match labels, severity, message template, and citation maps are admin-tunable in real time — stored in Azure Storage and edited without a code deploy. Changes propagate within 60 seconds via a cached loader. Contact your account team to request:
  • New categories specific to your industry (e.g. supplements, CBD, political content)
  • Adjustments to the match-label list for an existing category
  • Per-tenant severity overrides
If the Azure-managed table is unreachable for any reason, the runtime falls back to the in-repo manifest (currently the 6 categories above), so image checks never break on a transient outage.