public class PromotionFeedItem extends ExtensionFeedItem
Java class for PromotionFeedItem complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PromotionFeedItem">
<complexContent>
<extension base="{https://adwords.google.com/api/adwords/cm/v201809}ExtensionFeedItem">
<sequence>
<element name="promotionTarget" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="discountModifier" type="{https://adwords.google.com/api/adwords/cm/v201809}PromotionExtensionDiscountModifier" minOccurs="0"/>
<element name="percentOff" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="moneyAmountOff" type="{https://adwords.google.com/api/adwords/cm/v201809}MoneyWithCurrency" minOccurs="0"/>
<element name="promotionCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ordersOverAmount" type="{https://adwords.google.com/api/adwords/cm/v201809}MoneyWithCurrency" minOccurs="0"/>
<element name="promotionStart" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="promotionEnd" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="occasion" type="{https://adwords.google.com/api/adwords/cm/v201809}PromotionExtensionOccasion" minOccurs="0"/>
<element name="finalUrls" type="{https://adwords.google.com/api/adwords/cm/v201809}UrlList" minOccurs="0"/>
<element name="finalMobileUrls" type="{https://adwords.google.com/api/adwords/cm/v201809}UrlList" minOccurs="0"/>
<element name="trackingUrlTemplate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="finalUrlSuffix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="promotionUrlCustomParameters" type="{https://adwords.google.com/api/adwords/cm/v201809}CustomParameters" minOccurs="0"/>
<element name="language" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected PromotionExtensionDiscountModifier |
discountModifier |
protected UrlList |
finalMobileUrls |
protected UrlList |
finalUrls |
protected String |
finalUrlSuffix |
protected String |
language |
protected MoneyWithCurrency |
moneyAmountOff |
protected PromotionExtensionOccasion |
occasion |
protected MoneyWithCurrency |
ordersOverAmount |
protected Long |
percentOff |
protected String |
promotionCode |
protected String |
promotionEnd |
protected String |
promotionStart |
protected String |
promotionTarget |
protected CustomParameters |
promotionUrlCustomParameters |
protected String |
trackingUrlTemplate |
adGroupTargeting, campaignTargeting, devicePreference, endTime, extensionFeedItemType, feedId, feedItemId, feedType, geoTargeting, geoTargetingRestriction, keywordTargeting, policySummaries, scheduling, startTime, status| Constructor and Description |
|---|
PromotionFeedItem() |
| Modifier and Type | Method and Description |
|---|---|
PromotionExtensionDiscountModifier |
getDiscountModifier()
Gets the value of the discountModifier property.
|
UrlList |
getFinalMobileUrls()
Gets the value of the finalMobileUrls property.
|
UrlList |
getFinalUrls()
Gets the value of the finalUrls property.
|
String |
getFinalUrlSuffix()
Gets the value of the finalUrlSuffix property.
|
String |
getLanguage()
Gets the value of the language property.
|
MoneyWithCurrency |
getMoneyAmountOff()
Gets the value of the moneyAmountOff property.
|
PromotionExtensionOccasion |
getOccasion()
Gets the value of the occasion property.
|
MoneyWithCurrency |
getOrdersOverAmount()
Gets the value of the ordersOverAmount property.
|
Long |
getPercentOff()
Gets the value of the percentOff property.
|
String |
getPromotionCode()
Gets the value of the promotionCode property.
|
String |
getPromotionEnd()
Gets the value of the promotionEnd property.
|
String |
getPromotionStart()
Gets the value of the promotionStart property.
|
String |
getPromotionTarget()
Gets the value of the promotionTarget property.
|
CustomParameters |
getPromotionUrlCustomParameters()
Gets the value of the promotionUrlCustomParameters property.
|
String |
getTrackingUrlTemplate()
Gets the value of the trackingUrlTemplate property.
|
void |
setDiscountModifier(PromotionExtensionDiscountModifier value)
Sets the value of the discountModifier property.
|
void |
setFinalMobileUrls(UrlList value)
Sets the value of the finalMobileUrls property.
|
void |
setFinalUrls(UrlList value)
Sets the value of the finalUrls property.
|
void |
setFinalUrlSuffix(String value)
Sets the value of the finalUrlSuffix property.
|
void |
setLanguage(String value)
Sets the value of the language property.
|
void |
setMoneyAmountOff(MoneyWithCurrency value)
Sets the value of the moneyAmountOff property.
|
void |
setOccasion(PromotionExtensionOccasion value)
Sets the value of the occasion property.
|
void |
setOrdersOverAmount(MoneyWithCurrency value)
Sets the value of the ordersOverAmount property.
|
void |
setPercentOff(Long value)
Sets the value of the percentOff property.
|
void |
setPromotionCode(String value)
Sets the value of the promotionCode property.
|
void |
setPromotionEnd(String value)
Sets the value of the promotionEnd property.
|
void |
setPromotionStart(String value)
Sets the value of the promotionStart property.
|
void |
setPromotionTarget(String value)
Sets the value of the promotionTarget property.
|
void |
setPromotionUrlCustomParameters(CustomParameters value)
Sets the value of the promotionUrlCustomParameters property.
|
void |
setTrackingUrlTemplate(String value)
Sets the value of the trackingUrlTemplate 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, setStatusprotected String promotionTarget
protected PromotionExtensionDiscountModifier discountModifier
protected Long percentOff
protected MoneyWithCurrency moneyAmountOff
protected String promotionCode
protected MoneyWithCurrency ordersOverAmount
protected String promotionStart
protected String promotionEnd
protected PromotionExtensionOccasion occasion
protected UrlList finalUrls
protected UrlList finalMobileUrls
protected String trackingUrlTemplate
protected String finalUrlSuffix
protected CustomParameters promotionUrlCustomParameters
protected String language
public String getPromotionTarget()
Stringpublic void setPromotionTarget(String value)
value - allowed object is
Stringpublic PromotionExtensionDiscountModifier getDiscountModifier()
PromotionExtensionDiscountModifierpublic void setDiscountModifier(PromotionExtensionDiscountModifier value)
value - allowed object is
PromotionExtensionDiscountModifierpublic Long getPercentOff()
Longpublic void setPercentOff(Long value)
value - allowed object is
Longpublic MoneyWithCurrency getMoneyAmountOff()
MoneyWithCurrencypublic void setMoneyAmountOff(MoneyWithCurrency value)
value - allowed object is
MoneyWithCurrencypublic String getPromotionCode()
Stringpublic void setPromotionCode(String value)
value - allowed object is
Stringpublic MoneyWithCurrency getOrdersOverAmount()
MoneyWithCurrencypublic void setOrdersOverAmount(MoneyWithCurrency value)
value - allowed object is
MoneyWithCurrencypublic String getPromotionStart()
Stringpublic void setPromotionStart(String value)
value - allowed object is
Stringpublic String getPromotionEnd()
Stringpublic void setPromotionEnd(String value)
value - allowed object is
Stringpublic PromotionExtensionOccasion getOccasion()
PromotionExtensionOccasionpublic void setOccasion(PromotionExtensionOccasion value)
value - allowed object is
PromotionExtensionOccasionpublic UrlList getFinalUrls()
UrlListpublic void setFinalUrls(UrlList value)
value - allowed object is
UrlListpublic UrlList getFinalMobileUrls()
UrlListpublic void setFinalMobileUrls(UrlList value)
value - allowed object is
UrlListpublic String getTrackingUrlTemplate()
Stringpublic void setTrackingUrlTemplate(String value)
value - allowed object is
Stringpublic String getFinalUrlSuffix()
Stringpublic void setFinalUrlSuffix(String value)
value - allowed object is
Stringpublic CustomParameters getPromotionUrlCustomParameters()
CustomParameterspublic void setPromotionUrlCustomParameters(CustomParameters value)
value - allowed object is
CustomParameterspublic String getLanguage()
StringCopyright © 2023. All rights reserved.