Class: Google::Apis::DfareportingV5::StudioCreativeDimension

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dfareporting_v5/classes.rb,
lib/google/apis/dfareporting_v5/representations.rb,
lib/google/apis/dfareporting_v5/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.



12669
12670
12671
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12669

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

Instance Attribute Details

#heightFixnum

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

Returns:

  • (Fixnum)


12662
12663
12664
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12662

def height
  @height
end

#widthFixnum

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

Returns:

  • (Fixnum)


12667
12668
12669
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12667

def width
  @width
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12674
12675
12676
12677
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12674

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