Class: Google::Apis::DisplayvideoV1::NegativeKeywordListAssignedTargetingOptionDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/displayvideo_v1/classes.rb,
generated/google/apis/displayvideo_v1/representations.rb,
generated/google/apis/displayvideo_v1/representations.rb

Overview

Targeting details for negative keyword list. This will be populated in the details field of an AssignedTargetingOption when targeting_type is TARGETING_TYPE_NEGATIVE_KEYWORD_LIST.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NegativeKeywordListAssignedTargetingOptionDetails

Returns a new instance of NegativeKeywordListAssignedTargetingOptionDetails.



6530
6531
6532
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6530

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#negative_keyword_list_idFixnum

Required. ID of the negative keyword list. Should refer to the negative_keyword_list_id field of a NegativeKeywordList resource. Corresponds to the JSON property negativeKeywordListId

Returns:

  • (Fixnum)


6528
6529
6530
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6528

def negative_keyword_list_id
  @negative_keyword_list_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6535
6536
6537
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6535

def update!(**args)
  @negative_keyword_list_id = args[:negative_keyword_list_id] if args.key?(:negative_keyword_list_id)
end