class Google::Apis::DfareportingV2_1::Size
Represents the dimensions of ads, placements, creatives, or creative assets.
Attributes
Height of this size. Corresponds to the JSON property `height` @return [Fixnum]
IAB standard size. This is a read-only, auto-generated field. Corresponds to the JSON property `iab` @return [Boolean]
IAB standard size. This is a read-only, auto-generated field. Corresponds to the JSON property `iab` @return [Boolean]
ID of this size. This is a read-only, auto-generated field. Corresponds to the JSON property `id` @return [String]
Identifies what kind of resource this is. Value: the fixed string “ dfareporting#size”. Corresponds to the JSON property `kind` @return [String]
Width of this size. Corresponds to the JSON property `width` @return [Fixnum]
Public Class Methods
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 9900 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 9905 def update!(**args) @height = args[:height] unless args[:height].nil? @iab = args[:iab] unless args[:iab].nil? @id = args[:id] unless args[:id].nil? @kind = args[:kind] unless args[:kind].nil? @width = args[:width] unless args[:width].nil? end