Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonKeyword

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonKeyword

Returns a new instance of GoogleAdsSearchads360V0CommonKeyword.



152
153
154
# File 'lib/google/apis/searchads360_v0/classes.rb', line 152

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

Instance Attribute Details

#ad_group_criterionString

The AdGroupCriterion resource name. Corresponds to the JSON property adGroupCriterion

Returns:

  • (String)


145
146
147
# File 'lib/google/apis/searchads360_v0/classes.rb', line 145

def ad_group_criterion
  @ad_group_criterion
end

#infoGoogle::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonKeywordInfo

A keyword criterion. Corresponds to the JSON property info



150
151
152
# File 'lib/google/apis/searchads360_v0/classes.rb', line 150

def info
  @info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



157
158
159
160
# File 'lib/google/apis/searchads360_v0/classes.rb', line 157

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