AdUnit class

Representation of an ad unit.

An ad unit represents a saved ad unit with a specific set of ad settings that have been customized within an account.

Constructors

AdUnit({ContentAdsSettings? contentAdsSettings, String? displayName, String? name, String? reportingDimensionId, String? state})
AdUnit.fromJson(Map json_)

Properties

contentAdsSettings ContentAdsSettings?
Settings specific to content ads (AFC).
getter/setter pair
displayName String?
Display name of the ad unit, as provided when the ad unit was created.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
Resource name of the ad unit.
getter/setter pair
reportingDimensionId String?
Unique ID of the ad unit as used in the AD_UNIT_ID reporting dimension.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String?
State of the ad unit.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited