public class StructuredSnippetFeedItem extends ExtensionFeedItem
Java class for StructuredSnippetFeedItem complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="StructuredSnippetFeedItem">
<complexContent>
<extension base="{https://adwords.google.com/api/adwords/cm/v201809}ExtensionFeedItem">
<sequence>
<element name="header" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="values" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
header |
protected List<String> |
values |
adGroupTargeting, campaignTargeting, devicePreference, endTime, extensionFeedItemType, feedId, feedItemId, feedType, geoTargeting, geoTargetingRestriction, keywordTargeting, policySummaries, scheduling, startTime, status| Constructor and Description |
|---|
StructuredSnippetFeedItem() |
| Modifier and Type | Method and Description |
|---|---|
String |
getHeader()
Gets the value of the header property.
|
List<String> |
getValues()
Gets the value of the values property.
|
void |
setHeader(String value)
Sets the value of the header property.
|
getAdGroupTargeting, getCampaignTargeting, getDevicePreference, getEndTime, getExtensionFeedItemType, getFeedId, getFeedItemId, getFeedType, getGeoTargeting, getGeoTargetingRestriction, getKeywordTargeting, getPolicySummaries, getScheduling, getStartTime, getStatus, setAdGroupTargeting, setCampaignTargeting, setDevicePreference, setEndTime, setExtensionFeedItemType, setFeedId, setFeedItemId, setFeedType, setGeoTargeting, setGeoTargetingRestriction, setKeywordTargeting, setScheduling, setStartTime, setStatuspublic String getHeader()
Stringpublic void setHeader(String value)
value - allowed object is
Stringpublic List<String> getValues()
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 values property.
For example, to add a new item, do as follows:
getValues().add(newItem);
Objects of the following type(s) are allowed in the list
String
Copyright © 2023. All rights reserved.