Class: Google::Apis::DisplayvideoV4::PlannableTargeting
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV4::PlannableTargeting
- 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
-
#age_ranges ⇒ Array<String>
Output only.
-
#default_youtube_select_lineup ⇒ Google::Apis::DisplayvideoV4::YouTubeSelectLineUp
A Plannable YouTube Select Lineup for product targeting.
-
#devices ⇒ Array<String>
Output only.
-
#genders ⇒ Array<String>
Output only.
-
#networks ⇒ Array<String>
Output only.
-
#surface_targeting_combinations ⇒ Google::Apis::DisplayvideoV4::SurfaceTargetingCombinations
Surface targeting rules.
-
#youtube_select_lineups ⇒ Array<Google::Apis::DisplayvideoV4::YouTubeSelectLineUp>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PlannableTargeting
constructor
A new instance of PlannableTargeting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PlannableTargeting
Returns a new instance of PlannableTargeting.
12735 12736 12737 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12735 def initialize(**args) update!(**args) end |
Instance Attribute Details
#age_ranges ⇒ Array<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
12703 12704 12705 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12703 def age_ranges @age_ranges end |
#default_youtube_select_lineup ⇒ Google::Apis::DisplayvideoV4::YouTubeSelectLineUp
A Plannable YouTube Select Lineup for product targeting.
Corresponds to the JSON property defaultYoutubeSelectLineup
12708 12709 12710 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12708 def default_youtube_select_lineup @default_youtube_select_lineup end |
#devices ⇒ Array<String>
Output only. Targetable devices for the ad product.
Corresponds to the JSON property devices
12713 12714 12715 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12713 def devices @devices end |
#genders ⇒ Array<String>
Output only. Targetable genders for the ad product.
Corresponds to the JSON property genders
12718 12719 12720 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12718 def genders @genders end |
#networks ⇒ Array<String>
Output only. Targetable networks for the ad product.
Corresponds to the JSON property networks
12723 12724 12725 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12723 def networks @networks end |
#surface_targeting_combinations ⇒ Google::Apis::DisplayvideoV4::SurfaceTargetingCombinations
Surface targeting rules.
Corresponds to the JSON property surfaceTargetingCombinations
12728 12729 12730 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12728 def surface_targeting_combinations @surface_targeting_combinations end |
#youtube_select_lineups ⇒ Array<Google::Apis::DisplayvideoV4::YouTubeSelectLineUp>
Output only. Targetable YouTube Select Lineups for the ad product.
Corresponds to the JSON property youtubeSelectLineups
12733 12734 12735 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12733 def youtube_select_lineups @youtube_select_lineups end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12740 12741 12742 12743 12744 12745 12746 12747 12748 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12740 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 |