Class: Google::Apis::Adexchangebuyer2V2beta1::VideoTargeting
- Inherits:
-
Object
- Object
- Google::Apis::Adexchangebuyer2V2beta1::VideoTargeting
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/adexchangebuyer2_v2beta1/classes.rb,
lib/google/apis/adexchangebuyer2_v2beta1/representations.rb,
lib/google/apis/adexchangebuyer2_v2beta1/representations.rb
Overview
Represents targeting information about video.
Instance Attribute Summary collapse
-
#excluded_position_types ⇒ Array<String>
A list of video positions to be excluded.
-
#targeted_position_types ⇒ Array<String>
A list of video positions to be included.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VideoTargeting
constructor
A new instance of VideoTargeting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VideoTargeting
Returns a new instance of VideoTargeting.
4136 4137 4138 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 4136 def initialize(**args) update!(**args) end |
Instance Attribute Details
#excluded_position_types ⇒ Array<String>
A list of video positions to be excluded. Position types can either be
included or excluded (XOR).
Corresponds to the JSON property excludedPositionTypes
4127 4128 4129 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 4127 def excluded_position_types @excluded_position_types end |
#targeted_position_types ⇒ Array<String>
A list of video positions to be included. When the included list is present,
the excluded list must be empty. When the excluded list is present, the
included list must be empty.
Corresponds to the JSON property targetedPositionTypes
4134 4135 4136 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 4134 def targeted_position_types @targeted_position_types end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4141 4142 4143 4144 |
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 4141 def update!(**args) @excluded_position_types = args[:excluded_position_types] if args.key?(:excluded_position_types) @targeted_position_types = args[:targeted_position_types] if args.key?(:targeted_position_types) end |