Class: Google::Apis::AuthorizedbuyersmarketplaceV1::VideoTargeting

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

Instance Method Summary collapse

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_typesArray<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

Returns:

  • (Array<String>)


2340
2341
2342
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 2340

def excluded_position_types
  @excluded_position_types
end

#targeted_position_typesArray<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

Returns:

  • (Array<String>)


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