class Google::Apis::DisplayvideoV1::NegativeKeyword

A negatively targeted keyword that belongs to a negative keyword list.

Attributes

keyword_value[RW]

Required. Immutable. The negatively targeted keyword, for example `car insurance`. Must be UTF-8 encoded with a maximum size of 255 bytes. Maximum number of characters is 80. Maximum number of words is 10. Valid characters are restricted to ASCII characters only. The only URL-escaping permitted is for representing whitespace between words. Leading or trailing whitespace is ignored. Corresponds to the JSON property `keywordValue` @return [String]

name[RW]

Output only. The resource name of the negative keyword. Corresponds to the JSON property `name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 7310
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 7315
def update!(**args)
  @keyword_value = args[:keyword_value] if args.key?(:keyword_value)
  @name = args[:name] if args.key?(:name)
end