class Google::Apis::DfareportingV3_5::Size

Represents the dimensions of ads, placements, creatives, or creative assets.

Attributes

height[RW]

Height of this size. Acceptable values are 0 to 32767, inclusive. Corresponds to the JSON property `height` @return [Fixnum]

iab[RW]

IAB standard size. This is a read-only, auto-generated field. Corresponds to the JSON property `iab` @return [Boolean]

iab?[RW]

IAB standard size. This is a read-only, auto-generated field. Corresponds to the JSON property `iab` @return [Boolean]

id[RW]

ID of this size. This is a read-only, auto-generated field. Corresponds to the JSON property `id` @return [Fixnum]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “ dfareporting#size”. Corresponds to the JSON property `kind` @return [String]

width[RW]

Width of this size. Acceptable values are 0 to 32767, inclusive. Corresponds to the JSON property `width` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dfareporting_v3_5/classes.rb, line 11481
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dfareporting_v3_5/classes.rb, line 11486
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