Class: Google::Apis::DisplayvideoV1::NegativeKeywordList
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::NegativeKeywordList
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/displayvideo_v1/classes.rb,
generated/google/apis/displayvideo_v1/representations.rb,
generated/google/apis/displayvideo_v1/representations.rb
Overview
A list of negative keywords used for targeting.
Instance Attribute Summary collapse
-
#advertiser_id ⇒ Fixnum
Output only.
-
#display_name ⇒ String
Required.
-
#name ⇒ String
Output only.
-
#negative_keyword_list_id ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NegativeKeywordList
constructor
A new instance of NegativeKeywordList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NegativeKeywordList
Returns a new instance of NegativeKeywordList.
6505 6506 6507 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6505 def initialize(**args) update!(**args) end |
Instance Attribute Details
#advertiser_id ⇒ Fixnum
Output only. The unique ID of the advertiser the negative keyword list belongs
to.
Corresponds to the JSON property advertiserId
6486 6487 6488 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6486 def advertiser_id @advertiser_id end |
#display_name ⇒ String
Required. The display name of the negative keyword list. Must be UTF-8 encoded
with a maximum size of 255 bytes.
Corresponds to the JSON property displayName
6492 6493 6494 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6492 def display_name @display_name end |
#name ⇒ String
Output only. The resource name of the negative keyword list.
Corresponds to the JSON property name
6497 6498 6499 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6497 def name @name end |
#negative_keyword_list_id ⇒ Fixnum
Output only. The unique ID of the negative keyword list. Assigned by the
system.
Corresponds to the JSON property negativeKeywordListId
6503 6504 6505 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6503 def negative_keyword_list_id @negative_keyword_list_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6510 6511 6512 6513 6514 6515 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6510 def update!(**args) @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @negative_keyword_list_id = args[:negative_keyword_list_id] if args.key?(:negative_keyword_list_id) end |