Class: Google::Apis::DisplayvideoV2::YoutubeAndPartnersInventorySourceConfig

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

Overview

Settings that control what YouTube related inventories the YouTube and Partners line item will target.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ YoutubeAndPartnersInventorySourceConfig

Returns a new instance of YoutubeAndPartnersInventorySourceConfig.



11014
11015
11016
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11014

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

Instance Attribute Details

#include_youtube_searchBoolean Also known as: include_youtube_search?

Whether to target inventory on the YouTube search results page. Corresponds to the JSON property includeYoutubeSearch

Returns:

  • (Boolean)


10997
10998
10999
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10997

def include_youtube_search
  @include_youtube_search
end

#include_youtube_video_partnersBoolean Also known as: include_youtube_video_partners?

Whether to target inventory on a collection of partner sites and apps that follow the same brand safety standards as YouTube. Corresponds to the JSON property includeYoutubeVideoPartners

Returns:

  • (Boolean)


11004
11005
11006
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11004

def include_youtube_video_partners
  @include_youtube_video_partners
end

#include_youtube_videosBoolean Also known as: include_youtube_videos?

Whether to target inventory of channels and videos on YouTube and YouTube videos embedded on other sites. Corresponds to the JSON property includeYoutubeVideos

Returns:

  • (Boolean)


11011
11012
11013
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11011

def include_youtube_videos
  @include_youtube_videos
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11019
11020
11021
11022
11023
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11019

def update!(**args)
  @include_youtube_search = args[:include_youtube_search] if args.key?(:include_youtube_search)
  @include_youtube_video_partners = args[:include_youtube_video_partners] if args.key?(:include_youtube_video_partners)
  @include_youtube_videos = args[:include_youtube_videos] if args.key?(:include_youtube_videos)
end