Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonKeyword
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonKeyword
- 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 segment.
Instance Attribute Summary collapse
-
#ad_group_criterion ⇒ String
The AdGroupCriterion resource name.
-
#info ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonKeywordInfo
A keyword criterion.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonKeyword
constructor
A new instance of GoogleAdsSearchads360V0CommonKeyword.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonKeyword
Returns a new instance of GoogleAdsSearchads360V0CommonKeyword.
392 393 394 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 392 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad_group_criterion ⇒ String
The AdGroupCriterion resource name.
Corresponds to the JSON property adGroupCriterion
385 386 387 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 385 def ad_group_criterion @ad_group_criterion end |
#info ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonKeywordInfo
A keyword criterion.
Corresponds to the JSON property info
390 391 392 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 390 def info @info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
397 398 399 400 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 397 def update!(**args) @ad_group_criterion = args[:ad_group_criterion] if args.key?(:ad_group_criterion) @info = args[:info] if args.key?(:info) end |