public class CreativePlaceholder extends Object implements Serializable
CreativePlaceholder describes a slot that a creative
is expected to
fill. This is used primarily to help in forecasting, and
also to validate
that the correct creatives are associated with the line
item. A
CreativePlaceholder must contain a size, and it
can optionally
contain companions. Companions are only valid if the line
item's environment
type is EnvironmentType.VIDEO_PLAYER.| Constructor and Description |
|---|
CreativePlaceholder() |
CreativePlaceholder(Size size,
CreativePlaceholder[] companions,
AppliedLabel[] appliedLabels,
AppliedLabel[] effectiveAppliedLabels,
Long id,
Integer expectedCreativeCount,
CreativeSizeType creativeSizeType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AppliedLabel[] |
getAppliedLabels()
Gets the appliedLabels value for this CreativePlaceholder.
|
AppliedLabel |
getAppliedLabels(int i) |
CreativePlaceholder[] |
getCompanions()
Gets the companions value for this CreativePlaceholder.
|
CreativePlaceholder |
getCompanions(int i) |
CreativeSizeType |
getCreativeSizeType()
Gets the creativeSizeType value for this CreativePlaceholder.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
AppliedLabel[] |
getEffectiveAppliedLabels()
Gets the effectiveAppliedLabels value for this CreativePlaceholder.
|
AppliedLabel |
getEffectiveAppliedLabels(int i) |
Integer |
getExpectedCreativeCount()
Gets the expectedCreativeCount value for this CreativePlaceholder.
|
Long |
getId()
Gets the id value for this CreativePlaceholder.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
Size |
getSize()
Gets the size value for this CreativePlaceholder.
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
int |
hashCode() |
void |
setAppliedLabels(AppliedLabel[] appliedLabels)
Sets the appliedLabels value for this CreativePlaceholder.
|
void |
setAppliedLabels(int i,
AppliedLabel _value) |
void |
setCompanions(CreativePlaceholder[] companions)
Sets the companions value for this CreativePlaceholder.
|
void |
setCompanions(int i,
CreativePlaceholder _value) |
void |
setCreativeSizeType(CreativeSizeType creativeSizeType)
Sets the creativeSizeType value for this CreativePlaceholder.
|
void |
setEffectiveAppliedLabels(AppliedLabel[] effectiveAppliedLabels)
Sets the effectiveAppliedLabels value for this CreativePlaceholder.
|
void |
setEffectiveAppliedLabels(int i,
AppliedLabel _value) |
void |
setExpectedCreativeCount(Integer expectedCreativeCount)
Sets the expectedCreativeCount value for this CreativePlaceholder.
|
void |
setId(Long id)
Sets the id value for this CreativePlaceholder.
|
void |
setSize(Size size)
Sets the size value for this CreativePlaceholder.
|
public CreativePlaceholder()
public CreativePlaceholder(Size size, CreativePlaceholder[] companions, AppliedLabel[] appliedLabels, AppliedLabel[] effectiveAppliedLabels, Long id, Integer expectedCreativeCount, CreativeSizeType creativeSizeType)
public Size getSize()
public void setSize(Size size)
size - * The dimensions that the creative is expected to have. This
attribute is
required.public CreativePlaceholder[] getCompanions()
LineItemSummary.environmentType of EnvironmentType.VIDEO_PLAYER
or
LineItemSummary.roadblockingType of RoadblockingType.CREATIVE_SET.public void setCompanions(CreativePlaceholder[] companions)
companions - * The companions that the creative is expected to have. This
attribute can
only be set if the line item it belongs to has a
LineItemSummary.environmentType of EnvironmentType.VIDEO_PLAYER
or
LineItemSummary.roadblockingType of RoadblockingType.CREATIVE_SET.public CreativePlaceholder getCompanions(int i)
public void setCompanions(int i,
CreativePlaceholder _value)
public AppliedLabel[] getAppliedLabels()
public void setAppliedLabels(AppliedLabel[] appliedLabels)
appliedLabels - * The set of label frequency caps applied directly to this creative
placeholder.public AppliedLabel getAppliedLabels(int i)
public void setAppliedLabels(int i,
AppliedLabel _value)
public AppliedLabel[] getEffectiveAppliedLabels()
public void setEffectiveAppliedLabels(AppliedLabel[] effectiveAppliedLabels)
effectiveAppliedLabels - * Contains the set of labels applied directly to this creative
placeholder
as well as those inherited from the creative template
from which this
creative placeholder was instantiated. This field
is readonly and is
assigned by Google.public AppliedLabel getEffectiveAppliedLabels(int i)
public void setEffectiveAppliedLabels(int i,
AppliedLabel _value)
public Long getId()
public void setId(Long id)
id - * The ID of this placeholder. This field is generated by the
server and is read-only.public Integer getExpectedCreativeCount()
public void setExpectedCreativeCount(Integer expectedCreativeCount)
expectedCreativeCount - * Expected number of creatives that will be uploaded corresponding
to this
creative placeholder. This estimate is used to improve
the accuracy of
forecasting; for example, if label frequency capping
limits the number of
times a creative may be served.public CreativeSizeType getCreativeSizeType()
CreativeSizeType.PIXEL, which is a dimension
based size (width-height pair).public void setCreativeSizeType(CreativeSizeType creativeSizeType)
creativeSizeType - * Describes the types of sizes a creative can be. By default,
the creative's size
is CreativeSizeType.PIXEL, which is a dimension
based size (width-height pair).public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2014. All Rights Reserved.