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.



3554
3555
3556
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3554

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

Instance Attribute Details

#conversion_actionsArray<String>

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

Returns:

  • (Array<String>)


3552
3553
3554
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3552

def conversion_actions
  @conversion_actions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3559
3560
3561
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3559

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