public class FeedMapping extends Object
For a list of feed placeholders, see https://developers.google.com/adwords/api/docs/appendix/placeholders
Java class for FeedMapping complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FeedMapping">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="feedMappingId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="feedId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="placeholderType" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="status" type="{https://adwords.google.com/api/adwords/cm/v201809}FeedMapping.Status" minOccurs="0"/>
<element name="attributeFieldMappings" type="{https://adwords.google.com/api/adwords/cm/v201809}AttributeFieldMapping" maxOccurs="unbounded" minOccurs="0"/>
<element name="criterionType" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<AttributeFieldMapping> |
attributeFieldMappings |
protected Integer |
criterionType |
protected Long |
feedId |
protected Long |
feedMappingId |
protected Integer |
placeholderType |
protected FeedMappingStatus |
status |
| Constructor and Description |
|---|
FeedMapping() |
| Modifier and Type | Method and Description |
|---|---|
List<AttributeFieldMapping> |
getAttributeFieldMappings()
Gets the value of the attributeFieldMappings property.
|
Integer |
getCriterionType()
Gets the value of the criterionType property.
|
Long |
getFeedId()
Gets the value of the feedId property.
|
Long |
getFeedMappingId()
Gets the value of the feedMappingId property.
|
Integer |
getPlaceholderType()
Gets the value of the placeholderType property.
|
FeedMappingStatus |
getStatus()
Gets the value of the status property.
|
void |
setCriterionType(Integer value)
Sets the value of the criterionType property.
|
void |
setFeedId(Long value)
Sets the value of the feedId property.
|
void |
setFeedMappingId(Long value)
Sets the value of the feedMappingId property.
|
void |
setPlaceholderType(Integer value)
Sets the value of the placeholderType property.
|
void |
setStatus(FeedMappingStatus value)
Sets the value of the status property.
|
protected Long feedMappingId
protected Long feedId
protected Integer placeholderType
protected FeedMappingStatus status
protected List<AttributeFieldMapping> attributeFieldMappings
protected Integer criterionType
public Long getFeedMappingId()
Longpublic void setFeedMappingId(Long value)
value - allowed object is
Longpublic Long getFeedId()
Longpublic void setFeedId(Long value)
value - allowed object is
Longpublic Integer getPlaceholderType()
Integerpublic void setPlaceholderType(Integer value)
value - allowed object is
Integerpublic FeedMappingStatus getStatus()
FeedMappingStatuspublic void setStatus(FeedMappingStatus value)
value - allowed object is
FeedMappingStatuspublic List<AttributeFieldMapping> getAttributeFieldMappings()
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 attributeFieldMappings property.
For example, to add a new item, do as follows:
getAttributeFieldMappings().add(newItem);
Objects of the following type(s) are allowed in the list
AttributeFieldMapping
public Integer getCriterionType()
IntegerCopyright © 2023. All rights reserved.