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.



12722
12723
12724
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12722

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


12690
12691
12692
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12690

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



12695
12696
12697
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12695

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


12700
12701
12702
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12700

def devices
  @devices
end

#gendersArray<String>

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

Returns:

  • (Array<String>)


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

def genders
  @genders
end

#networksArray<String>

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

Returns:

  • (Array<String>)


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

def networks
  @networks
end

#surface_targeting_combinationsGoogle::Apis::DisplayvideoV4::SurfaceTargetingCombinations

Surface targeting rules. Corresponds to the JSON property surfaceTargetingCombinations



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

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



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

def youtube_select_lineups
  @youtube_select_lineups
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12727
12728
12729
12730
12731
12732
12733
12734
12735
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12727

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