class Google::Apis::DfareportingV2_1::Size

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

Attributes

height[RW]

Height of this size. 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 [String]

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. Corresponds to the JSON property `width` @return [Fixnum]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

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