Class: Google::Apis::AdexchangebuyerV1_4::PretargetingConfig::VideoPlayerSize

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ VideoPlayerSize

Returns a new instance of VideoPlayerSize.



2717
2718
2719
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2717

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

Instance Attribute Details

#aspect_ratioString

The type of aspect ratio. Leave this field blank to match all aspect ratios. Corresponds to the JSON property aspectRatio

Returns:

  • (String)


2703
2704
2705
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2703

def aspect_ratio
  @aspect_ratio
end

#min_heightFixnum

The minimum player height in pixels. Leave this field blank to match any player height. Corresponds to the JSON property minHeight

Returns:

  • (Fixnum)


2709
2710
2711
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2709

def min_height
  @min_height
end

#min_widthFixnum

The minimum player width in pixels. Leave this field blank to match any player width. Corresponds to the JSON property minWidth

Returns:

  • (Fixnum)


2715
2716
2717
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2715

def min_width
  @min_width
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2722
2723
2724
2725
2726
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 2722

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