Struct google_youtube3::InvideoPromotion
[−]
[src]
pub struct InvideoPromotion { pub default_timing: Option<InvideoTiming>, pub items: Option<Vec<PromotedItem>>, pub use_smart_timing: Option<bool>, pub position: Option<InvideoPosition>, }
Describes an invideo promotion campaign consisting of multiple promoted items. A campaign belongs to a single channel_id.
This type is not used in any activity, and only used as part of another schema.
Fields
default_timing: Option<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.
items: Option<Vec<PromotedItem>>
List of promoted items in decreasing priority.
use_smart_timing: Option<bool>
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.
position: Option<InvideoPosition>
The spatial position within the video where the promoted item will be displayed.
Trait Implementations
impl Default for InvideoPromotion
[src]
fn default() -> InvideoPromotion
Returns the "default value" for a type. Read more
impl Clone for InvideoPromotion
[src]
fn clone(&self) -> InvideoPromotion
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more