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 Campaign Manager 360 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
AdSlot() |
| Modifier and Type | Method and Description |
|---|---|
AdSlot |
clone() |
String |
getComment()
Comment for this ad slot.
|
String |
getCompatibility()
Ad slot compatibility.
|
Long |
getHeight()
Height of this ad slot.
|
Long |
getLinkedPlacementId()
ID of the placement from an external platform that is linked to this ad slot.
|
String |
getName()
Name of this ad slot.
|
String |
getPaymentSourceType()
Payment source type of this ad slot.
|
Boolean |
getPrimary()
Primary ad slot of a roadblock inventory item.
|
Long |
getWidth()
Width of this ad slot.
|
AdSlot |
set(String fieldName,
Object value) |
AdSlot |
setComment(String comment)
Comment for this ad slot.
|
AdSlot |
setCompatibility(String compatibility)
Ad slot compatibility.
|
AdSlot |
setHeight(Long height)
Height of this ad slot.
|
AdSlot |
setLinkedPlacementId(Long linkedPlacementId)
ID of the placement from an external platform that is linked to this ad slot.
|
AdSlot |
setName(String name)
Name of this ad slot.
|
AdSlot |
setPaymentSourceType(String paymentSourceType)
Payment source type of this ad slot.
|
AdSlot |
setPrimary(Boolean primary)
Primary ad slot of a roadblock inventory item.
|
AdSlot |
setWidth(Long width)
Width of this ad slot.
|
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 getComment()
null for nonepublic AdSlot setComment(String comment)
comment - comment or null for nonepublic String getCompatibility()
null for nonepublic AdSlot setCompatibility(String compatibility)
compatibility - compatibility or null for nonepublic Long getHeight()
null for nonepublic AdSlot setHeight(Long height)
height - height or null for nonepublic Long getLinkedPlacementId()
null for nonepublic AdSlot setLinkedPlacementId(Long linkedPlacementId)
linkedPlacementId - linkedPlacementId or null for nonepublic String getName()
null for nonepublic AdSlot setName(String name)
name - name or null for nonepublic String getPaymentSourceType()
null for nonepublic AdSlot setPaymentSourceType(String paymentSourceType)
paymentSourceType - paymentSourceType or null for nonepublic Boolean getPrimary()
null for nonepublic AdSlot setPrimary(Boolean primary)
primary - primary or null for nonepublic Long getWidth()
null for nonepublic AdSlot setWidth(Long width)
width - width or null for nonepublic AdSlot set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic AdSlot clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.