public final class CreativeRestrictions 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 |
|---|
CreativeRestrictions() |
| Modifier and Type | Method and Description |
|---|---|
CreativeRestrictions |
clone() |
String |
getCreativeFormat()
The format of the environment that the creatives will be displayed in.
|
List<CreativeSpecification> |
getCreativeSpecifications() |
String |
getSkippableAdType()
Skippable video ads allow viewers to skip ads after 5 seconds.
|
CreativeRestrictions |
set(String fieldName,
Object value) |
CreativeRestrictions |
setCreativeFormat(String creativeFormat)
The format of the environment that the creatives will be displayed in.
|
CreativeRestrictions |
setCreativeSpecifications(List<CreativeSpecification> creativeSpecifications) |
CreativeRestrictions |
setSkippableAdType(String skippableAdType)
Skippable video ads allow viewers to skip ads after 5 seconds.
|
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 getCreativeFormat()
null for nonepublic CreativeRestrictions setCreativeFormat(String creativeFormat)
creativeFormat - creativeFormat or null for nonepublic List<CreativeSpecification> getCreativeSpecifications()
null for nonepublic CreativeRestrictions setCreativeSpecifications(List<CreativeSpecification> creativeSpecifications)
creativeSpecifications - creativeSpecifications or null for nonepublic String getSkippableAdType()
null for nonepublic CreativeRestrictions setSkippableAdType(String skippableAdType)
skippableAdType - skippableAdType or null for nonepublic CreativeRestrictions set(String fieldName, Object value)
set in class GenericJsonpublic CreativeRestrictions clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.