Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateAdGroupAssetResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMutateAdGroupAssetResult

Returns a new instance of GoogleAdsSearchads360V23ServicesMutateAdGroupAssetResult.



44486
44487
44488
# File 'lib/google/apis/searchads360_v23/classes.rb', line 44486

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

Instance Attribute Details

#ad_group_assetGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAdGroupAsset

A link between an ad group and an asset. Corresponds to the JSON property adGroupAsset



44479
44480
44481
# File 'lib/google/apis/searchads360_v23/classes.rb', line 44479

def ad_group_asset
  @ad_group_asset
end

#resource_nameString

Returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


44484
44485
44486
# File 'lib/google/apis/searchads360_v23/classes.rb', line 44484

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



44491
44492
44493
44494
# File 'lib/google/apis/searchads360_v23/classes.rb', line 44491

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