public final class PlacementAssignment
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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
PlacementAssignment() |
Modifier and Type | Method and Description |
---|---|
PlacementAssignment |
clone() |
Boolean |
getActive()
Whether this placement assignment is active.
|
Long |
getPlacementId()
ID of the placement to be assigned.
|
DimensionValue |
getPlacementIdDimensionValue()
Dimension value for the ID of the placement.
|
Boolean |
getSslRequired()
Whether the placement to be assigned requires SSL.
|
PlacementAssignment |
set(String fieldName,
Object value) |
PlacementAssignment |
setActive(Boolean active)
Whether this placement assignment is active.
|
PlacementAssignment |
setPlacementId(Long placementId)
ID of the placement to be assigned.
|
PlacementAssignment |
setPlacementIdDimensionValue(DimensionValue placementIdDimensionValue)
Dimension value for the ID of the placement.
|
PlacementAssignment |
setSslRequired(Boolean sslRequired)
Whether the placement to be assigned requires SSL.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Boolean getActive()
null
for nonepublic PlacementAssignment setActive(Boolean active)
active
- active or null
for nonepublic Long getPlacementId()
null
for nonepublic PlacementAssignment setPlacementId(Long placementId)
placementId
- placementId or null
for nonepublic DimensionValue getPlacementIdDimensionValue()
null
for nonepublic PlacementAssignment setPlacementIdDimensionValue(DimensionValue placementIdDimensionValue)
placementIdDimensionValue
- placementIdDimensionValue or null
for nonepublic Boolean getSslRequired()
null
for nonepublic PlacementAssignment setSslRequired(Boolean sslRequired)
sslRequired
- sslRequired or null
for nonepublic PlacementAssignment set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public PlacementAssignment clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.