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.



392
393
394
# File 'lib/google/apis/searchads360_v0/classes.rb', line 392

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

Instance Attribute Details

#ad_group_criterionString

The AdGroupCriterion resource name. Corresponds to the JSON property adGroupCriterion

Returns:

  • (String)


385
386
387
# File 'lib/google/apis/searchads360_v0/classes.rb', line 385

def ad_group_criterion
  @ad_group_criterion
end

#infoGoogle::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