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.



47241
47242
47243
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47241

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

Instance Attribute Details

#campaign_criterionGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCampaignCriterion

A campaign criterion. Corresponds to the JSON property campaignCriterion



47234
47235
47236
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47234

def campaign_criterion
  @campaign_criterion
end

#resource_nameString

Returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


47239
47240
47241
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47239

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



47246
47247
47248
47249
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47246

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