public class LineItemCreativeAssociation extends Object implements Serializable
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 and Description |
|---|
LineItemCreativeAssociation() |
LineItemCreativeAssociation(Long lineItemId,
Long creativeId,
Long creativeSetId,
Double manualCreativeRotationWeight,
Integer sequentialCreativeRotationIndex,
DateTime startDateTime,
StartDateTimeType startDateTimeType,
DateTime endDateTime,
String destinationUrl,
Size[] sizes,
LineItemCreativeAssociationStatus status,
LineItemCreativeAssociationStats stats,
DateTime lastModifiedDateTime,
String targetingName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Long |
getCreativeId()
Gets the creativeId value for this LineItemCreativeAssociation.
|
Long |
getCreativeSetId()
Gets the creativeSetId 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.
|
Integer |
getSequentialCreativeRotationIndex()
Gets the sequentialCreativeRotationIndex 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.
|
String |
getTargetingName()
Gets the targetingName 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 |
setCreativeSetId(Long creativeSetId)
Sets the creativeSetId 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 |
setSequentialCreativeRotationIndex(Integer sequentialCreativeRotationIndex)
Sets the sequentialCreativeRotationIndex 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.
|
void |
setTargetingName(String targetingName)
Sets the targetingName value for this LineItemCreativeAssociation.
|
String |
toString() |
public LineItemCreativeAssociation()
public LineItemCreativeAssociation(Long lineItemId, Long creativeId, Long creativeSetId, Double manualCreativeRotationWeight, Integer sequentialCreativeRotationIndex, DateTime startDateTime, StartDateTimeType startDateTimeType, DateTime endDateTime, String destinationUrl, Size[] sizes, LineItemCreativeAssociationStatus status, LineItemCreativeAssociationStats stats, DateTime lastModifiedDateTime, String targetingName)
public Long getLineItemId()
public void setLineItemId(Long lineItemId)
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 creativeId
will be the ID of the
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 creativeId
will be the ID of the
master creative.
public Long getCreativeSetId()
CreativeSet being associated with a LineItem.
This attribute is required if this is an association
between a line item and a creative set.
This field will be null when retrieving associations
between line items and
creatives not belonging to a set.
public void setCreativeSetId(Long creativeSetId)
creativeSetId - * The ID of the CreativeSet being associated with a LineItem.
This attribute is required if this is an association
between a line item and a creative set.
This field will be null when retrieving associations
between line items and
creatives not belonging to a set.
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 Integer getSequentialCreativeRotationIndex()
Creative.
This value is used only if
the associated line item's LineItemSummary.creativeRotationType
is set to
CreativeRotationType.SEQUENTIAL. This attribute
is optional and
defaults to 1.public void setSequentialCreativeRotationIndex(Integer sequentialCreativeRotationIndex)
sequentialCreativeRotationIndex - * The sequential rotation index of the Creative.
This value is used only if
the associated line item's LineItemSummary.creativeRotationType
is set to
CreativeRotationType.SEQUENTIAL. This attribute
is optional and
defaults to 1.public DateTime getStartDateTime()
LineItemSummary.startDateTime.
This value is
optional and is only valid for Ad Manager 360 networks.public void setStartDateTime(DateTime startDateTime)
startDateTime - * Overrides the value set for LineItemSummary.startDateTime.
This value is
optional and is only valid for Ad Manager 360 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 Ad Manager 360 networks.public void setEndDateTime(DateTime endDateTime)
endDateTime - * Overrides LineItemSummary.endDateTime. This value is optional
and is only
valid for Ad Manager 360 networks.public String getDestinationUrl()
HasDestinationUrlCreative.destinationUrl.
This value is optional
and is only valid for Ad Manager 360 networks.public void setDestinationUrl(String destinationUrl)
destinationUrl - * Overrides the value set for
HasDestinationUrlCreative.destinationUrl.
This value is optional
and is only valid for Ad Manager 360 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 String getTargetingName()
CreativeTargeting for this line item creative
association.
This attribute is optional. It should match the
creative targeting specified on the
corresponding CreativePlaceholder in the LineItem that is being associated
with the Creative.
public void setTargetingName(String targetingName)
targetingName - * Specifies CreativeTargeting for this line item creative
association.
This attribute is optional. It should match the
creative targeting specified on the
corresponding CreativePlaceholder in the LineItem that is being associated
with the Creative.
public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2022. All rights reserved.