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-rev20190415-1.28.0)












com.google.api.services.youtube.model

Class InvideoPromotion

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class InvideoPromotion
    extends com.google.api.client.json.GenericJson
    Describes an invideo promotion campaign consisting of multiple promoted items. A campaign belongs to a single channel_id.

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the YouTube Data API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • 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
      • clone

        public InvideoPromotion clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2019 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy