Class: Google::Apis::DisplayvideoV3::KeywordAssignedTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::KeywordAssignedTargetingOptionDetails
- 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
Details for assigned keyword targeting option. This will be populated in the
details field of an AssignedTargetingOption when targeting_type is
TARGETING_TYPE_KEYWORD
.
Instance Attribute Summary collapse
-
#keyword ⇒ String
Required.
-
#negative ⇒ Boolean
(also: #negative?)
Indicates if this option is being negatively targeted.
Instance Method Summary collapse
-
#initialize(**args) ⇒ KeywordAssignedTargetingOptionDetails
constructor
A new instance of KeywordAssignedTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ KeywordAssignedTargetingOptionDetails
Returns a new instance of KeywordAssignedTargetingOptionDetails.
8065 8066 8067 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8065 def initialize(**args) update!(**args) end |
Instance Attribute Details
#keyword ⇒ String
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
8057 8058 8059 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8057 def keyword @keyword end |
#negative ⇒ Boolean Also known as: negative?
Indicates if this option is being negatively targeted.
Corresponds to the JSON property negative
8062 8063 8064 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8062 def negative @negative end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8070 8071 8072 8073 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 8070 def update!(**args) @keyword = args[:keyword] if args.key?(:keyword) @negative = args[:negative] if args.key?(:negative) end |