class Google::Apis::Adexchangebuyer2V2beta1::Size

Message depicting the size of the creative. The units of width and height depend on the type of the targeting.

Attributes

height[RW]

The height of the creative. Corresponds to the JSON property `height` @return [Fixnum]

width[RW]

The width of the creative Corresponds to the JSON property `width` @return [Fixnum]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 3869
def update!(**args)
  @height = args[:height] if args.key?(:height)
  @width = args[:width] if args.key?(:width)
end