|
||||||||||
| 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.LineItemCreativeAssociation
public class LineItemCreativeAssociation
A LineItemCreativeAssociation associates a Creative
or CreativeSet with a
LineItem so that the creative can be served in
ad units targeted by the line item.
| Constructor Summary | |
|---|---|
LineItemCreativeAssociation()
|
|
LineItemCreativeAssociation(Long lineItemId,
Long creativeId,
Double manualCreativeRotationWeight,
DateTime startDateTime,
StartDateTimeType startDateTimeType,
DateTime endDateTime,
String destinationUrl,
Size[] sizes,
LineItemCreativeAssociationStatus status,
LineItemCreativeAssociationStats stats,
DateTime lastModifiedDateTime)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Long |
getCreativeId()
Gets the creativeId value for this LineItemCreativeAssociation. |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer |
String |
getDestinationUrl()
Gets the destinationUrl value for this LineItemCreativeAssociation. |
DateTime |
getEndDateTime()
Gets the endDateTime value for this LineItemCreativeAssociation. |
DateTime |
getLastModifiedDateTime()
Gets the lastModifiedDateTime value for this LineItemCreativeAssociation. |
Long |
getLineItemId()
Gets the lineItemId value for this LineItemCreativeAssociation. |
Double |
getManualCreativeRotationWeight()
Gets the manualCreativeRotationWeight value for this LineItemCreativeAssociation. |
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer |
Size[] |
getSizes()
Gets the sizes value for this LineItemCreativeAssociation. |
Size |
getSizes(int i)
|
DateTime |
getStartDateTime()
Gets the startDateTime value for this LineItemCreativeAssociation. |
StartDateTimeType |
getStartDateTimeType()
Gets the startDateTimeType value for this LineItemCreativeAssociation. |
LineItemCreativeAssociationStats |
getStats()
Gets the stats value for this LineItemCreativeAssociation. |
LineItemCreativeAssociationStatus |
getStatus()
Gets the status value for this LineItemCreativeAssociation. |
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object |
int |
hashCode()
|
void |
setCreativeId(Long creativeId)
Sets the creativeId value for this LineItemCreativeAssociation. |
void |
setDestinationUrl(String destinationUrl)
Sets the destinationUrl value for this LineItemCreativeAssociation. |
void |
setEndDateTime(DateTime endDateTime)
Sets the endDateTime value for this LineItemCreativeAssociation. |
void |
setLastModifiedDateTime(DateTime lastModifiedDateTime)
Sets the lastModifiedDateTime value for this LineItemCreativeAssociation. |
void |
setLineItemId(Long lineItemId)
Sets the lineItemId value for this LineItemCreativeAssociation. |
void |
setManualCreativeRotationWeight(Double manualCreativeRotationWeight)
Sets the manualCreativeRotationWeight value for this LineItemCreativeAssociation. |
void |
setSizes(int i,
Size _value)
|
void |
setSizes(Size[] sizes)
Sets the sizes value for this LineItemCreativeAssociation. |
void |
setStartDateTime(DateTime startDateTime)
Sets the startDateTime value for this LineItemCreativeAssociation. |
void |
setStartDateTimeType(StartDateTimeType startDateTimeType)
Sets the startDateTimeType value for this LineItemCreativeAssociation. |
void |
setStats(LineItemCreativeAssociationStats stats)
Sets the stats value for this LineItemCreativeAssociation. |
void |
setStatus(LineItemCreativeAssociationStatus status)
Sets the status value for this LineItemCreativeAssociation. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LineItemCreativeAssociation()
public LineItemCreativeAssociation(Long lineItemId,
Long creativeId,
Double manualCreativeRotationWeight,
DateTime startDateTime,
StartDateTimeType startDateTimeType,
DateTime endDateTime,
String destinationUrl,
Size[] sizes,
LineItemCreativeAssociationStatus status,
LineItemCreativeAssociationStats stats,
DateTime lastModifiedDateTime)
| Method Detail |
|---|
public Long getLineItemId()
LineItem to which the Creative
should be
associated. This attribute is required.public void setLineItemId(Long lineItemId)
lineItemId - * The ID of the LineItem to which the Creative
should be
associated. This attribute is required.public Long getCreativeId()
Creative being associated with a LineItem.
This attribute is required if this is an association
between a line item and a creative.
This attribute is ignored if this is an association
between a line item and a creative set.
If this is an association between a line item and
a creative, when retrieving the
line item creative association, the #creativeId]
will be the creative's ID.
If this is an association between a line item and
a creative set, when retrieving the
line item creative association, the {@link #creativeId}
will be the ID of the
{@link CreativeSet#masterCreativeId master creative}.
public void setCreativeId(Long creativeId)
creativeId - * The ID of the Creative being associated with a LineItem.
This attribute is required if this is an association
between a line item and a creative.
This attribute is ignored if this is an association
between a line item and a creative set.
If this is an association between a line item and
a creative, when retrieving the
line item creative association, the #creativeId]
will be the creative's ID.
If this is an association between a line item and
a creative set, when retrieving the
line item creative association, the {@link #creativeId}
will be the ID of the
{@link CreativeSet#masterCreativeId master creative}.
public Double getManualCreativeRotationWeight()
Creative. This value is only used
if the line
item's creativeRotationType is set to
CreativeRotationType.MANUAL. This attribute
is optional and
defaults to 10.public void setManualCreativeRotationWeight(Double manualCreativeRotationWeight)
manualCreativeRotationWeight - * The weight of the Creative. This value is only used
if the line
item's creativeRotationType is set to
CreativeRotationType.MANUAL. This attribute
is optional and
defaults to 10.public DateTime getStartDateTime()
LineItemSummary.startDateTime.
This value is
optional and is only valid for DFP premium networks.public void setStartDateTime(DateTime startDateTime)
startDateTime - * Overrides the value set for LineItemSummary.startDateTime.
This value is
optional and is only valid for DFP premium networks.public StartDateTimeType getStartDateTimeType()
LineItemCreativeAssociation right away, in
an hour, etc. This
attribute is optional and defaults to
StartDateTimeType.USE_START_DATE_TIME.public void setStartDateTimeType(StartDateTimeType startDateTimeType)
startDateTimeType - * Specifies whether to start serving to the
LineItemCreativeAssociation right away, in
an hour, etc. This
attribute is optional and defaults to
StartDateTimeType.USE_START_DATE_TIME.public DateTime getEndDateTime()
LineItemSummary.endDateTime. This value is optional
and is only
valid for DFP premium networks.public void setEndDateTime(DateTime endDateTime)
endDateTime - * Overrides LineItemSummary.endDateTime. This value is optional
and is only
valid for DFP premium networks.public String getDestinationUrl()
HasDestinationUrlCreative.destinationUrl.
This value is optional
and is only valid for DFP premium networks.public void setDestinationUrl(String destinationUrl)
destinationUrl - * Overrides the value set for
HasDestinationUrlCreative.destinationUrl.
This value is optional
and is only valid for DFP premium networks.public Size[] getSizes()
Creative.size, which allows
the
creative to be served to ad units that would otherwise
not be compatible
for its actual size. This value is optional.public void setSizes(Size[] sizes)
sizes - * Overrides the value set for Creative.size, which allows
the
creative to be served to ad units that would otherwise
not be compatible
for its actual size. This value is optional.public Size getSizes(int i)
public void setSizes(int i,
Size _value)
public LineItemCreativeAssociationStatus getStatus()
public void setStatus(LineItemCreativeAssociationStatus status)
status - * The status of the association. This attribute is read-only.public LineItemCreativeAssociationStats getStats()
null in case
there are no statistics for the association yet.public void setStats(LineItemCreativeAssociationStats stats)
stats - * Contains trafficking statistics for the association. This attribute
is
readonly and is populated by Google. This will be
null in case
there are no statistics for the association yet.public DateTime getLastModifiedDateTime()
public void setLastModifiedDateTime(DateTime lastModifiedDateTime)
lastModifiedDateTime - * The date and time this association was last modified.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 | |||||||||