Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignResult

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 campaign mutate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMutateCampaignResult

Returns a new instance of GoogleAdsSearchads360V23ServicesMutateCampaignResult.



47731
47732
47733
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47731

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

Instance Attribute Details

#campaignGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCampaign

A campaign. Corresponds to the JSON property campaign



47724
47725
47726
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47724

def campaign
  @campaign
end

#resource_nameString

Returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


47729
47730
47731
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47729

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



47736
47737
47738
47739
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47736

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