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

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







PromotedItem (YouTube Data API v3-rev20200402-1.30.9)












com.google.api.services.youtube.model

Class PromotedItem

    • Constructor Detail

      • PromotedItem

        public PromotedItem()
    • Method Detail

      • getCustomMessage

        public String getCustomMessage()
        A custom message to display for this promotion. This field is currently ignored unless the promoted item is a website.
        Returns:
        value or null for none
      • setCustomMessage

        public PromotedItem setCustomMessage(String customMessage)
        A custom message to display for this promotion. This field is currently ignored unless the promoted item is a website.
        Parameters:
        customMessage - customMessage or null for none
      • getId

        public PromotedItemId getId()
        Identifies the promoted item.
        Returns:
        value or null for none
      • getPromotedByContentOwner

        public Boolean getPromotedByContentOwner()
        If true, the content owner's name will be used when displaying the promotion. This field can only be set when the update is made on behalf of the content owner.
        Returns:
        value or null for none
      • setPromotedByContentOwner

        public PromotedItem setPromotedByContentOwner(Boolean promotedByContentOwner)
        If true, the content owner's name will be used when displaying the promotion. This field can only be set when the update is made on behalf of the content owner.
        Parameters:
        promotedByContentOwner - promotedByContentOwner or null for none
      • getTiming

        public InvideoTiming getTiming()
        The temporal position within the video where the promoted item will be displayed. If present, it overrides the default timing.
        Returns:
        value or null for none
      • setTiming

        public PromotedItem setTiming(InvideoTiming timing)
        The temporal position within the video where the promoted item will be displayed. If present, it overrides the default timing.
        Parameters:
        timing - timing or null for none

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy