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.



2344
2345
2346
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 2344

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


2336
2337
2338
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 2336

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


2342
2343
2344
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 2342

def targeted_position_types
  @targeted_position_types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2349
2350
2351
2352
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 2349

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