class Google::Apis::DfareportingV3_4::Size
Represents the dimensions of ads, placements, creatives, or creative assets.
Attributes
Height of this size. Acceptable values are 0 to 32767, inclusive. 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 [Fixnum]
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. Acceptable values are 0 to 32767, inclusive. Corresponds to the JSON property `width` @return [Fixnum]
Public Class Methods
# File lib/google/apis/dfareporting_v3_4/classes.rb, line 11822 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dfareporting_v3_4/classes.rb, line 11827 def update!(**args) @height = args[:height] if args.key?(:height) @iab = args[:iab] if args.key?(:iab) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @width = args[:width] if args.key?(:width) end