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.



5106
5107
5108
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5106

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)


5092
5093
5094
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5092

def asset_group
  @asset_group
end

#audienceGoogle::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonAudienceInfo

An audience criterion. Corresponds to the JSON property audience



5097
5098
5099
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5097

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)


5104
5105
5106
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5104

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5111
5112
5113
5114
5115
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5111

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