Class: Google::Apis::DisplayvideoV3::NegativeKeywordListAssignedTargetingOptionDetails

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



9783
9784
9785
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 9783

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)


9781
9782
9783
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 9781

def negative_keyword_list_id
  @negative_keyword_list_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9788
9789
9790
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 9788

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