Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonKeywordInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonKeywordInfo

Returns a new instance of GoogleAdsSearchads360V23CommonKeywordInfo.



5961
5962
5963
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5961

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#match_typeString

The match type of the keyword. Corresponds to the JSON property matchType

Returns:

  • (String)


5954
5955
5956
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5954

def match_type
  @match_type
end

#textString

The text of the keyword (at most 80 characters and 10 words). Corresponds to the JSON property text

Returns:

  • (String)


5959
5960
5961
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5959

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5966
5967
5968
5969
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5966

def update!(**args)
  @match_type = args[:match_type] if args.key?(:match_type)
  @text = args[:text] if args.key?(:text)
end