|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.dfp.axis.v201201.CreativePlaceholder
public class CreativePlaceholder
A 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 Summary | |
|---|---|
CreativePlaceholder()
|
|
CreativePlaceholder(Size size,
CreativePlaceholder[] companions,
AppliedLabel[] appliedLabels,
AppliedLabel[] effectiveAppliedLabels,
Long id,
Integer expectedCreativeCount,
CreativeSizeType creativeSizeType)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CreativePlaceholder()
public CreativePlaceholder(Size size,
CreativePlaceholder[] companions,
AppliedLabel[] appliedLabels,
AppliedLabel[] effectiveAppliedLabels,
Long id,
Integer expectedCreativeCount,
CreativeSizeType creativeSizeType)
| Method Detail |
|---|
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()
environmentType of EnvironmentType.VIDEO_PLAYER.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 an
environmentType of EnvironmentType.VIDEO_PLAYER.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 boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
Class _javaType,
QName _xmlType)
public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||