Class: Google::Apis::DisplayvideoV2::NegativeKeyword
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::NegativeKeyword
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/representations.rb
Overview
A negatively targeted keyword that belongs to a negative keyword list.
Instance Attribute Summary collapse
-
#keyword_value ⇒ String
Required.
-
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NegativeKeyword
constructor
A new instance of NegativeKeyword.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NegativeKeyword
Returns a new instance of NegativeKeyword.
9149 9150 9151 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 9149 def initialize(**args) update!(**args) end |
Instance Attribute Details
#keyword_value ⇒ String
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
9142 9143 9144 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 9142 def keyword_value @keyword_value end |
#name ⇒ String
Output only. The resource name of the negative keyword.
Corresponds to the JSON property name
9147 9148 9149 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 9147 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9154 9155 9156 9157 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 9154 def update!(**args) @keyword_value = args[:keyword_value] if args.key?(:keyword_value) @name = args[:name] if args.key?(:name) end |