Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaignSelectiveOptimization

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

Selective optimization setting for this campaign, which includes a set of conversion actions to optimize this campaign towards. This feature only applies to app campaigns that use MULTI_CHANNEL as AdvertisingChannelType and APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as AdvertisingChannelSubType.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesCampaignSelectiveOptimization

Returns a new instance of GoogleAdsSearchads360V0ResourcesCampaignSelectiveOptimization.



3514
3515
3516
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3514

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

Instance Attribute Details

#conversion_actionsArray<String>

The selected set of conversion actions for optimizing this campaign. Corresponds to the JSON property conversionActions

Returns:

  • (Array<String>)


3512
3513
3514
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3512

def conversion_actions
  @conversion_actions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3519
3520
3521
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3519

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