Class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::VideoTargeting

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb,
lib/google/apis/authorizedbuyersmarketplace_v1alpha/representations.rb,
lib/google/apis/authorizedbuyersmarketplace_v1alpha/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.



3078
3079
3080
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 3078

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


3070
3071
3072
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 3070

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


3076
3077
3078
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 3076

def targeted_position_types
  @targeted_position_types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3083
3084
3085
3086
# File 'lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb', line 3083

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