Class: Google::Apis::AdexchangebuyerV1_4::PretargetingConfig::VideoPlayerSize
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_4::PretargetingConfig::VideoPlayerSize
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer_v1_4/classes.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb
Instance Attribute Summary collapse
-
#aspect_ratio ⇒ String
The type of aspect ratio.
-
#min_height ⇒ String
The minimum player height in pixels.
-
#min_width ⇒ String
The minimum player width in pixels.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VideoPlayerSize
constructor
A new instance of VideoPlayerSize.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VideoPlayerSize
Returns a new instance of VideoPlayerSize.
2583 2584 2585 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2583 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aspect_ratio ⇒ String
The type of aspect ratio. Leave this field blank to match all aspect ratios.
Corresponds to the JSON property aspectRatio
2569 2570 2571 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2569 def aspect_ratio @aspect_ratio end |
#min_height ⇒ String
The minimum player height in pixels. Leave this field blank to match any
player height.
Corresponds to the JSON property minHeight
2575 2576 2577 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2575 def min_height @min_height end |
#min_width ⇒ String
The minimum player width in pixels. Leave this field blank to match any player
width.
Corresponds to the JSON property minWidth
2581 2582 2583 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2581 def min_width @min_width end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2588 2589 2590 2591 2592 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2588 def update!(**args) @aspect_ratio = args[:aspect_ratio] if args.key?(:aspect_ratio) @min_height = args[:min_height] if args.key?(:min_height) @min_width = args[:min_width] if args.key?(:min_width) end |