questionnaire docs
Ads

Ad System Overview

Overview of the ad monetization system and how ads integrate with themes.

Ad System Overview

The platform monetizes through a sophisticated multi-format ad system powered by @unib0ts/ad-manager (GAM/ADX) with an AdSense branch.

Ad types

TypeComponentWhere used
DisplayDisplayAd.jsCategory, article
InterstitialInterstitialAd.jsCategory
SkyscraperSkyscrapperAd.jsCategory, article (desktop sides)
StickyStickyAd.jsCategory, article (top/bottom)
RewardedRewardedAdManager.jsThemes, KV2 popup, articles
CollapsibleCollapsibleAd.jsCategory, article (anchor)

System architecture

Provider switch

Tenants can use either GAM (AdX) or AdSense:

  • adConfig.adProvider: "adx" (default) or "adsense"
  • See AdSense Integration for AdSense-specific behavior

Key concepts

ConceptDescription
KV waterfallTiered pricing via GAM key-values, cycling on no-fill
KV2 fallbackSecond-chance rewarded popup when KV1 doesn't fill
Theme timingWhen each ad type starts based on theme state
Time-specific KVsHour-based KV overrides (Dubai timezone)

Sections

On this page