Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupAssetInfo

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

Holds the details of an asset within an asset group for an Optimize Assets experiment arm.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupAssetInfo

Returns a new instance of GoogleAdsSearchads360V23ResourcesExperimentArmAssetGroupAssetInfo.



16936
16937
16938
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16936

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

Instance Attribute Details

#assetString

Asset resource name of the asset group asset. Corresponds to the JSON property asset

Returns:

  • (String)


16929
16930
16931
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16929

def asset
  @asset
end

#field_typeString

Field type of the asset group asset. Corresponds to the JSON property fieldType

Returns:

  • (String)


16934
16935
16936
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16934

def field_type
  @field_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16941
16942
16943
16944
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16941

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