class Google::Apis::DisplayvideoV1::KeywordAssignedTargetingOptionDetails

Details for assigned keyword targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is ` TARGETING_TYPE_KEYWORD`.

Attributes

keyword[RW]

Required. The keyword, for example `car insurance`. Positive keyword cannot be offensive word. Must be UTF-8 encoded with a maximum size of 255 bytes. Maximum number of characters is 80. Maximum number of words is 10. Corresponds to the JSON property `keyword` @return [String]

negative[RW]

Indicates if this option is being negatively targeted. Corresponds to the JSON property `negative` @return [Boolean]

negative?[RW]

Indicates if this option is being negatively targeted. Corresponds to the JSON property `negative` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 5836
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/displayvideo_v1/classes.rb, line 5841
def update!(**args)
  @keyword = args[:keyword] if args.key?(:keyword)
  @negative = args[:negative] if args.key?(:negative)
end