public class Product extends Object
Proposal line items are created from products,
from which their properties are copied.
Java class for Product complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Product">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="nameSource" type="{https://www.google.com/apis/ads/publisher/v201708}ValueSourceType" minOccurs="0"/>
<element name="status" type="{https://www.google.com/apis/ads/publisher/v201708}ProductStatus" minOccurs="0"/>
<element name="productType" type="{https://www.google.com/apis/ads/publisher/v201708}ProductType" minOccurs="0"/>
<element name="productTemplateId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="notes" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="productTemplateDescription" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="lastModifiedDateTime" type="{https://www.google.com/apis/ads/publisher/v201708}DateTime" minOccurs="0"/>
<element name="rateType" type="{https://www.google.com/apis/ads/publisher/v201708}RateType" minOccurs="0"/>
<element name="roadblockingType" type="{https://www.google.com/apis/ads/publisher/v201708}RoadblockingType" minOccurs="0"/>
<element name="deliveryRateType" type="{https://www.google.com/apis/ads/publisher/v201708}DeliveryRateType" minOccurs="0"/>
<element name="creativeRotationType" type="{https://www.google.com/apis/ads/publisher/v201708}CreativeRotationType" minOccurs="0"/>
<element name="companionDeliveryOption" type="{https://www.google.com/apis/ads/publisher/v201708}CompanionDeliveryOption" minOccurs="0"/>
<element name="creativePlaceholders" type="{https://www.google.com/apis/ads/publisher/v201708}CreativePlaceholder" maxOccurs="unbounded" minOccurs="0"/>
<element name="lineItemType" type="{https://www.google.com/apis/ads/publisher/v201708}LineItemType" minOccurs="0"/>
<element name="priority" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="frequencyCaps" type="{https://www.google.com/apis/ads/publisher/v201708}FrequencyCap" maxOccurs="unbounded" minOccurs="0"/>
<element name="builtInTargeting" type="{https://www.google.com/apis/ads/publisher/v201708}Targeting" minOccurs="0"/>
<element name="customizableAttributes" type="{https://www.google.com/apis/ads/publisher/v201708}CustomizableAttributes" minOccurs="0"/>
<element name="customFieldValues" type="{https://www.google.com/apis/ads/publisher/v201708}BaseCustomFieldValue" maxOccurs="unbounded" minOccurs="0"/>
<element name="environmentType" type="{https://www.google.com/apis/ads/publisher/v201708}EnvironmentType" minOccurs="0"/>
<element name="rate" type="{https://www.google.com/apis/ads/publisher/v201708}Money" minOccurs="0"/>
<element name="productMarketplaceInfo" type="{https://www.google.com/apis/ads/publisher/v201708}ProductMarketplaceInfo" minOccurs="0"/>
<element name="videoMaxDuration" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
Product() |
| Modifier and Type | Method and Description |
|---|---|
Targeting |
getBuiltInTargeting()
Gets the value of the builtInTargeting property.
|
CompanionDeliveryOption |
getCompanionDeliveryOption()
Gets the value of the companionDeliveryOption property.
|
List<CreativePlaceholder> |
getCreativePlaceholders()
Gets the value of the creativePlaceholders property.
|
CreativeRotationType |
getCreativeRotationType()
Gets the value of the creativeRotationType property.
|
List<BaseCustomFieldValue> |
getCustomFieldValues()
Gets the value of the customFieldValues property.
|
CustomizableAttributes |
getCustomizableAttributes()
Gets the value of the customizableAttributes property.
|
DeliveryRateType |
getDeliveryRateType()
Gets the value of the deliveryRateType property.
|
EnvironmentType |
getEnvironmentType()
Gets the value of the environmentType property.
|
List<FrequencyCap> |
getFrequencyCaps()
Gets the value of the frequencyCaps property.
|
Long |
getId()
Gets the value of the id property.
|
DateTime |
getLastModifiedDateTime()
Gets the value of the lastModifiedDateTime property.
|
LineItemType |
getLineItemType()
Gets the value of the lineItemType property.
|
String |
getName()
Gets the value of the name property.
|
ValueSourceType |
getNameSource()
Gets the value of the nameSource property.
|
String |
getNotes()
Gets the value of the notes property.
|
Integer |
getPriority()
Gets the value of the priority property.
|
ProductMarketplaceInfo |
getProductMarketplaceInfo()
Gets the value of the productMarketplaceInfo property.
|
String |
getProductTemplateDescription()
Gets the value of the productTemplateDescription property.
|
Long |
getProductTemplateId()
Gets the value of the productTemplateId property.
|
ProductType |
getProductType()
Gets the value of the productType property.
|
Money |
getRate()
Gets the value of the rate property.
|
RateType |
getRateType()
Gets the value of the rateType property.
|
RoadblockingType |
getRoadblockingType()
Gets the value of the roadblockingType property.
|
ProductStatus |
getStatus()
Gets the value of the status property.
|
Long |
getVideoMaxDuration()
Gets the value of the videoMaxDuration property.
|
void |
setBuiltInTargeting(Targeting value)
Sets the value of the builtInTargeting property.
|
void |
setCompanionDeliveryOption(CompanionDeliveryOption value)
Sets the value of the companionDeliveryOption property.
|
void |
setCreativeRotationType(CreativeRotationType value)
Sets the value of the creativeRotationType property.
|
void |
setCustomizableAttributes(CustomizableAttributes value)
Sets the value of the customizableAttributes property.
|
void |
setDeliveryRateType(DeliveryRateType value)
Sets the value of the deliveryRateType property.
|
void |
setEnvironmentType(EnvironmentType value)
Sets the value of the environmentType property.
|
void |
setId(Long value)
Sets the value of the id property.
|
void |
setLastModifiedDateTime(DateTime value)
Sets the value of the lastModifiedDateTime property.
|
void |
setLineItemType(LineItemType value)
Sets the value of the lineItemType property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setNameSource(ValueSourceType value)
Sets the value of the nameSource property.
|
void |
setNotes(String value)
Sets the value of the notes property.
|
void |
setPriority(Integer value)
Sets the value of the priority property.
|
void |
setProductMarketplaceInfo(ProductMarketplaceInfo value)
Sets the value of the productMarketplaceInfo property.
|
void |
setProductTemplateDescription(String value)
Sets the value of the productTemplateDescription property.
|
void |
setProductTemplateId(Long value)
Sets the value of the productTemplateId property.
|
void |
setProductType(ProductType value)
Sets the value of the productType property.
|
void |
setRate(Money value)
Sets the value of the rate property.
|
void |
setRateType(RateType value)
Sets the value of the rateType property.
|
void |
setRoadblockingType(RoadblockingType value)
Sets the value of the roadblockingType property.
|
void |
setStatus(ProductStatus value)
Sets the value of the status property.
|
void |
setVideoMaxDuration(Long value)
Sets the value of the videoMaxDuration property.
|
protected String name
protected ValueSourceType nameSource
protected ProductStatus status
protected ProductType productType
protected Long productTemplateId
protected Long id
protected String notes
protected String productTemplateDescription
protected DateTime lastModifiedDateTime
protected RateType rateType
protected RoadblockingType roadblockingType
protected DeliveryRateType deliveryRateType
protected CreativeRotationType creativeRotationType
protected CompanionDeliveryOption companionDeliveryOption
protected List<CreativePlaceholder> creativePlaceholders
protected LineItemType lineItemType
protected Integer priority
protected List<FrequencyCap> frequencyCaps
protected Targeting builtInTargeting
protected CustomizableAttributes customizableAttributes
protected List<BaseCustomFieldValue> customFieldValues
protected EnvironmentType environmentType
protected Money rate
protected ProductMarketplaceInfo productMarketplaceInfo
protected Long videoMaxDuration
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic ValueSourceType getNameSource()
ValueSourceTypepublic void setNameSource(ValueSourceType value)
value - allowed object is
ValueSourceTypepublic ProductStatus getStatus()
ProductStatuspublic void setStatus(ProductStatus value)
value - allowed object is
ProductStatuspublic ProductType getProductType()
ProductTypepublic void setProductType(ProductType value)
value - allowed object is
ProductTypepublic Long getProductTemplateId()
Longpublic void setProductTemplateId(Long value)
value - allowed object is
Longpublic void setId(Long value)
value - allowed object is
Longpublic String getNotes()
Stringpublic void setNotes(String value)
value - allowed object is
Stringpublic String getProductTemplateDescription()
Stringpublic void setProductTemplateDescription(String value)
value - allowed object is
Stringpublic DateTime getLastModifiedDateTime()
DateTimepublic void setLastModifiedDateTime(DateTime value)
value - allowed object is
DateTimepublic RateType getRateType()
RateTypepublic void setRateType(RateType value)
value - allowed object is
RateTypepublic RoadblockingType getRoadblockingType()
RoadblockingTypepublic void setRoadblockingType(RoadblockingType value)
value - allowed object is
RoadblockingTypepublic DeliveryRateType getDeliveryRateType()
DeliveryRateTypepublic void setDeliveryRateType(DeliveryRateType value)
value - allowed object is
DeliveryRateTypepublic CreativeRotationType getCreativeRotationType()
CreativeRotationTypepublic void setCreativeRotationType(CreativeRotationType value)
value - allowed object is
CreativeRotationTypepublic CompanionDeliveryOption getCompanionDeliveryOption()
CompanionDeliveryOptionpublic void setCompanionDeliveryOption(CompanionDeliveryOption value)
value - allowed object is
CompanionDeliveryOptionpublic List<CreativePlaceholder> getCreativePlaceholders()
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 creativePlaceholders property.
For example, to add a new item, do as follows:
getCreativePlaceholders().add(newItem);
Objects of the following type(s) are allowed in the list
CreativePlaceholder
public LineItemType getLineItemType()
LineItemTypepublic void setLineItemType(LineItemType value)
value - allowed object is
LineItemTypepublic Integer getPriority()
Integerpublic void setPriority(Integer value)
value - allowed object is
Integerpublic List<FrequencyCap> getFrequencyCaps()
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 frequencyCaps property.
For example, to add a new item, do as follows:
getFrequencyCaps().add(newItem);
Objects of the following type(s) are allowed in the list
FrequencyCap
public Targeting getBuiltInTargeting()
Targetingpublic void setBuiltInTargeting(Targeting value)
value - allowed object is
Targetingpublic CustomizableAttributes getCustomizableAttributes()
CustomizableAttributespublic void setCustomizableAttributes(CustomizableAttributes value)
value - allowed object is
CustomizableAttributespublic List<BaseCustomFieldValue> getCustomFieldValues()
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 customFieldValues property.
For example, to add a new item, do as follows:
getCustomFieldValues().add(newItem);
Objects of the following type(s) are allowed in the list
BaseCustomFieldValue
public EnvironmentType getEnvironmentType()
EnvironmentTypepublic void setEnvironmentType(EnvironmentType value)
value - allowed object is
EnvironmentTypepublic Money getRate()
Moneypublic void setRate(Money value)
value - allowed object is
Moneypublic ProductMarketplaceInfo getProductMarketplaceInfo()
ProductMarketplaceInfopublic void setProductMarketplaceInfo(ProductMarketplaceInfo value)
value - allowed object is
ProductMarketplaceInfopublic Long getVideoMaxDuration()
LongCopyright © 2018. All Rights Reserved.