CreativeSize class

Specifies the size of the creative.

Constructors

CreativeSize({List<String>? allowedFormats, List<Size>? companionSizes, String? creativeSizeType, String? nativeTemplate, Size? size, String? skippableAdType})
CreativeSize.fromJson(Map _json)

Properties

allowedFormats List<String>?
What formats are allowed by the publisher.
getter/setter pair
companionSizes List<Size>?
For video creatives specifies the sizes of companion ads (if present).
getter/setter pair
creativeSizeType String?
The creative size type. Possible string values are:
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
nativeTemplate String?
The native template for this creative.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size?
For regular or video creative size type, specifies the size of the creative
getter/setter pair
skippableAdType String?
The type of skippable ad for this creative.
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