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.



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

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


12673
12674
12675
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12673

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



12678
12679
12680
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12678

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


12683
12684
12685
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12683

def devices
  @devices
end

#gendersArray<String>

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

Returns:

  • (Array<String>)


12688
12689
12690
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12688

def genders
  @genders
end

#networkString

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

Returns:

  • (String)


12693
12694
12695
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12693

def network
  @network
end

#surface_targeting_combinationsGoogle::Apis::DisplayvideoV4::SurfaceTargetingCombinations

Surface targeting rules. Corresponds to the JSON property surfaceTargetingCombinations



12698
12699
12700
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12698

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



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

def youtube_select_lineups
  @youtube_select_lineups
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12710
12711
12712
12713
12714
12715
12716
12717
12718
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12710

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)
  @network = args[:network] if args.key?(:network)
  @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