public class ExtensionFeedItem extends Object
Java class for ExtensionFeedItem complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ExtensionFeedItem">
<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="feedType" type="{https://adwords.google.com/api/adwords/cm/v201809}Feed.Type" 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="devicePreference" type="{https://adwords.google.com/api/adwords/cm/v201809}FeedItemDevicePreference" minOccurs="0"/>
<element name="scheduling" type="{https://adwords.google.com/api/adwords/cm/v201809}FeedItemScheduling" minOccurs="0"/>
<element name="campaignTargeting" type="{https://adwords.google.com/api/adwords/cm/v201809}FeedItemCampaignTargeting" minOccurs="0"/>
<element name="adGroupTargeting" type="{https://adwords.google.com/api/adwords/cm/v201809}FeedItemAdGroupTargeting" minOccurs="0"/>
<element name="keywordTargeting" type="{https://adwords.google.com/api/adwords/cm/v201809}Keyword" minOccurs="0"/>
<element name="geoTargeting" type="{https://adwords.google.com/api/adwords/cm/v201809}Location" minOccurs="0"/>
<element name="geoTargetingRestriction" type="{https://adwords.google.com/api/adwords/cm/v201809}FeedItemGeoRestriction" minOccurs="0"/>
<element name="policySummaries" type="{https://adwords.google.com/api/adwords/cm/v201809}FeedItemPolicySummary" maxOccurs="unbounded" minOccurs="0"/>
<element name="ExtensionFeedItem.Type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected FeedItemAdGroupTargeting |
adGroupTargeting |
protected FeedItemCampaignTargeting |
campaignTargeting |
protected FeedItemDevicePreference |
devicePreference |
protected String |
endTime |
protected String |
extensionFeedItemType |
protected Long |
feedId |
protected Long |
feedItemId |
protected FeedType |
feedType |
protected Location |
geoTargeting |
protected FeedItemGeoRestriction |
geoTargetingRestriction |
protected Keyword |
keywordTargeting |
protected List<FeedItemPolicySummary> |
policySummaries |
protected FeedItemScheduling |
scheduling |
protected String |
startTime |
protected FeedItemStatus |
status |
| Constructor and Description |
|---|
ExtensionFeedItem() |
| Modifier and Type | Method and Description |
|---|---|
FeedItemAdGroupTargeting |
getAdGroupTargeting()
Gets the value of the adGroupTargeting property.
|
FeedItemCampaignTargeting |
getCampaignTargeting()
Gets the value of the campaignTargeting property.
|
FeedItemDevicePreference |
getDevicePreference()
Gets the value of the devicePreference property.
|
String |
getEndTime()
Gets the value of the endTime property.
|
String |
getExtensionFeedItemType()
Gets the value of the extensionFeedItemType property.
|
Long |
getFeedId()
Gets the value of the feedId property.
|
Long |
getFeedItemId()
Gets the value of the feedItemId property.
|
FeedType |
getFeedType()
Gets the value of the feedType property.
|
Location |
getGeoTargeting()
Gets the value of the geoTargeting property.
|
FeedItemGeoRestriction |
getGeoTargetingRestriction()
Gets the value of the geoTargetingRestriction property.
|
Keyword |
getKeywordTargeting()
Gets the value of the keywordTargeting property.
|
List<FeedItemPolicySummary> |
getPolicySummaries()
Gets the value of the policySummaries property.
|
FeedItemScheduling |
getScheduling()
Gets the value of the scheduling property.
|
String |
getStartTime()
Gets the value of the startTime property.
|
FeedItemStatus |
getStatus()
Gets the value of the status property.
|
void |
setAdGroupTargeting(FeedItemAdGroupTargeting value)
Sets the value of the adGroupTargeting property.
|
void |
setCampaignTargeting(FeedItemCampaignTargeting value)
Sets the value of the campaignTargeting property.
|
void |
setDevicePreference(FeedItemDevicePreference value)
Sets the value of the devicePreference property.
|
void |
setEndTime(String value)
Sets the value of the endTime property.
|
void |
setExtensionFeedItemType(String value)
Sets the value of the extensionFeedItemType property.
|
void |
setFeedId(Long value)
Sets the value of the feedId property.
|
void |
setFeedItemId(Long value)
Sets the value of the feedItemId property.
|
void |
setFeedType(FeedType value)
Sets the value of the feedType property.
|
void |
setGeoTargeting(Location value)
Sets the value of the geoTargeting property.
|
void |
setGeoTargetingRestriction(FeedItemGeoRestriction value)
Sets the value of the geoTargetingRestriction property.
|
void |
setKeywordTargeting(Keyword value)
Sets the value of the keywordTargeting property.
|
void |
setScheduling(FeedItemScheduling value)
Sets the value of the scheduling property.
|
void |
setStartTime(String value)
Sets the value of the startTime property.
|
void |
setStatus(FeedItemStatus value)
Sets the value of the status property.
|
protected Long feedId
protected Long feedItemId
protected FeedItemStatus status
protected FeedType feedType
protected String startTime
protected String endTime
protected FeedItemDevicePreference devicePreference
protected FeedItemScheduling scheduling
protected FeedItemCampaignTargeting campaignTargeting
protected FeedItemAdGroupTargeting adGroupTargeting
protected Keyword keywordTargeting
protected Location geoTargeting
protected FeedItemGeoRestriction geoTargetingRestriction
protected List<FeedItemPolicySummary> policySummaries
protected String extensionFeedItemType
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 FeedType getFeedType()
FeedTypepublic void setFeedType(FeedType value)
value - allowed object is
FeedTypepublic String getStartTime()
Stringpublic void setStartTime(String value)
value - allowed object is
Stringpublic String getEndTime()
Stringpublic void setEndTime(String value)
value - allowed object is
Stringpublic FeedItemDevicePreference getDevicePreference()
FeedItemDevicePreferencepublic void setDevicePreference(FeedItemDevicePreference value)
value - allowed object is
FeedItemDevicePreferencepublic FeedItemScheduling getScheduling()
FeedItemSchedulingpublic void setScheduling(FeedItemScheduling value)
value - allowed object is
FeedItemSchedulingpublic FeedItemCampaignTargeting getCampaignTargeting()
FeedItemCampaignTargetingpublic void setCampaignTargeting(FeedItemCampaignTargeting value)
value - allowed object is
FeedItemCampaignTargetingpublic FeedItemAdGroupTargeting getAdGroupTargeting()
FeedItemAdGroupTargetingpublic void setAdGroupTargeting(FeedItemAdGroupTargeting value)
value - allowed object is
FeedItemAdGroupTargetingpublic Keyword getKeywordTargeting()
Keywordpublic void setKeywordTargeting(Keyword value)
value - allowed object is
Keywordpublic Location getGeoTargeting()
Locationpublic void setGeoTargeting(Location value)
value - allowed object is
Locationpublic FeedItemGeoRestriction getGeoTargetingRestriction()
FeedItemGeoRestrictionpublic void setGeoTargetingRestriction(FeedItemGeoRestriction value)
value - allowed object is
FeedItemGeoRestrictionpublic 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 String getExtensionFeedItemType()
StringCopyright © 2023. All rights reserved.