google_api_you_tube v0.4.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 (InvideoTiming): The default temporal position within the video where the promoted item will be displayed. Can be overriden by more specific timing in the item. Defaults to:
null
. - items ([PromotedItem]): List of promoted items in decreasing priority. Defaults to:
null
. - position (InvideoPosition): The spatial position within the video where the promoted item will be displayed. Defaults to:
null
. - useSmartTiming (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. Defaults to:
null
.
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 Source
t()
View Source
t() :: %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: any()
}
t() :: %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: any() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.