Package | Description |
---|---|
com.google.api.services.content | |
com.google.api.services.content.model |
Modifier and Type | Method and Description |
---|---|
ShoppingContent.Promotions.Create |
ShoppingContent.Promotions.create(Long merchantId,
Promotion content)
Inserts a promotion for your Merchant Center account.
|
Constructor and Description |
---|
Create(Long merchantId,
Promotion content)
Inserts a promotion for your Merchant Center account.
|
Modifier and Type | Method and Description |
---|---|
Promotion |
Promotion.clone() |
Promotion |
Promotion.set(String fieldName,
Object value) |
Promotion |
Promotion.setBrand(List<String> brand)
Product filter by brand for the promotion.
|
Promotion |
Promotion.setBrandExclusion(List<String> brandExclusion)
Product filter by brand exclusion for the promotion.
|
Promotion |
Promotion.setContentLanguage(String contentLanguage)
Required.
|
Promotion |
Promotion.setCouponValueType(String couponValueType)
Required.
|
Promotion |
Promotion.setFreeGiftDescription(String freeGiftDescription)
Free gift description for the promotion.
|
Promotion |
Promotion.setFreeGiftItemId(String freeGiftItemId)
Free gift item ID for the promotion.
|
Promotion |
Promotion.setFreeGiftValue(PriceAmount freeGiftValue)
Free gift value for the promotion.
|
Promotion |
Promotion.setGenericRedemptionCode(String genericRedemptionCode)
Generic redemption code for the promotion.
|
Promotion |
Promotion.setGetThisQuantityDiscounted(Integer getThisQuantityDiscounted)
The number of items discounted in the promotion.
|
Promotion |
Promotion.setId(String id)
Output only.
|
Promotion |
Promotion.setItemGroupId(List<String> itemGroupId)
Product filter by item group ID for the promotion.
|
Promotion |
Promotion.setItemGroupIdExclusion(List<String> itemGroupIdExclusion)
Product filter by item group ID exclusion for the promotion.
|
Promotion |
Promotion.setItemId(List<String> itemId)
Product filter by item ID for the promotion.
|
Promotion |
Promotion.setItemIdExclusion(List<String> itemIdExclusion)
Product filter by item ID exclusion for the promotion.
|
Promotion |
Promotion.setLimitQuantity(Integer limitQuantity)
Maximum purchase quantity for the promotion.
|
Promotion |
Promotion.setLimitValue(PriceAmount limitValue)
Maximum purchase value for the promotion.
|
Promotion |
Promotion.setLongTitle(String longTitle)
Required.
|
Promotion |
Promotion.setMinimumPurchaseAmount(PriceAmount minimumPurchaseAmount)
Minimum purchase amount for the promotion.
|
Promotion |
Promotion.setMinimumPurchaseQuantity(Integer minimumPurchaseQuantity)
Minimum purchase quantity for the promotion.
|
Promotion |
Promotion.setMoneyBudget(PriceAmount moneyBudget)
Cost cap for the promotion.
|
Promotion |
Promotion.setMoneyOffAmount(PriceAmount moneyOffAmount)
The money off amount offered in the promotion.
|
Promotion |
Promotion.setOfferType(String offerType)
Required.
|
Promotion |
Promotion.setOrderLimit(Integer orderLimit)
Order limit for the promotion.
|
Promotion |
Promotion.setPercentOff(Integer percentOff)
The percentage discount offered in the promotion.
|
Promotion |
Promotion.setProductApplicability(String productApplicability)
Required.
|
Promotion |
Promotion.setProductType(List<String> productType)
Product filter by product type for the promotion.
|
Promotion |
Promotion.setProductTypeExclusion(List<String> productTypeExclusion)
Product filter by product type exclusion for the promotion.
|
Promotion |
Promotion.setPromotionDestinationIds(List<String> promotionDestinationIds)
Destination ID for the promotion.
|
Promotion |
Promotion.setPromotionDisplayDates(String promotionDisplayDates)
String representation of the promotion display dates.
|
Promotion |
Promotion.setPromotionDisplayTimePeriod(TimePeriod promotionDisplayTimePeriod)
`TimePeriod` representation of the promotion's display dates.
|
Promotion |
Promotion.setPromotionEffectiveDates(String promotionEffectiveDates)
String representation of the promotion effective dates.
|
Promotion |
Promotion.setPromotionEffectiveTimePeriod(TimePeriod promotionEffectiveTimePeriod)
Required.
|
Promotion |
Promotion.setPromotionId(String promotionId)
Required.
|
Promotion |
Promotion.setPromotionStatus(PromotionPromotionStatus promotionStatus)
Output only.
|
Promotion |
Promotion.setPromotionUrl(String promotionUrl)
URL to the page on the merchant's site where the promotion shows.
|
Promotion |
Promotion.setRedemptionChannel(List<String> redemptionChannel)
Required.
|
Promotion |
Promotion.setShippingServiceNames(List<String> shippingServiceNames)
Shipping service names for the promotion.
|
Promotion |
Promotion.setStoreApplicability(String storeApplicability)
Whether the promotion applies to all stores, or only specified stores.
|
Promotion |
Promotion.setStoreCode(List<String> storeCode)
Store codes to include for the promotion.
|
Promotion |
Promotion.setStoreCodeExclusion(List<String> storeCodeExclusion)
Store codes to exclude for the promotion.
|
Promotion |
Promotion.setTargetCountry(String targetCountry)
Required.
|
Modifier and Type | Method and Description |
---|---|
List<Promotion> |
ListPromotionResponse.getPromotions()
List of all available promotions for the merchant.
|
Modifier and Type | Method and Description |
---|---|
ListPromotionResponse |
ListPromotionResponse.setPromotions(List<Promotion> promotions)
List of all available promotions for the merchant.
|
Copyright © 2011–2024 Google. All rights reserved.