Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonKeyword

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 segment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonKeyword

Returns a new instance of GoogleAdsSearchads360V23CommonKeyword.



5892
5893
5894
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5892

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

Instance Attribute Details

#ad_group_criterionString

The AdGroupCriterion resource name. Corresponds to the JSON property adGroupCriterion

Returns:

  • (String)


5885
5886
5887
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5885

def ad_group_criterion
  @ad_group_criterion
end

#infoGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonKeywordInfo

A keyword criterion. Corresponds to the JSON property info



5890
5891
5892
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5890

def info
  @info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5897
5898
5899
5900
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5897

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