Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonKeywordInfo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonKeywordInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb
Overview
A keyword criterion.
Instance Attribute Summary collapse
-
#match_type ⇒ String
The match type of the keyword.
-
#text ⇒ String
The text of the keyword (at most 80 characters and 10 words).
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonKeywordInfo
constructor
A new instance of GoogleAdsSearchads360V23CommonKeywordInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonKeywordInfo
Returns a new instance of GoogleAdsSearchads360V23CommonKeywordInfo.
6021 6022 6023 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6021 def initialize(**args) update!(**args) end |
Instance Attribute Details
#match_type ⇒ String
The match type of the keyword.
Corresponds to the JSON property matchType
6014 6015 6016 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6014 def match_type @match_type end |
#text ⇒ String
The text of the keyword (at most 80 characters and 10 words).
Corresponds to the JSON property text
6019 6020 6021 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6019 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6026 6027 6028 6029 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6026 def update!(**args) @match_type = args[:match_type] if args.key?(:match_type) @text = args[:text] if args.key?(:text) end |