All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.youtube.model.InvideoPromotion.html Maven / Gradle / Ivy







InvideoPromotion (YouTube Data API v3-rev20200320-1.30.9)












com.google.api.services.youtube.model

Class InvideoPromotion

    • Constructor Detail

      • InvideoPromotion

        public InvideoPromotion()
    • Method Detail

      • getDefaultTiming

        public InvideoTiming getDefaultTiming()
        The default temporal position within the video where the promoted item will be displayed. Can be overriden by more specific timing in the item.
        Returns:
        value or null for none
      • setDefaultTiming

        public InvideoPromotion setDefaultTiming(InvideoTiming defaultTiming)
        The default temporal position within the video where the promoted item will be displayed. Can be overriden by more specific timing in the item.
        Parameters:
        defaultTiming - defaultTiming or null for none
      • getItems

        public List<PromotedItem> getItems()
        List of promoted items in decreasing priority.
        Returns:
        value or null for none
      • setItems

        public InvideoPromotion setItems(List<PromotedItem> items)
        List of promoted items in decreasing priority.
        Parameters:
        items - items or null for none
      • getPosition

        public InvideoPosition getPosition()
        The spatial position within the video where the promoted item will be displayed.
        Returns:
        value or null for none
      • setPosition

        public InvideoPromotion setPosition(InvideoPosition position)
        The spatial position within the video where the promoted item will be displayed.
        Parameters:
        position - position or null for none
      • getUseSmartTiming

        public Boolean getUseSmartTiming()
        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.
        Returns:
        value or null for none
      • setUseSmartTiming

        public InvideoPromotion setUseSmartTiming(Boolean useSmartTiming)
        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.
        Parameters:
        useSmartTiming - useSmartTiming or null for none

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy