public final class ActivityContentDetailsPromotedItem
extends com.google.api.client.json.GenericJson
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
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
ActivityContentDetailsPromotedItem() |
| Modifier and Type | Method and Description |
|---|---|
ActivityContentDetailsPromotedItem |
clone() |
java.lang.String |
getAdTag()
The URL the client should fetch to request a promoted item.
|
java.lang.String |
getClickTrackingUrl()
The URL the client should ping to indicate that the user clicked through on this promoted item.
|
java.lang.String |
getCreativeViewUrl()
The URL the client should ping to indicate that the user was shown this promoted item.
|
java.lang.String |
getCtaType()
The type of call-to-action, a message to the user indicating action that can be taken.
|
java.lang.String |
getCustomCtaButtonText()
The custom call-to-action button text.
|
java.lang.String |
getDescriptionText()
The text description to accompany the promoted item.
|
java.lang.String |
getDestinationUrl()
The URL the client should direct the user to, if the user chooses to visit the advertiser's
website.
|
java.util.List<java.lang.String> |
getForecastingUrl()
The list of forecasting URLs.
|
java.util.List<java.lang.String> |
getImpressionUrl()
The list of impression URLs.
|
java.lang.String |
getVideoId()
The ID that YouTube uses to uniquely identify the promoted video.
|
ActivityContentDetailsPromotedItem |
set(java.lang.String fieldName,
java.lang.Object value) |
ActivityContentDetailsPromotedItem |
setAdTag(java.lang.String adTag)
The URL the client should fetch to request a promoted item.
|
ActivityContentDetailsPromotedItem |
setClickTrackingUrl(java.lang.String clickTrackingUrl)
The URL the client should ping to indicate that the user clicked through on this promoted item.
|
ActivityContentDetailsPromotedItem |
setCreativeViewUrl(java.lang.String creativeViewUrl)
The URL the client should ping to indicate that the user was shown this promoted item.
|
ActivityContentDetailsPromotedItem |
setCtaType(java.lang.String ctaType)
The type of call-to-action, a message to the user indicating action that can be taken.
|
ActivityContentDetailsPromotedItem |
setCustomCtaButtonText(java.lang.String customCtaButtonText)
The custom call-to-action button text.
|
ActivityContentDetailsPromotedItem |
setDescriptionText(java.lang.String descriptionText)
The text description to accompany the promoted item.
|
ActivityContentDetailsPromotedItem |
setDestinationUrl(java.lang.String destinationUrl)
The URL the client should direct the user to, if the user chooses to visit the advertiser's
website.
|
ActivityContentDetailsPromotedItem |
setForecastingUrl(java.util.List<java.lang.String> forecastingUrl)
The list of forecasting URLs.
|
ActivityContentDetailsPromotedItem |
setImpressionUrl(java.util.List<java.lang.String> impressionUrl)
The list of impression URLs.
|
ActivityContentDetailsPromotedItem |
setVideoId(java.lang.String videoId)
The ID that YouTube uses to uniquely identify the promoted video.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getAdTag()
null for nonepublic ActivityContentDetailsPromotedItem setAdTag(java.lang.String adTag)
adTag - adTag or null for nonepublic java.lang.String getClickTrackingUrl()
null for nonepublic ActivityContentDetailsPromotedItem setClickTrackingUrl(java.lang.String clickTrackingUrl)
clickTrackingUrl - clickTrackingUrl or null for nonepublic java.lang.String getCreativeViewUrl()
null for nonepublic ActivityContentDetailsPromotedItem setCreativeViewUrl(java.lang.String creativeViewUrl)
creativeViewUrl - creativeViewUrl or null for nonepublic java.lang.String getCtaType()
null for nonepublic ActivityContentDetailsPromotedItem setCtaType(java.lang.String ctaType)
ctaType - ctaType or null for nonepublic java.lang.String getCustomCtaButtonText()
null for nonepublic ActivityContentDetailsPromotedItem setCustomCtaButtonText(java.lang.String customCtaButtonText)
customCtaButtonText - customCtaButtonText or null for nonepublic java.lang.String getDescriptionText()
null for nonepublic ActivityContentDetailsPromotedItem setDescriptionText(java.lang.String descriptionText)
descriptionText - descriptionText or null for nonepublic java.lang.String getDestinationUrl()
null for nonepublic ActivityContentDetailsPromotedItem setDestinationUrl(java.lang.String destinationUrl)
destinationUrl - destinationUrl or null for nonepublic java.util.List<java.lang.String> getForecastingUrl()
null for nonepublic ActivityContentDetailsPromotedItem setForecastingUrl(java.util.List<java.lang.String> forecastingUrl)
forecastingUrl - forecastingUrl or null for nonepublic java.util.List<java.lang.String> getImpressionUrl()
null for nonepublic ActivityContentDetailsPromotedItem setImpressionUrl(java.util.List<java.lang.String> impressionUrl)
impressionUrl - impressionUrl or null for nonepublic java.lang.String getVideoId()
null for nonepublic ActivityContentDetailsPromotedItem setVideoId(java.lang.String videoId)
videoId - videoId or null for nonepublic ActivityContentDetailsPromotedItem set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic ActivityContentDetailsPromotedItem clone()
clone in class com.google.api.client.json.GenericJson