Ads
Ad Types
Display, interstitial, skyscraper, sticky, rewarded, and collapsible ad components.
Ad Types
All ad components live in components/ads/ and check isAdSense(tenantConfig) to branch between GAM and AdSense implementations.
Component map
Display Ads
Component: components/ads/DisplayAd.js
- Banner ads placed within content flow
- Category pages: 2 display ad slots
- Article pages: first and second display ad slots
- Sizes: responsive (728x90 desktop, 320x50 mobile)
Interstitial Ads
Component: components/ads/InterstitialAd.js
- Full-screen ads between content
- Category pages only
- Timing controlled by theme (see Theme Ad Timing)
Skyscraper Ads
Component: components/ads/SkyscrapperAd.js
- Vertical side ads (120x600)
- Left and right placements on desktop
- Hidden on mobile
Sticky Ads
Component: components/ads/StickyAd.js
- Fixed position banner (top or bottom)
- Responsive: 728x90 desktop, 320x50 mobile
- Position configurable per category/tenant
Rewarded Ads
Component: components/ads/RewardedAdManager.js
- Video ads users watch to unlock content
- Core monetization mechanism on category pages
- See Rewarded Flow for lifecycle details
Collapsible Ads
Component: components/ads/CollapsibleAd.js
- Anchor ads fixed at viewport top or bottom
- Renders above theme overlays (
z-index: 2147483647) - Returns null when no ad unit resolves
KV2 Rewarded Popup
Component: components/ads/Kv2RewardedPopup.js
- Second-chance rewarded ad when KV1 doesn't fill
- Inline popup (no redirects)
- See Rewarded Flow