flutter_ads library

Legacy library entrypoint for backwards compatibility.

Prefer importing package:admob_kit_flutter/admob_kit_flutter.dart.

Classes

AdAnalyticsTracker
Dependency Injection contract for routing ad events to product/marketing analytics.
AdBannerView
Zero-CLS (Cumulative Layout Shift) banner container.
AdDiagnosticReport
Detailed telemetry report emitted for production observability and debugging.
AdDiagnosticsTracker
Dependency Injection contract for opt-in production diagnostics and health telemetry.
AdLogger
Abstract logging contract for the ad engine.
AdmobKit
Unified developer-facing facade for the AdmobKit plugin.
AdmobKitConfig
Configuration passed to AdmobKit.initialize at application startup.
AdMobTestIds
Official Google AdMob sample App IDs and test Ad Unit IDs.
AdNativeView
Zero-CLS (Cumulative Layout Shift) container for Native ads.
AdNetworkInfo
Abstract contract for reading and observing network connectivity conditions.
AdPaywallGuard
Full-coverage paywall guard intercepting system/hardware back gestures (PopScope) and routing exits through a guarded full-screen ad placement.
AdPlacement
Base class representing a type-safe ad placement configuration.
AdRevenueValue
Domain value object representing impression-level revenue (ILRD/LTV).
AdTimeoutConfig
Adaptive timeout configuration separating fullscreen and inline ad formats.
AdTimeoutPolicy
Network-specific timeout policy.
AppOpenPlacement
Type-safe placement descriptor for App Open ads.
BannerPlacement
Type-safe placement descriptor for Banner ads.
ConsentTestConfig
Configuration for consent testing (e.g. simulating EEA geography or test devices).
FullscreenPlacement
Base sealed class for full-screen placements (Interstitial, Rewarded, AppOpen).
InlinePlacement
Base sealed class for inline layout placements (Banner, Native).
InterstitialPlacement
Type-safe placement descriptor for Interstitial ads.
NativePlacement
Type-safe placement descriptor for Native ads.
RewardedInterstitialPlacement
Type-safe placement descriptor for Rewarded Interstitial ads.
RewardedPlacement
Type-safe placement descriptor for Rewarded ads.

Enums

AdDiagnosticEventType
Types of diagnostic events emitted by the ad engine.
AdFormat
Supported advertisement formats in the package.
AdLogLevel
Verbosity levels for ad engine logging.
AdNetworkType
Normalized network types for ad request optimization and telemetry.
AdPlacementState
Lifecycle state of an ad placement within the eager preloading pool.
AdPriority
Priority tiers used by the ad preloading queue.
AdRevenuePrecision
Precision of the revenue value reported by AdMob.
NativeAdTemplate
Standard Native Ad layout templates supported out-of-the-box by AdmobKit.

Typedefs

FlutterAds = AdmobKit
Backwards-compatible alias for AdmobKit.
FlutterAdsConfig = AdmobKitConfig
Backwards-compatible alias for AdmobKitConfig.