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.



36654
36655
36656
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36654

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



36642
36643
36644
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36642

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



36647
36648
36649
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36647

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



36652
36653
36654
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36652

def youtube_select_settings
  @youtube_select_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



36659
36660
36661
36662
36663
# File 'lib/google/apis/searchads360_v23/classes.rb', line 36659

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