AppOpenPlacement class
Type-safe placement descriptor for App Open ads.
- Inheritance
-
- Object
- AdPlacement
- FullscreenPlacement
- AppOpenPlacement
Constructors
- AppOpenPlacement({String? id, required String androidId, required String iosId, AdPriority? priority, bool loadOnce = false, bool isSplash = false})
-
Creates an AppOpenPlacement with the specified unit IDs and options.
const
Properties
- androidId → String
-
The AdMob Ad Unit ID for Android.
finalinherited
- format → AdFormat
-
The ad format (interstitial, rewarded, banner, native, app open).
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The unique placement identifier.
finalinherited
- iosId → String
-
The AdMob Ad Unit ID for iOS.
finalinherited
- isSplash → bool
-
Whether this placement is part of the splash screen loading sequence.
finalinherited
- loadOnce → bool
-
Whether this ad is only loaded once and never replenished post-dismissal.
finalinherited
- priority → AdPriority
-
The initial priority tier for queue dispatching.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getUnitId(
{required bool isAndroid}) → String -
Resolves the unit ID for the target platform.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited