class Google::Apis::YoutubeV3::InvideoPromotion
Describes an invideo promotion campaign consisting of multiple promoted items. A campaign belongs to a single channel_id.
Attributes
Describes a temporal position of a visual widget inside a video. Corresponds to the JSON property `defaultTiming` @return [Google::Apis::YoutubeV3::InvideoTiming]
List of promoted items in decreasing priority. Corresponds to the JSON property `items` @return [Array<Google::Apis::YoutubeV3::PromotedItem>]
Describes the spatial position of a visual widget inside a video. It is a union of various position types, out of which only will be set one. Corresponds to the JSON property `position` @return [Google::Apis::YoutubeV3::InvideoPosition]
Indicates whether the channel's promotional campaign uses “smart timing.” This feature attempts to show promotions at a point in the video when they are more likely to be clicked and less likely to disrupt the viewing experience. This feature also picks up a single promotion to show on each video. Corresponds to the JSON property `useSmartTiming` @return [Boolean]
Indicates whether the channel's promotional campaign uses “smart timing.” This feature attempts to show promotions at a point in the video when they are more likely to be clicked and less likely to disrupt the viewing experience. This feature also picks up a single promotion to show on each video. Corresponds to the JSON property `useSmartTiming` @return [Boolean]
Public Class Methods
# File generated/google/apis/youtube_v3/classes.rb, line 3571 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/youtube_v3/classes.rb, line 3576 def update!(**args) @default_timing = args[:default_timing] if args.key?(:default_timing) @items = args[:items] if args.key?(:items) @position = args[:position] if args.key?(:position) @use_smart_timing = args[:use_smart_timing] if args.key?(:use_smart_timing) end