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.



44557
44558
44559
# File 'lib/google/apis/searchads360_v23/classes.rb', line 44557

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

Instance Attribute Details

#ad_groupGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAdGroup

An ad group. Corresponds to the JSON property adGroup



44550
44551
44552
# File 'lib/google/apis/searchads360_v23/classes.rb', line 44550

def ad_group
  @ad_group
end

#resource_nameString

Returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


44555
44556
44557
# File 'lib/google/apis/searchads360_v23/classes.rb', line 44555

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



44562
44563
44564
44565
# File 'lib/google/apis/searchads360_v23/classes.rb', line 44562

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