Class: Google::Apis::DisplayvideoV2::NegativeKeywordList
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::NegativeKeywordList
- 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 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.
-
#targeted_line_item_count ⇒ 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.
8514 8515 8516 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8514 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
8489 8490 8491 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8489 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
8495 8496 8497 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8495 def display_name @display_name end |
#name ⇒ String
Output only. The resource name of the negative keyword list.
Corresponds to the JSON property name
8500 8501 8502 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8500 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
8506 8507 8508 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8506 def negative_keyword_list_id @negative_keyword_list_id end |
#targeted_line_item_count ⇒ Fixnum
Output only. Number of line items that are directly targeting this negative
keyword list.
Corresponds to the JSON property targetedLineItemCount
8512 8513 8514 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8512 def targeted_line_item_count @targeted_line_item_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8519 8520 8521 8522 8523 8524 8525 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8519 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) @targeted_line_item_count = args[:targeted_line_item_count] if args.key?(:targeted_line_item_count) end |