AdUnit class

Constructors

AdUnit({String? code, AdUnitContentAdsSettings? contentAdsSettings, AdStyle? customStyle, String? id, String? kind, AdUnitMobileContentAdsSettings? mobileContentAdsSettings, String? name, String? status})
AdUnit.fromJson(Map json_)

Properties

code String?
Identity code of this ad unit, not necessarily unique across ad clients.
getter/setter pair
contentAdsSettings AdUnitContentAdsSettings?
Settings specific to content ads (AFC) and highend mobile content ads (AFMC - deprecated).
getter/setter pair
customStyle AdStyle?
Custom style information specific to this ad unit.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
Unique identifier of this ad unit.
getter/setter pair
kind String?
Kind of resource this is, in this case adsensehost#adUnit.
getter/setter pair
mobileContentAdsSettings AdUnitMobileContentAdsSettings?
Settings specific to WAP mobile content ads (AFMC - deprecated).
getter/setter pair
name String?
Name of this ad unit.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
Status of this 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