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.



411
412
413
# File 'lib/google/apis/searchads360_v0/classes.rb', line 411

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

Instance Attribute Details

#ad_group_criterionString

The AdGroupCriterion resource name. Corresponds to the JSON property adGroupCriterion

Returns:

  • (String)


404
405
406
# File 'lib/google/apis/searchads360_v0/classes.rb', line 404

def ad_group_criterion
  @ad_group_criterion
end

#infoGoogle::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonKeywordInfo

A keyword criterion. Corresponds to the JSON property info



409
410
411
# File 'lib/google/apis/searchads360_v0/classes.rb', line 409

def info
  @info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



416
417
418
419
# File 'lib/google/apis/searchads360_v0/classes.rb', line 416

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