Class: Google::Apis::DfareportingV4::StudioCreativeDimension

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/representations.rb

Overview

Dimension information for a studio creative.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StudioCreativeDimension

Returns a new instance of StudioCreativeDimension.



13360
13361
13362
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13360

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#heightFixnum

Height of the studio creative. Corresponds to the JSON property height

Returns:

  • (Fixnum)


13353
13354
13355
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13353

def height
  @height
end

#widthFixnum

Width of the studio creative. Corresponds to the JSON property width

Returns:

  • (Fixnum)


13358
13359
13360
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13358

def width
  @width
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13365
13366
13367
13368
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 13365

def update!(**args)
  @height = args[:height] if args.key?(:height)
  @width = args[:width] if args.key?(:width)
end