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.



47803
47804
47805
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47803

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

Instance Attribute Details

#campaignGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCampaign

A campaign. Corresponds to the JSON property campaign



47796
47797
47798
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47796

def campaign
  @campaign
end

#resource_nameString

Returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


47801
47802
47803
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47801

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



47808
47809
47810
47811
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47808

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