Class: Google::Apis::AuthorizedbuyersmarketplaceV1::VideoTargeting
- Inherits:
-
Object
- Object
- Google::Apis::AuthorizedbuyersmarketplaceV1::VideoTargeting
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb,
lib/google/apis/authorizedbuyersmarketplace_v1/representations.rb,
lib/google/apis/authorizedbuyersmarketplace_v1/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.
2348 2349 2350 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 2348 def initialize(**args) update!(**args) end |
Instance Attribute Details
#excluded_position_types ⇒ Array<String>
A list of video positions to be excluded. When this field is populated, the
targeted_position_types field must be empty.
Corresponds to the JSON property excludedPositionTypes
2340 2341 2342 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 2340 def excluded_position_types @excluded_position_types end |
#targeted_position_types ⇒ Array<String>
A list of video positions to be included. When this field is populated, the
excluded_position_types field must be empty.
Corresponds to the JSON property targetedPositionTypes
2346 2347 2348 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 2346 def targeted_position_types @targeted_position_types end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2353 2354 2355 2356 |
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 2353 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 |