Class: Google::Apis::DisplayvideoV4::PlannableTargeting

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

Overview

Targeting capabilities for a given product.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PlannableTargeting

Returns a new instance of PlannableTargeting.



12736
12737
12738
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12736

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

Instance Attribute Details

#age_rangesArray<String>

Output only. Allowed plannable age ranges for the product. Actual targeting is computed by mapping this age range onto standard Google age targeting. Corresponds to the JSON property ageRanges

Returns:

  • (Array<String>)


12704
12705
12706
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12704

def age_ranges
  @age_ranges
end

#default_youtube_select_lineupGoogle::Apis::DisplayvideoV4::YouTubeSelectLineUp

A Plannable YouTube Select Lineup for product targeting. Corresponds to the JSON property defaultYoutubeSelectLineup



12709
12710
12711
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12709

def default_youtube_select_lineup
  @default_youtube_select_lineup
end

#devicesArray<String>

Output only. Targetable devices for the ad product. Corresponds to the JSON property devices

Returns:

  • (Array<String>)


12714
12715
12716
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12714

def devices
  @devices
end

#gendersArray<String>

Output only. Targetable genders for the ad product. Corresponds to the JSON property genders

Returns:

  • (Array<String>)


12719
12720
12721
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12719

def genders
  @genders
end

#networksArray<String>

Output only. Targetable networks for the ad product. Corresponds to the JSON property networks

Returns:

  • (Array<String>)


12724
12725
12726
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12724

def networks
  @networks
end

#surface_targeting_combinationsGoogle::Apis::DisplayvideoV4::SurfaceTargetingCombinations

Surface targeting rules. Corresponds to the JSON property surfaceTargetingCombinations



12729
12730
12731
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12729

def surface_targeting_combinations
  @surface_targeting_combinations
end

#youtube_select_lineupsArray<Google::Apis::DisplayvideoV4::YouTubeSelectLineUp>

Output only. Targetable YouTube Select Lineups for the ad product. Corresponds to the JSON property youtubeSelectLineups



12734
12735
12736
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12734

def youtube_select_lineups
  @youtube_select_lineups
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12741
12742
12743
12744
12745
12746
12747
12748
12749
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12741

def update!(**args)
  @age_ranges = args[:age_ranges] if args.key?(:age_ranges)
  @default_youtube_select_lineup = args[:default_youtube_select_lineup] if args.key?(:default_youtube_select_lineup)
  @devices = args[:devices] if args.key?(:devices)
  @genders = args[:genders] if args.key?(:genders)
  @networks = args[:networks] if args.key?(:networks)
  @surface_targeting_combinations = args[:surface_targeting_combinations] if args.key?(:surface_targeting_combinations)
  @youtube_select_lineups = args[:youtube_select_lineups] if args.key?(:youtube_select_lineups)
end