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.



47038
47039
47040
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47038

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

Instance Attribute Details

#campaignGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCampaign

A campaign. Corresponds to the JSON property campaign



47031
47032
47033
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47031

def campaign
  @campaign
end

#resource_nameString

Returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


47036
47037
47038
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47036

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



47043
47044
47045
47046
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47043

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