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.



44388
44389
44390
# File 'lib/google/apis/searchads360_v23/classes.rb', line 44388

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



44381
44382
44383
# File 'lib/google/apis/searchads360_v23/classes.rb', line 44381

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)


44386
44387
44388
# File 'lib/google/apis/searchads360_v23/classes.rb', line 44386

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



44393
44394
44395
44396
# File 'lib/google/apis/searchads360_v23/classes.rb', line 44393

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