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.



3444
3445
3446
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3444

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>)


3442
3443
3444
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3442

def conversion_actions
  @conversion_actions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3449
3450
3451
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3449

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