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.



12493
12494
12495
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12493

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

Instance Attribute Details

#heightFixnum

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

Returns:

  • (Fixnum)


12486
12487
12488
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12486

def height
  @height
end

#widthFixnum

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

Returns:

  • (Fixnum)


12491
12492
12493
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12491

def width
  @width
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12498
12499
12500
12501
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 12498

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