Class: Google::Apis::DisplayvideoV3::YoutubeAndPartnersInventorySourceConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/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.



12503
12504
12505
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12503

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

Instance Attribute Details

#include_youtubeBoolean Also known as: include_youtube?

Whether to target inventory on YouTube. This includes both search, channels and videos. Corresponds to the JSON property includeYoutube

Returns:

  • (Boolean)


12493
12494
12495
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12493

def include_youtube
  @include_youtube
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)


12500
12501
12502
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12500

def include_youtube_video_partners
  @include_youtube_video_partners
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12508
12509
12510
12511
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12508

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