public class FeedItem extends Object
Java class for FeedItem complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FeedItem">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="feedId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="feedItemId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="status" type="{https://adwords.google.com/api/adwords/cm/v201809}FeedItem.Status" minOccurs="0"/>
<element name="startTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="endTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="attributeValues" type="{https://adwords.google.com/api/adwords/cm/v201809}FeedItemAttributeValue" maxOccurs="unbounded" minOccurs="0"/>
<element name="policySummaries" type="{https://adwords.google.com/api/adwords/cm/v201809}FeedItemPolicySummary" maxOccurs="unbounded" minOccurs="0"/>
<element name="geoTargetingRestriction" type="{https://adwords.google.com/api/adwords/cm/v201809}FeedItemGeoRestriction" minOccurs="0"/>
<element name="urlCustomParameters" type="{https://adwords.google.com/api/adwords/cm/v201809}CustomParameters" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<FeedItemAttributeValue> |
attributeValues |
protected String |
endTime |
protected Long |
feedId |
protected Long |
feedItemId |
protected FeedItemGeoRestriction |
geoTargetingRestriction |
protected List<FeedItemPolicySummary> |
policySummaries |
protected String |
startTime |
protected FeedItemStatus |
status |
protected CustomParameters |
urlCustomParameters |
| Constructor and Description |
|---|
FeedItem() |
| Modifier and Type | Method and Description |
|---|---|
List<FeedItemAttributeValue> |
getAttributeValues()
Gets the value of the attributeValues property.
|
String |
getEndTime()
Gets the value of the endTime property.
|
Long |
getFeedId()
Gets the value of the feedId property.
|
Long |
getFeedItemId()
Gets the value of the feedItemId property.
|
FeedItemGeoRestriction |
getGeoTargetingRestriction()
Gets the value of the geoTargetingRestriction property.
|
List<FeedItemPolicySummary> |
getPolicySummaries()
Gets the value of the policySummaries property.
|
String |
getStartTime()
Gets the value of the startTime property.
|
FeedItemStatus |
getStatus()
Gets the value of the status property.
|
CustomParameters |
getUrlCustomParameters()
Gets the value of the urlCustomParameters property.
|
void |
setEndTime(String value)
Sets the value of the endTime property.
|
void |
setFeedId(Long value)
Sets the value of the feedId property.
|
void |
setFeedItemId(Long value)
Sets the value of the feedItemId property.
|
void |
setGeoTargetingRestriction(FeedItemGeoRestriction value)
Sets the value of the geoTargetingRestriction property.
|
void |
setStartTime(String value)
Sets the value of the startTime property.
|
void |
setStatus(FeedItemStatus value)
Sets the value of the status property.
|
void |
setUrlCustomParameters(CustomParameters value)
Sets the value of the urlCustomParameters property.
|
protected Long feedId
protected Long feedItemId
protected FeedItemStatus status
protected String startTime
protected String endTime
protected List<FeedItemAttributeValue> attributeValues
protected List<FeedItemPolicySummary> policySummaries
protected FeedItemGeoRestriction geoTargetingRestriction
protected CustomParameters urlCustomParameters
public Long getFeedId()
Longpublic void setFeedId(Long value)
value - allowed object is
Longpublic Long getFeedItemId()
Longpublic void setFeedItemId(Long value)
value - allowed object is
Longpublic FeedItemStatus getStatus()
FeedItemStatuspublic void setStatus(FeedItemStatus value)
value - allowed object is
FeedItemStatuspublic String getStartTime()
Stringpublic void setStartTime(String value)
value - allowed object is
Stringpublic String getEndTime()
Stringpublic void setEndTime(String value)
value - allowed object is
Stringpublic List<FeedItemAttributeValue> getAttributeValues()
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 attributeValues property.
For example, to add a new item, do as follows:
getAttributeValues().add(newItem);
Objects of the following type(s) are allowed in the list
FeedItemAttributeValue
public List<FeedItemPolicySummary> getPolicySummaries()
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 policySummaries property.
For example, to add a new item, do as follows:
getPolicySummaries().add(newItem);
Objects of the following type(s) are allowed in the list
FeedItemPolicySummary
public FeedItemGeoRestriction getGeoTargetingRestriction()
FeedItemGeoRestrictionpublic void setGeoTargetingRestriction(FeedItemGeoRestriction value)
value - allowed object is
FeedItemGeoRestrictionpublic CustomParameters getUrlCustomParameters()
CustomParameterspublic void setUrlCustomParameters(CustomParameters value)
value - allowed object is
CustomParametersCopyright © 2023. All rights reserved.