public final class TargetingCriteria 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 |
|---|
TargetingCriteria() |
| Modifier and Type | Method and Description |
|---|---|
TargetingCriteria |
clone() |
List<TargetingValue> |
getExclusions()
The list of values to exclude from targeting.
|
List<TargetingValue> |
getInclusions()
The list of value to include as part of the targeting.
|
String |
getKey()
The key representing the shared targeting criterion.
|
TargetingCriteria |
set(String fieldName,
Object value) |
TargetingCriteria |
setExclusions(List<TargetingValue> exclusions)
The list of values to exclude from targeting.
|
TargetingCriteria |
setInclusions(List<TargetingValue> inclusions)
The list of value to include as part of the targeting.
|
TargetingCriteria |
setKey(String key)
The key representing the shared targeting criterion.
|
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<TargetingValue> getExclusions()
null for nonepublic TargetingCriteria setExclusions(List<TargetingValue> exclusions)
exclusions - exclusions or null for nonepublic List<TargetingValue> getInclusions()
null for nonepublic TargetingCriteria setInclusions(List<TargetingValue> inclusions)
inclusions - inclusions or null for nonepublic String getKey()
null for nonepublic TargetingCriteria setKey(String key)
key - key or null for nonepublic TargetingCriteria set(String fieldName, Object value)
set in class GenericJsonpublic TargetingCriteria clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.