Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupAdResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMutateAdGroupAdResult

Returns a new instance of GoogleAdsSearchads360V23ServicesMutateAdGroupAdResult.



43695
43696
43697
# File 'lib/google/apis/searchads360_v23/classes.rb', line 43695

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

Instance Attribute Details

#ad_group_adGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAdGroupAd

An ad group ad. Corresponds to the JSON property adGroupAd



43688
43689
43690
# File 'lib/google/apis/searchads360_v23/classes.rb', line 43688

def ad_group_ad
  @ad_group_ad
end

#resource_nameString

The resource name returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


43693
43694
43695
# File 'lib/google/apis/searchads360_v23/classes.rb', line 43693

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



43700
43701
43702
43703
# File 'lib/google/apis/searchads360_v23/classes.rb', line 43700

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