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

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

There is a newer version: v3-rev20240514-2.0.0
Show newest version






ActivityContentDetailsPromotedItem (YouTube Data API v3 v3-rev20240417-2.0.0)












com.google.api.services.youtube.model

Class ActivityContentDetailsPromotedItem

    • Constructor Detail

      • ActivityContentDetailsPromotedItem

        public ActivityContentDetailsPromotedItem()
    • Method Detail

      • getAdTag

        public String getAdTag()
        The URL the client should fetch to request a promoted item.
        Returns:
        value or null for none
      • getClickTrackingUrl

        public String getClickTrackingUrl()
        The URL the client should ping to indicate that the user clicked through on this promoted item.
        Returns:
        value or null for none
      • setClickTrackingUrl

        public ActivityContentDetailsPromotedItem setClickTrackingUrl(String clickTrackingUrl)
        The URL the client should ping to indicate that the user clicked through on this promoted item.
        Parameters:
        clickTrackingUrl - clickTrackingUrl or null for none
      • getCreativeViewUrl

        public String getCreativeViewUrl()
        The URL the client should ping to indicate that the user was shown this promoted item.
        Returns:
        value or null for none
      • setCreativeViewUrl

        public ActivityContentDetailsPromotedItem setCreativeViewUrl(String creativeViewUrl)
        The URL the client should ping to indicate that the user was shown this promoted item.
        Parameters:
        creativeViewUrl - creativeViewUrl or null for none
      • getCtaType

        public String getCtaType()
        The type of call-to-action, a message to the user indicating action that can be taken.
        Returns:
        value or null for none
      • setCtaType

        public ActivityContentDetailsPromotedItem setCtaType(String ctaType)
        The type of call-to-action, a message to the user indicating action that can be taken.
        Parameters:
        ctaType - ctaType or null for none
      • getCustomCtaButtonText

        public String getCustomCtaButtonText()
        The custom call-to-action button text. If specified, it will override the default button text for the cta_type.
        Returns:
        value or null for none
      • setCustomCtaButtonText

        public ActivityContentDetailsPromotedItem setCustomCtaButtonText(String customCtaButtonText)
        The custom call-to-action button text. If specified, it will override the default button text for the cta_type.
        Parameters:
        customCtaButtonText - customCtaButtonText or null for none
      • getDescriptionText

        public String getDescriptionText()
        The text description to accompany the promoted item.
        Returns:
        value or null for none
      • setDescriptionText

        public ActivityContentDetailsPromotedItem setDescriptionText(String descriptionText)
        The text description to accompany the promoted item.
        Parameters:
        descriptionText - descriptionText or null for none
      • getDestinationUrl

        public String getDestinationUrl()
        The URL the client should direct the user to, if the user chooses to visit the advertiser's website.
        Returns:
        value or null for none
      • setDestinationUrl

        public ActivityContentDetailsPromotedItem setDestinationUrl(String destinationUrl)
        The URL the client should direct the user to, if the user chooses to visit the advertiser's website.
        Parameters:
        destinationUrl - destinationUrl or null for none
      • getForecastingUrl

        public List<String> getForecastingUrl()
        The list of forecasting URLs. The client should ping all of these URLs when a promoted item is not available, to indicate that a promoted item could have been shown.
        Returns:
        value or null for none
      • setForecastingUrl

        public ActivityContentDetailsPromotedItem setForecastingUrl(List<String> forecastingUrl)
        The list of forecasting URLs. The client should ping all of these URLs when a promoted item is not available, to indicate that a promoted item could have been shown.
        Parameters:
        forecastingUrl - forecastingUrl or null for none
      • getImpressionUrl

        public List<String> getImpressionUrl()
        The list of impression URLs. The client should ping all of these URLs to indicate that the user was shown this promoted item.
        Returns:
        value or null for none
      • setImpressionUrl

        public ActivityContentDetailsPromotedItem setImpressionUrl(List<String> impressionUrl)
        The list of impression URLs. The client should ping all of these URLs to indicate that the user was shown this promoted item.
        Parameters:
        impressionUrl - impressionUrl or null for none
      • getVideoId

        public String getVideoId()
        The ID that YouTube uses to uniquely identify the promoted video.
        Returns:
        value or null for none

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy