public final class CreativeAssignment
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 |
---|
CreativeAssignment() |
Modifier and Type | Method and Description |
---|---|
CreativeAssignment |
clone() |
Boolean |
getActive()
Whether this creative assignment is active.
|
Boolean |
getApplyEventTags()
Whether applicable event tags should fire when this creative assignment is rendered.
|
ClickThroughUrl |
getClickThroughUrl()
Click-through URL of the creative assignment.
|
List<CompanionClickThroughOverride> |
getCompanionCreativeOverrides()
Companion creative overrides for this creative assignment.
|
List<CreativeGroupAssignment> |
getCreativeGroupAssignments()
Creative group assignments for this creative assignment.
|
Long |
getCreativeId()
ID of the creative to be assigned.
|
DimensionValue |
getCreativeIdDimensionValue()
Dimension value for the ID of the creative.
|
com.google.api.client.util.DateTime |
getEndTime() |
List<RichMediaExitOverride> |
getRichMediaExitOverrides()
Rich media exit overrides for this creative assignment.
|
Integer |
getSequence()
Sequence number of the creative assignment, applicable when the rotation type is
CREATIVE_ROTATION_TYPE_SEQUENTIAL.
|
Boolean |
getSslCompliant()
Whether the creative to be assigned is SSL-compliant.
|
com.google.api.client.util.DateTime |
getStartTime() |
Integer |
getWeight()
Weight of the creative assignment, applicable when the rotation type is
CREATIVE_ROTATION_TYPE_RANDOM.
|
CreativeAssignment |
set(String fieldName,
Object value) |
CreativeAssignment |
setActive(Boolean active)
Whether this creative assignment is active.
|
CreativeAssignment |
setApplyEventTags(Boolean applyEventTags)
Whether applicable event tags should fire when this creative assignment is rendered.
|
CreativeAssignment |
setClickThroughUrl(ClickThroughUrl clickThroughUrl)
Click-through URL of the creative assignment.
|
CreativeAssignment |
setCompanionCreativeOverrides(List<CompanionClickThroughOverride> companionCreativeOverrides)
Companion creative overrides for this creative assignment.
|
CreativeAssignment |
setCreativeGroupAssignments(List<CreativeGroupAssignment> creativeGroupAssignments)
Creative group assignments for this creative assignment.
|
CreativeAssignment |
setCreativeId(Long creativeId)
ID of the creative to be assigned.
|
CreativeAssignment |
setCreativeIdDimensionValue(DimensionValue creativeIdDimensionValue)
Dimension value for the ID of the creative.
|
CreativeAssignment |
setEndTime(com.google.api.client.util.DateTime endTime) |
CreativeAssignment |
setRichMediaExitOverrides(List<RichMediaExitOverride> richMediaExitOverrides)
Rich media exit overrides for this creative assignment.
|
CreativeAssignment |
setSequence(Integer sequence)
Sequence number of the creative assignment, applicable when the rotation type is
CREATIVE_ROTATION_TYPE_SEQUENTIAL.
|
CreativeAssignment |
setSslCompliant(Boolean sslCompliant)
Whether the creative to be assigned is SSL-compliant.
|
CreativeAssignment |
setStartTime(com.google.api.client.util.DateTime startTime) |
CreativeAssignment |
setWeight(Integer weight)
Weight of the creative assignment, applicable when the rotation type is
CREATIVE_ROTATION_TYPE_RANDOM.
|
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 CreativeAssignment setActive(Boolean active)
active
- active or null
for nonepublic Boolean getApplyEventTags()
null
for nonepublic CreativeAssignment setApplyEventTags(Boolean applyEventTags)
applyEventTags
- applyEventTags or null
for nonepublic ClickThroughUrl getClickThroughUrl()
null
for nonepublic CreativeAssignment setClickThroughUrl(ClickThroughUrl clickThroughUrl)
clickThroughUrl
- clickThroughUrl or null
for nonepublic List<CompanionClickThroughOverride> getCompanionCreativeOverrides()
null
for nonepublic CreativeAssignment setCompanionCreativeOverrides(List<CompanionClickThroughOverride> companionCreativeOverrides)
companionCreativeOverrides
- companionCreativeOverrides or null
for nonepublic List<CreativeGroupAssignment> getCreativeGroupAssignments()
null
for nonepublic CreativeAssignment setCreativeGroupAssignments(List<CreativeGroupAssignment> creativeGroupAssignments)
creativeGroupAssignments
- creativeGroupAssignments or null
for nonepublic Long getCreativeId()
null
for nonepublic CreativeAssignment setCreativeId(Long creativeId)
creativeId
- creativeId or null
for nonepublic DimensionValue getCreativeIdDimensionValue()
null
for nonepublic CreativeAssignment setCreativeIdDimensionValue(DimensionValue creativeIdDimensionValue)
creativeIdDimensionValue
- creativeIdDimensionValue or null
for nonepublic com.google.api.client.util.DateTime getEndTime()
null
for nonepublic CreativeAssignment setEndTime(com.google.api.client.util.DateTime endTime)
endTime
- endTime or null
for nonepublic List<RichMediaExitOverride> getRichMediaExitOverrides()
null
for nonepublic CreativeAssignment setRichMediaExitOverrides(List<RichMediaExitOverride> richMediaExitOverrides)
richMediaExitOverrides
- richMediaExitOverrides or null
for nonepublic Integer getSequence()
null
for nonepublic CreativeAssignment setSequence(Integer sequence)
sequence
- sequence or null
for nonepublic Boolean getSslCompliant()
null
for nonepublic CreativeAssignment setSslCompliant(Boolean sslCompliant)
sslCompliant
- sslCompliant or null
for nonepublic com.google.api.client.util.DateTime getStartTime()
null
for nonepublic CreativeAssignment setStartTime(com.google.api.client.util.DateTime startTime)
startTime
- startTime or null
for nonepublic Integer getWeight()
null
for nonepublic CreativeAssignment setWeight(Integer weight)
weight
- weight or null
for nonepublic CreativeAssignment set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public CreativeAssignment clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.