public class LineItemCreativeAssociation extends Object
LineItemCreativeAssociation associates a Creative or CreativeSet with a
LineItem so that the creative can be served in ad units targeted by the line item.
Java class for LineItemCreativeAssociation complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LineItemCreativeAssociation">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="lineItemId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="creativeId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="creativeSetId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="manualCreativeRotationWeight" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
<element name="sequentialCreativeRotationIndex" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="startDateTime" type="{https://www.google.com/apis/ads/publisher/v201802}DateTime" minOccurs="0"/>
<element name="startDateTimeType" type="{https://www.google.com/apis/ads/publisher/v201802}StartDateTimeType" minOccurs="0"/>
<element name="endDateTime" type="{https://www.google.com/apis/ads/publisher/v201802}DateTime" minOccurs="0"/>
<element name="destinationUrl" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="sizes" type="{https://www.google.com/apis/ads/publisher/v201802}Size" maxOccurs="unbounded" minOccurs="0"/>
<element name="status" type="{https://www.google.com/apis/ads/publisher/v201802}LineItemCreativeAssociation.Status" minOccurs="0"/>
<element name="stats" type="{https://www.google.com/apis/ads/publisher/v201802}LineItemCreativeAssociationStats" minOccurs="0"/>
<element name="lastModifiedDateTime" type="{https://www.google.com/apis/ads/publisher/v201802}DateTime" minOccurs="0"/>
<element name="targetingName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Long |
creativeId |
protected Long |
creativeSetId |
protected String |
destinationUrl |
protected DateTime |
endDateTime |
protected DateTime |
lastModifiedDateTime |
protected Long |
lineItemId |
protected Double |
manualCreativeRotationWeight |
protected Integer |
sequentialCreativeRotationIndex |
protected List<Size> |
sizes |
protected DateTime |
startDateTime |
protected StartDateTimeType |
startDateTimeType |
protected LineItemCreativeAssociationStats |
stats |
protected LineItemCreativeAssociationStatus |
status |
protected String |
targetingName |
| Constructor and Description |
|---|
LineItemCreativeAssociation() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getCreativeId()
Gets the value of the creativeId property.
|
Long |
getCreativeSetId()
Gets the value of the creativeSetId property.
|
String |
getDestinationUrl()
Gets the value of the destinationUrl property.
|
DateTime |
getEndDateTime()
Gets the value of the endDateTime property.
|
DateTime |
getLastModifiedDateTime()
Gets the value of the lastModifiedDateTime property.
|
Long |
getLineItemId()
Gets the value of the lineItemId property.
|
Double |
getManualCreativeRotationWeight()
Gets the value of the manualCreativeRotationWeight property.
|
Integer |
getSequentialCreativeRotationIndex()
Gets the value of the sequentialCreativeRotationIndex property.
|
List<Size> |
getSizes()
Gets the value of the sizes property.
|
DateTime |
getStartDateTime()
Gets the value of the startDateTime property.
|
StartDateTimeType |
getStartDateTimeType()
Gets the value of the startDateTimeType property.
|
LineItemCreativeAssociationStats |
getStats()
Gets the value of the stats property.
|
LineItemCreativeAssociationStatus |
getStatus()
Gets the value of the status property.
|
String |
getTargetingName()
Gets the value of the targetingName property.
|
void |
setCreativeId(Long value)
Sets the value of the creativeId property.
|
void |
setCreativeSetId(Long value)
Sets the value of the creativeSetId property.
|
void |
setDestinationUrl(String value)
Sets the value of the destinationUrl property.
|
void |
setEndDateTime(DateTime value)
Sets the value of the endDateTime property.
|
void |
setLastModifiedDateTime(DateTime value)
Sets the value of the lastModifiedDateTime property.
|
void |
setLineItemId(Long value)
Sets the value of the lineItemId property.
|
void |
setManualCreativeRotationWeight(Double value)
Sets the value of the manualCreativeRotationWeight property.
|
void |
setSequentialCreativeRotationIndex(Integer value)
Sets the value of the sequentialCreativeRotationIndex property.
|
void |
setStartDateTime(DateTime value)
Sets the value of the startDateTime property.
|
void |
setStartDateTimeType(StartDateTimeType value)
Sets the value of the startDateTimeType property.
|
void |
setStats(LineItemCreativeAssociationStats value)
Sets the value of the stats property.
|
void |
setStatus(LineItemCreativeAssociationStatus value)
Sets the value of the status property.
|
void |
setTargetingName(String value)
Sets the value of the targetingName property.
|
protected Long lineItemId
protected Long creativeId
protected Long creativeSetId
protected Double manualCreativeRotationWeight
protected Integer sequentialCreativeRotationIndex
protected DateTime startDateTime
protected StartDateTimeType startDateTimeType
protected DateTime endDateTime
protected String destinationUrl
protected LineItemCreativeAssociationStatus status
protected LineItemCreativeAssociationStats stats
protected DateTime lastModifiedDateTime
protected String targetingName
public Long getLineItemId()
Longpublic void setLineItemId(Long value)
value - allowed object is
Longpublic Long getCreativeId()
Longpublic void setCreativeId(Long value)
value - allowed object is
Longpublic Long getCreativeSetId()
Longpublic void setCreativeSetId(Long value)
value - allowed object is
Longpublic Double getManualCreativeRotationWeight()
Doublepublic void setManualCreativeRotationWeight(Double value)
value - allowed object is
Doublepublic Integer getSequentialCreativeRotationIndex()
Integerpublic void setSequentialCreativeRotationIndex(Integer value)
value - allowed object is
Integerpublic DateTime getStartDateTime()
DateTimepublic void setStartDateTime(DateTime value)
value - allowed object is
DateTimepublic StartDateTimeType getStartDateTimeType()
StartDateTimeTypepublic void setStartDateTimeType(StartDateTimeType value)
value - allowed object is
StartDateTimeTypepublic DateTime getEndDateTime()
DateTimepublic void setEndDateTime(DateTime value)
value - allowed object is
DateTimepublic String getDestinationUrl()
Stringpublic void setDestinationUrl(String value)
value - allowed object is
Stringpublic List<Size> getSizes()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the sizes property.
For example, to add a new item, do as follows:
getSizes().add(newItem);
Objects of the following type(s) are allowed in the list
Size
public LineItemCreativeAssociationStatus getStatus()
LineItemCreativeAssociationStatuspublic void setStatus(LineItemCreativeAssociationStatus value)
value - allowed object is
LineItemCreativeAssociationStatuspublic LineItemCreativeAssociationStats getStats()
LineItemCreativeAssociationStatspublic void setStats(LineItemCreativeAssociationStats value)
value - allowed object is
LineItemCreativeAssociationStatspublic DateTime getLastModifiedDateTime()
DateTimepublic void setLastModifiedDateTime(DateTime value)
value - allowed object is
DateTimepublic String getTargetingName()
StringCopyright © 2018. All Rights Reserved.