ClifNotes Logo

    ClifNotes

    🧪 Ad Display Test Page

    Tests all rendering paths for article_end placement.

    🔍 Debug Info

    ads_enabled setting: true
    Total ads in DB (all placements): 1
    article_end ads: 0
    Name: Insider App Promotion — Mid Article
    active: true
    preview_only: false
    start_date: 2026-03-11T12:26
    end_date: (none)
    target_category: (none)
    priority: 0
    ad_format: image_card

    Path 1: Direct InlineAdCard (raw — zero filtering)

    ❌ No active ad found in DB at all

    Path 2: via AdSlot component

    If nothing shows above, AdSlot returned null

    Path 3: via useAdForPlacement hook

    ❌ Hook returned null — filtered out

    How to read results:
    • Path 1 shows but 2 & 3 don't → hook filtering is the problem
    • None show → ad data or global setting issue
    • All show here but not ReadArticle → InlineAdInjector is the problem