public final class ActivityContentDetailsPromotedItem extends 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 v3. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ActivityContentDetailsPromotedItem() |
| Modifier and Type | Method and Description |
|---|---|
ActivityContentDetailsPromotedItem |
clone() |
String |
getAdTag()
The URL the client should fetch to request a promoted item.
|
String |
getClickTrackingUrl()
The URL the client should ping to indicate that the user clicked through on this promoted item.
|
String |
getCreativeViewUrl()
The URL the client should ping to indicate that the user was shown this promoted item.
|
String |
getCtaType()
The type of call-to-action, a message to the user indicating action that can be taken.
|
String |
getCustomCtaButtonText()
The custom call-to-action button text.
|
String |
getDescriptionText()
The text description to accompany the promoted item.
|
String |
getDestinationUrl()
The URL the client should direct the user to, if the user chooses to visit the advertiser's
website.
|
List<String> |
getForecastingUrl()
The list of forecasting URLs.
|
List<String> |
getImpressionUrl()
The list of impression URLs.
|
String |
getVideoId()
The ID that YouTube uses to uniquely identify the promoted video.
|
ActivityContentDetailsPromotedItem |
set(String fieldName,
Object value) |
ActivityContentDetailsPromotedItem |
setAdTag(String adTag)
The URL the client should fetch to request a promoted item.
|
ActivityContentDetailsPromotedItem |
setClickTrackingUrl(String clickTrackingUrl)
The URL the client should ping to indicate that the user clicked through on this promoted item.
|
ActivityContentDetailsPromotedItem |
setCreativeViewUrl(String creativeViewUrl)
The URL the client should ping to indicate that the user was shown this promoted item.
|
ActivityContentDetailsPromotedItem |
setCtaType(String ctaType)
The type of call-to-action, a message to the user indicating action that can be taken.
|
ActivityContentDetailsPromotedItem |
setCustomCtaButtonText(String customCtaButtonText)
The custom call-to-action button text.
|
ActivityContentDetailsPromotedItem |
setDescriptionText(String descriptionText)
The text description to accompany the promoted item.
|
ActivityContentDetailsPromotedItem |
setDestinationUrl(String destinationUrl)
The URL the client should direct the user to, if the user chooses to visit the advertiser's
website.
|
ActivityContentDetailsPromotedItem |
setForecastingUrl(List<String> forecastingUrl)
The list of forecasting URLs.
|
ActivityContentDetailsPromotedItem |
setImpressionUrl(List<String> impressionUrl)
The list of impression URLs.
|
ActivityContentDetailsPromotedItem |
setVideoId(String videoId)
The ID that YouTube uses to uniquely identify the promoted video.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getAdTag()
null for nonepublic ActivityContentDetailsPromotedItem setAdTag(String adTag)
adTag - adTag or null for nonepublic String getClickTrackingUrl()
null for nonepublic ActivityContentDetailsPromotedItem setClickTrackingUrl(String clickTrackingUrl)
clickTrackingUrl - clickTrackingUrl or null for nonepublic String getCreativeViewUrl()
null for nonepublic ActivityContentDetailsPromotedItem setCreativeViewUrl(String creativeViewUrl)
creativeViewUrl - creativeViewUrl or null for nonepublic String getCtaType()
null for nonepublic ActivityContentDetailsPromotedItem setCtaType(String ctaType)
ctaType - ctaType or null for nonepublic String getCustomCtaButtonText()
null for nonepublic ActivityContentDetailsPromotedItem setCustomCtaButtonText(String customCtaButtonText)
customCtaButtonText - customCtaButtonText or null for nonepublic String getDescriptionText()
null for nonepublic ActivityContentDetailsPromotedItem setDescriptionText(String descriptionText)
descriptionText - descriptionText or null for nonepublic String getDestinationUrl()
null for nonepublic ActivityContentDetailsPromotedItem setDestinationUrl(String destinationUrl)
destinationUrl - destinationUrl or null for nonepublic List<String> getForecastingUrl()
null for nonepublic ActivityContentDetailsPromotedItem setForecastingUrl(List<String> forecastingUrl)
forecastingUrl - forecastingUrl or null for nonepublic List<String> getImpressionUrl()
null for nonepublic ActivityContentDetailsPromotedItem setImpressionUrl(List<String> impressionUrl)
impressionUrl - impressionUrl or null for nonepublic String getVideoId()
null for nonepublic ActivityContentDetailsPromotedItem setVideoId(String videoId)
videoId - videoId or null for nonepublic ActivityContentDetailsPromotedItem set(String fieldName, Object value)
set in class GenericJsonpublic ActivityContentDetailsPromotedItem clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.