google_api_you_tube v0.12.0 GoogleApi.YouTube.V3.Model.InvideoPromotion View Source
Describes an invideo promotion campaign consisting of multiple promoted items. A campaign belongs to a single channel_id.
Attributes
defaultTiming
(type:GoogleApi.YouTube.V3.Model.InvideoTiming.t
, default:nil
) - The default temporal position within the video where the promoted item will be displayed. Can be overriden by more specific timing in the item.items
(type:list(GoogleApi.YouTube.V3.Model.PromotedItem.t)
, default:nil
) - List of promoted items in decreasing priority.position
(type:GoogleApi.YouTube.V3.Model.InvideoPosition.t
, default:nil
) - The spatial position within the video where the promoted item will be displayed.useSmartTiming
(type:boolean()
, default:nil
) - 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.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Sourcet() :: %GoogleApi.YouTube.V3.Model.InvideoPromotion{ defaultTiming: GoogleApi.YouTube.V3.Model.InvideoTiming.t(), items: [GoogleApi.YouTube.V3.Model.PromotedItem.t()], position: GoogleApi.YouTube.V3.Model.InvideoPosition.t(), useSmartTiming: boolean() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.