Class: Google::Apis::DisplayvideoV2::YoutubeAndPartnersInventorySourceConfig
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::YoutubeAndPartnersInventorySourceConfig
- 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
-
#include_google_tv ⇒ Boolean
(also: #include_google_tv?)
Optional.
-
#include_youtube_search ⇒ Boolean
(also: #include_youtube_search?)
Whether to target inventory on the YouTube search results page.
-
#include_youtube_video_partners ⇒ Boolean
(also: #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.
-
#include_youtube_videos ⇒ Boolean
(also: #include_youtube_videos?)
Whether to target inventory of channels and videos on YouTube and YouTube videos embedded on other sites.
Instance Method Summary collapse
-
#initialize(**args) ⇒ YoutubeAndPartnersInventorySourceConfig
constructor
A new instance of YoutubeAndPartnersInventorySourceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ YoutubeAndPartnersInventorySourceConfig
Returns a new instance of YoutubeAndPartnersInventorySourceConfig.
12268 12269 12270 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12268 def initialize(**args) update!(**args) end |
Instance Attribute Details
#include_google_tv ⇒ Boolean Also known as: include_google_tv?
Optional. Whether to target inventory in video apps available with Google TV.
Corresponds to the JSON property includeGoogleTv
12245 12246 12247 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12245 def include_google_tv @include_google_tv end |
#include_youtube_search ⇒ Boolean Also known as: include_youtube_search?
Whether to target inventory on the YouTube search results page.
Corresponds to the JSON property includeYoutubeSearch
12251 12252 12253 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12251 def include_youtube_search @include_youtube_search end |
#include_youtube_video_partners ⇒ Boolean 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
12258 12259 12260 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12258 def include_youtube_video_partners @include_youtube_video_partners end |
#include_youtube_videos ⇒ Boolean 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
12265 12266 12267 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12265 def include_youtube_videos @include_youtube_videos end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12273 12274 12275 12276 12277 12278 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12273 def update!(**args) @include_google_tv = args[:include_google_tv] if args.key?(:include_google_tv) @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 |