public final class AdSlot
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 DCM/DFA Reporting And Trafficking 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 |
|---|
AdSlot() |
| Modifier and Type | Method and Description |
|---|---|
AdSlot |
clone() |
java.lang.String |
getComment()
Comment for this ad slot.
|
java.lang.String |
getCompatibility()
Ad slot compatibility.
|
java.lang.Long |
getHeight()
Height of this ad slot.
|
java.lang.Long |
getLinkedPlacementId()
ID of the placement from an external platform that is linked to this ad slot.
|
java.lang.String |
getName()
Name of this ad slot.
|
java.lang.String |
getPaymentSourceType()
Payment source type of this ad slot.
|
java.lang.Boolean |
getPrimary()
Primary ad slot of a roadblock inventory item.
|
java.lang.Long |
getWidth()
Width of this ad slot.
|
AdSlot |
set(java.lang.String fieldName,
java.lang.Object value) |
AdSlot |
setComment(java.lang.String comment)
Comment for this ad slot.
|
AdSlot |
setCompatibility(java.lang.String compatibility)
Ad slot compatibility.
|
AdSlot |
setHeight(java.lang.Long height)
Height of this ad slot.
|
AdSlot |
setLinkedPlacementId(java.lang.Long linkedPlacementId)
ID of the placement from an external platform that is linked to this ad slot.
|
AdSlot |
setName(java.lang.String name)
Name of this ad slot.
|
AdSlot |
setPaymentSourceType(java.lang.String paymentSourceType)
Payment source type of this ad slot.
|
AdSlot |
setPrimary(java.lang.Boolean primary)
Primary ad slot of a roadblock inventory item.
|
AdSlot |
setWidth(java.lang.Long width)
Width of this ad slot.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getComment()
null for nonepublic AdSlot setComment(java.lang.String comment)
comment - comment or null for nonepublic java.lang.String getCompatibility()
null for nonepublic AdSlot setCompatibility(java.lang.String compatibility)
compatibility - compatibility or null for nonepublic java.lang.Long getHeight()
null for nonepublic AdSlot setHeight(java.lang.Long height)
height - height or null for nonepublic java.lang.Long getLinkedPlacementId()
null for nonepublic AdSlot setLinkedPlacementId(java.lang.Long linkedPlacementId)
linkedPlacementId - linkedPlacementId or null for nonepublic java.lang.String getName()
null for nonepublic AdSlot setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getPaymentSourceType()
null for nonepublic AdSlot setPaymentSourceType(java.lang.String paymentSourceType)
paymentSourceType - paymentSourceType or null for nonepublic java.lang.Boolean getPrimary()
null for nonepublic AdSlot setPrimary(java.lang.Boolean primary)
primary - primary or null for nonepublic java.lang.Long getWidth()
null for nonepublic AdSlot setWidth(java.lang.Long width)
width - width or null for nonepublic AdSlot set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic AdSlot clone()
clone in class com.google.api.client.json.GenericJson