public class PromotionAdExtension extends AdExtension
Java class for PromotionAdExtension complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PromotionAdExtension">
<complexContent>
<extension base="{https://bingads.microsoft.com/CampaignManagement/v13}AdExtension">
<sequence>
<element name="CurrencyCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="DiscountModifier" type="{https://bingads.microsoft.com/CampaignManagement/v13}PromotionDiscountModifier" minOccurs="0"/>
<element name="FinalAppUrls" type="{https://bingads.microsoft.com/CampaignManagement/v13}ArrayOfAppUrl" minOccurs="0"/>
<element name="FinalMobileUrls" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfstring" minOccurs="0"/>
<element name="FinalUrlSuffix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="FinalUrls" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfstring" minOccurs="0"/>
<element name="Language" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="MoneyAmountOff" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
<element name="OrdersOverAmount" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
<element name="PercentOff" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
<element name="PromotionCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="PromotionEndDate" type="{https://bingads.microsoft.com/CampaignManagement/v13}Date" minOccurs="0"/>
<element name="PromotionItem" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="PromotionOccasion" type="{https://bingads.microsoft.com/CampaignManagement/v13}PromotionOccasion" minOccurs="0"/>
<element name="PromotionStartDate" type="{https://bingads.microsoft.com/CampaignManagement/v13}Date" minOccurs="0"/>
<element name="TrackingUrlTemplate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="UrlCustomParameters" type="{https://bingads.microsoft.com/CampaignManagement/v13}CustomParameters" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
currencyCode |
protected PromotionDiscountModifier |
discountModifier |
protected ArrayOfAppUrl |
finalAppUrls |
protected ArrayOfstring |
finalMobileUrls |
protected ArrayOfstring |
finalUrls |
protected String |
finalUrlSuffix |
protected String |
language |
protected Double |
moneyAmountOff |
protected Double |
ordersOverAmount |
protected Double |
percentOff |
protected String |
promotionCode |
protected Date |
promotionEndDate |
protected String |
promotionItem |
protected PromotionOccasion |
promotionOccasion |
protected Date |
promotionStartDate |
protected String |
trackingUrlTemplate |
protected CustomParameters |
urlCustomParameters |
devicePreference, forwardCompatibilityMap, id, scheduling, status, type, version| Constructor and Description |
|---|
PromotionAdExtension() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCurrencyCode()
Gets the value of the currencyCode property.
|
PromotionDiscountModifier |
getDiscountModifier()
Gets the value of the discountModifier property.
|
ArrayOfAppUrl |
getFinalAppUrls()
Gets the value of the finalAppUrls property.
|
ArrayOfstring |
getFinalMobileUrls()
Gets the value of the finalMobileUrls property.
|
ArrayOfstring |
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.
|
Double |
getMoneyAmountOff()
Gets the value of the moneyAmountOff property.
|
Double |
getOrdersOverAmount()
Gets the value of the ordersOverAmount property.
|
Double |
getPercentOff()
Gets the value of the percentOff property.
|
String |
getPromotionCode()
Gets the value of the promotionCode property.
|
Date |
getPromotionEndDate()
Gets the value of the promotionEndDate property.
|
String |
getPromotionItem()
Gets the value of the promotionItem property.
|
PromotionOccasion |
getPromotionOccasion()
Gets the value of the promotionOccasion property.
|
Date |
getPromotionStartDate()
Gets the value of the promotionStartDate property.
|
String |
getTrackingUrlTemplate()
Gets the value of the trackingUrlTemplate property.
|
CustomParameters |
getUrlCustomParameters()
Gets the value of the urlCustomParameters property.
|
void |
setCurrencyCode(String value)
Sets the value of the currencyCode property.
|
void |
setDiscountModifier(PromotionDiscountModifier value)
Sets the value of the discountModifier property.
|
void |
setFinalAppUrls(ArrayOfAppUrl value)
Sets the value of the finalAppUrls property.
|
void |
setFinalMobileUrls(ArrayOfstring value)
Sets the value of the finalMobileUrls property.
|
void |
setFinalUrls(ArrayOfstring 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(Double value)
Sets the value of the moneyAmountOff property.
|
void |
setOrdersOverAmount(Double value)
Sets the value of the ordersOverAmount property.
|
void |
setPercentOff(Double value)
Sets the value of the percentOff property.
|
void |
setPromotionCode(String value)
Sets the value of the promotionCode property.
|
void |
setPromotionEndDate(Date value)
Sets the value of the promotionEndDate property.
|
void |
setPromotionItem(String value)
Sets the value of the promotionItem property.
|
void |
setPromotionOccasion(PromotionOccasion value)
Sets the value of the promotionOccasion property.
|
void |
setPromotionStartDate(Date value)
Sets the value of the promotionStartDate property.
|
void |
setTrackingUrlTemplate(String value)
Sets the value of the trackingUrlTemplate property.
|
void |
setUrlCustomParameters(CustomParameters value)
Sets the value of the urlCustomParameters property.
|
getDevicePreference, getForwardCompatibilityMap, getId, getScheduling, getStatus, getType, getVersion, setDevicePreference, setForwardCompatibilityMap, setId, setScheduling, setStatus, setType, setVersionprotected String currencyCode
protected PromotionDiscountModifier discountModifier
protected ArrayOfAppUrl finalAppUrls
protected ArrayOfstring finalMobileUrls
protected String finalUrlSuffix
protected ArrayOfstring finalUrls
protected String language
protected Double moneyAmountOff
protected Double ordersOverAmount
protected Double percentOff
protected String promotionCode
protected Date promotionEndDate
protected String promotionItem
protected PromotionOccasion promotionOccasion
protected Date promotionStartDate
protected String trackingUrlTemplate
protected CustomParameters urlCustomParameters
public String getCurrencyCode()
Stringpublic void setCurrencyCode(String value)
value - allowed object is
Stringpublic PromotionDiscountModifier getDiscountModifier()
PromotionDiscountModifierpublic void setDiscountModifier(PromotionDiscountModifier value)
value - allowed object is
PromotionDiscountModifierpublic ArrayOfAppUrl getFinalAppUrls()
ArrayOfAppUrlpublic void setFinalAppUrls(ArrayOfAppUrl value)
value - allowed object is
ArrayOfAppUrlpublic ArrayOfstring getFinalMobileUrls()
ArrayOfstringpublic void setFinalMobileUrls(ArrayOfstring value)
value - allowed object is
ArrayOfstringpublic String getFinalUrlSuffix()
Stringpublic void setFinalUrlSuffix(String value)
value - allowed object is
Stringpublic ArrayOfstring getFinalUrls()
ArrayOfstringpublic void setFinalUrls(ArrayOfstring value)
value - allowed object is
ArrayOfstringpublic String getLanguage()
Stringpublic void setLanguage(String value)
value - allowed object is
Stringpublic Double getMoneyAmountOff()
Doublepublic void setMoneyAmountOff(Double value)
value - allowed object is
Doublepublic Double getOrdersOverAmount()
Doublepublic void setOrdersOverAmount(Double value)
value - allowed object is
Doublepublic Double getPercentOff()
Doublepublic void setPercentOff(Double value)
value - allowed object is
Doublepublic String getPromotionCode()
Stringpublic void setPromotionCode(String value)
value - allowed object is
Stringpublic Date getPromotionEndDate()
Datepublic void setPromotionEndDate(Date value)
value - allowed object is
Datepublic String getPromotionItem()
Stringpublic void setPromotionItem(String value)
value - allowed object is
Stringpublic PromotionOccasion getPromotionOccasion()
PromotionOccasionpublic void setPromotionOccasion(PromotionOccasion value)
value - allowed object is
PromotionOccasionpublic Date getPromotionStartDate()
Datepublic void setPromotionStartDate(Date value)
value - allowed object is
Datepublic String getTrackingUrlTemplate()
Stringpublic void setTrackingUrlTemplate(String value)
value - allowed object is
Stringpublic CustomParameters getUrlCustomParameters()
CustomParameterspublic void setUrlCustomParameters(CustomParameters value)
value - allowed object is
CustomParametersCopyright © 2024. All rights reserved.