Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesAdvancedProductTargeting

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

Overview

Advanced targeting settings for products.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesAdvancedProductTargeting

Returns a new instance of GoogleAdsSearchads360V23ServicesAdvancedProductTargeting.



36519
36520
36521
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36519

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

Instance Attribute Details

#surface_targeting_settingsGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSurfaceTargeting

Container for surfaces for a product. Surfaces refer to the available types of ad inventories such as In-Feed, In-Stream, and Shorts. Corresponds to the JSON property surfaceTargetingSettings



36507
36508
36509
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36507

def surface_targeting_settings
  @surface_targeting_settings
end

#target_frequency_settingsGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesTargetFrequencySettings

Target Frequency settings for a supported product. Corresponds to the JSON property targetFrequencySettings



36512
36513
36514
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36512

def target_frequency_settings
  @target_frequency_settings
end

#youtube_select_settingsGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesYouTubeSelectSettings

Request settings for YouTube Select Lineups Corresponds to the JSON property youtubeSelectSettings



36517
36518
36519
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36517

def youtube_select_settings
  @youtube_select_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



36524
36525
36526
36527
36528
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36524

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