AdUnit class


AdUnit.fromJson(Map _json)


code ↔ String
Identity code of this ad unit, not necessarily unique across ad clients.
read / write
contentAdsSettings AdUnitContentAdsSettings
Settings specific to content ads (AFC) and highend mobile content ads (AFMC - deprecated).
read / write
customStyle AdStyle
Custom style information specific to this ad unit.
read / write
feedAdsSettings AdUnitFeedAdsSettings
Settings specific to feed ads (AFF) - deprecated.
read / write
id ↔ String
Unique identifier of this ad unit. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.
read / write
kind ↔ String
Kind of resource this is, in this case adsense#adUnit.
read / write
mobileContentAdsSettings AdUnitMobileContentAdsSettings
Settings specific to WAP mobile content ads (AFMC) - deprecated.
read / write
name ↔ String
Name of this ad unit.
read / write
savedStyleId ↔ String
ID of the saved ad style which holds this ad unit's style information.
read / write
status ↔ String
Status of this ad unit. Possible values are: NEW: Indicates that the ad unit was created within the last seven days and does not yet have any activity associated with it. [...]
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited


toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() → String
Returns a string representation of this object.


operator ==(dynamic other) → bool
The equality operator.