public final class CreativeSize 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 Ad Exchange Buyer API II. 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 |
|---|
CreativeSize() |
| Modifier and Type | Method and Description |
|---|---|
CreativeSize |
clone() |
List<String> |
getAllowedFormats()
What formats are allowed by the publisher.
|
List<Size> |
getCompanionSizes()
For video creatives specifies the sizes of companion ads (if present).
|
String |
getCreativeSizeType()
The creative size type.
|
String |
getNativeTemplate()
Output only.
|
Size |
getSize()
For regular or video creative size type, specifies the size of the creative
|
String |
getSkippableAdType()
The type of skippable ad for this creative.
|
CreativeSize |
set(String fieldName,
Object value) |
CreativeSize |
setAllowedFormats(List<String> allowedFormats)
What formats are allowed by the publisher.
|
CreativeSize |
setCompanionSizes(List<Size> companionSizes)
For video creatives specifies the sizes of companion ads (if present).
|
CreativeSize |
setCreativeSizeType(String creativeSizeType)
The creative size type.
|
CreativeSize |
setNativeTemplate(String nativeTemplate)
Output only.
|
CreativeSize |
setSize(Size size)
For regular or video creative size type, specifies the size of the creative
|
CreativeSize |
setSkippableAdType(String skippableAdType)
The type of skippable ad for this creative.
|
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 List<String> getAllowedFormats()
null for nonepublic CreativeSize setAllowedFormats(List<String> allowedFormats)
allowedFormats - allowedFormats or null for nonepublic List<Size> getCompanionSizes()
null for nonepublic CreativeSize setCompanionSizes(List<Size> companionSizes)
companionSizes - companionSizes or null for nonepublic String getCreativeSizeType()
null for nonepublic CreativeSize setCreativeSizeType(String creativeSizeType)
creativeSizeType - creativeSizeType or null for nonepublic String getNativeTemplate()
null for nonepublic CreativeSize setNativeTemplate(String nativeTemplate)
nativeTemplate - nativeTemplate or null for nonepublic Size getSize()
null for nonepublic CreativeSize setSize(Size size)
size - size or null for nonepublic String getSkippableAdType()
null for nonepublic CreativeSize setSkippableAdType(String skippableAdType)
skippableAdType - skippableAdType or null for nonepublic CreativeSize set(String fieldName, Object value)
set in class GenericJsonpublic CreativeSize clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.