isExpired property

bool get isExpired

Whether the warm ad has outlived its maximum age and must not be shown.

Google documents full-screen ads as expiring after ~1 hour (4 hours for app-open): a stale ad may fail to display, or display but not count. show discards-and-reloads an expired ad instead of showing it, and an expiry timer proactively replaces one that goes stale while warm (2026-07 audit; generalizes what app-open always did).

Implementation

bool get isExpired {
  final loadedAt = _loadedAt;
  final maxAdAge = _maxAdAge;
  if (loadedAt == null || maxAdAge == null) return false;
  return _now().difference(loadedAt) >= maxAdAge;
}