Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAssetGroupSignal

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/searchads360_v0/classes.rb,
lib/google/apis/searchads360_v0/representations.rb,
lib/google/apis/searchads360_v0/representations.rb

Overview

AssetGroupSignal represents a signal in an asset group. The existence of a signal tells the performance max campaign who's most likely to convert. Performance Max uses the signal to look for new people with similar or stronger intent to find conversions across Search, Display, Video, and more.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesAssetGroupSignal

Returns a new instance of GoogleAdsSearchads360V0ResourcesAssetGroupSignal.



5193
5194
5195
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5193

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

Instance Attribute Details

#asset_groupString

Immutable. The asset group which this asset group signal belongs to. Corresponds to the JSON property assetGroup

Returns:

  • (String)


5179
5180
5181
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5179

def asset_group
  @asset_group
end

#audienceGoogle::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonAudienceInfo

An audience criterion. Corresponds to the JSON property audience



5184
5185
5186
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5184

def audience
  @audience
end

#resource_nameString

Immutable. The resource name of the asset group signal. Asset group signal resource name have the form: customers/customer_id/assetGroupSignals/ asset_group_id~signal_id` Corresponds to the JSON propertyresourceName`

Returns:

  • (String)


5191
5192
5193
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5191

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5198
5199
5200
5201
5202
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5198

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