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.



46548
46549
46550
# File 'lib/google/apis/searchads360_v23/classes.rb', line 46548

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

Instance Attribute Details

#campaign_criterionGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCampaignCriterion

A campaign criterion. Corresponds to the JSON property campaignCriterion



46541
46542
46543
# File 'lib/google/apis/searchads360_v23/classes.rb', line 46541

def campaign_criterion
  @campaign_criterion
end

#resource_nameString

Returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


46546
46547
46548
# File 'lib/google/apis/searchads360_v23/classes.rb', line 46546

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



46553
46554
46555
46556
# File 'lib/google/apis/searchads360_v23/classes.rb', line 46553

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