Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCampaignGroupResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMutateCampaignGroupResult

Returns a new instance of GoogleAdsSearchads360V23ServicesMutateCampaignGroupResult.



46855
46856
46857
# File 'lib/google/apis/searchads360_v23/classes.rb', line 46855

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

Instance Attribute Details

#campaign_groupGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCampaignGroup

A campaign group. Corresponds to the JSON property campaignGroup



46848
46849
46850
# File 'lib/google/apis/searchads360_v23/classes.rb', line 46848

def campaign_group
  @campaign_group
end

#resource_nameString

Required. Returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


46853
46854
46855
# File 'lib/google/apis/searchads360_v23/classes.rb', line 46853

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



46860
46861
46862
46863
# File 'lib/google/apis/searchads360_v23/classes.rb', line 46860

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