Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMutateAdGroupResult

Returns a new instance of GoogleAdsSearchads360V23ServicesMutateAdGroupResult.



45250
45251
45252
# File 'lib/google/apis/searchads360_v23/classes.rb', line 45250

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

Instance Attribute Details

#ad_groupGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAdGroup

An ad group. Corresponds to the JSON property adGroup



45243
45244
45245
# File 'lib/google/apis/searchads360_v23/classes.rb', line 45243

def ad_group
  @ad_group
end

#resource_nameString

Returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


45248
45249
45250
# File 'lib/google/apis/searchads360_v23/classes.rb', line 45248

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



45255
45256
45257
45258
# File 'lib/google/apis/searchads360_v23/classes.rb', line 45255

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