Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonKeywordInfo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonKeywordInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v0/classes.rb,
lib/google/apis/searchads360_v0/representations.rb,
lib/google/apis/searchads360_v0/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) ⇒ GoogleAdsSearchads360V0CommonKeywordInfo
constructor
A new instance of GoogleAdsSearchads360V0CommonKeywordInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonKeywordInfo
Returns a new instance of GoogleAdsSearchads360V0CommonKeywordInfo.
436 437 438 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 436 def initialize(**args) update!(**args) end |
Instance Attribute Details
#match_type ⇒ String
The match type of the keyword.
Corresponds to the JSON property matchType
429 430 431 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 429 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
434 435 436 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 434 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
441 442 443 444 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 441 def update!(**args) @match_type = args[:match_type] if args.key?(:match_type) @text = args[:text] if args.key?(:text) end |