Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignCriterionResult

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

The result for the criterion mutate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMutateCampaignCriterionResult

Returns a new instance of GoogleAdsSearchads360V23ServicesMutateCampaignCriterionResult.



47313
47314
47315
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47313

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

Instance Attribute Details

#campaign_criterionGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCampaignCriterion

A campaign criterion. Corresponds to the JSON property campaignCriterion



47306
47307
47308
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47306

def campaign_criterion
  @campaign_criterion
end

#resource_nameString

Returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


47311
47312
47313
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47311

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



47318
47319
47320
47321
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47318

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