Class GoogleAdsSearchads360V23CommonPromotionAsset
A Promotion asset.
Implements
Inherited Members
Namespace: Google.Apis.SA360.v23.Data
Assembly: Google.Apis.SA360.v23.dll
Syntax
public class GoogleAdsSearchads360V23CommonPromotionAsset : IDirectResponseSchema
Properties
AdScheduleTargets
List of non-overlapping schedules specifying all time intervals for which the asset may serve. There can be a maximum of 6 schedules per day, 42 in total.
Declaration
[JsonProperty("adScheduleTargets")]
public virtual IList<GoogleAdsSearchads360V23CommonAdScheduleInfo> AdScheduleTargets { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<GoogleAdsSearchads360V23CommonAdScheduleInfo> |
DiscountModifier
A modifier for qualification of the discount.
Declaration
[JsonProperty("discountModifier")]
public virtual string DiscountModifier { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EndDate
Last date of when this asset is effective and still serving, in yyyy-MM-dd format.
Declaration
[JsonProperty("endDate")]
public virtual string EndDate { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LanguageCode
The language of the promotion. Represented as BCP 47 language tag.
Declaration
[JsonProperty("languageCode")]
public virtual string LanguageCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MoneyAmountOff
Money amount off for discount in the promotion. Either this or percent_off is required.
Declaration
[JsonProperty("moneyAmountOff")]
public virtual GoogleAdsSearchads360V23CommonMoney MoneyAmountOff { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleAdsSearchads360V23CommonMoney |
Occasion
The occasion the promotion was intended for. If an occasion is set, the redemption window will need to fall within the date range associated with the occasion.
Declaration
[JsonProperty("occasion")]
public virtual string Occasion { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OrdersOverAmount
The amount the total order needs to be for the user to be eligible for the promotion.
Declaration
[JsonProperty("ordersOverAmount")]
public virtual GoogleAdsSearchads360V23CommonMoney OrdersOverAmount { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleAdsSearchads360V23CommonMoney |
PercentOff
Percentage off discount in the promotion. 1,000,000 = 100%. Either this or money_amount_off is required.
Declaration
[JsonProperty("percentOff")]
public virtual long? PercentOff { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
PromotionBarcodeInfo
Barcode info used to generate promotion barcode for user to be eligible for the promotion.
Declaration
[JsonProperty("promotionBarcodeInfo")]
public virtual GoogleAdsSearchads360V23CommonPromotionBarcodeInfo PromotionBarcodeInfo { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleAdsSearchads360V23CommonPromotionBarcodeInfo |
PromotionCode
A code the user should use in order to be eligible for the promotion.
Declaration
[JsonProperty("promotionCode")]
public virtual string PromotionCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PromotionQrCodeInfo
QR code info used to generate promotion QR code for user to be eligible for the promotion.
Declaration
[JsonProperty("promotionQrCodeInfo")]
public virtual GoogleAdsSearchads360V23CommonPromotionQrCodeInfo PromotionQrCodeInfo { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleAdsSearchads360V23CommonPromotionQrCodeInfo |
PromotionTarget
Required. A freeform description of what the promotion is targeting.
Declaration
[JsonProperty("promotionTarget")]
public virtual string PromotionTarget { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RedemptionEndDate
Last date of when the promotion is eligible to be redeemed, in yyyy-MM-dd format.
Declaration
[JsonProperty("redemptionEndDate")]
public virtual string RedemptionEndDate { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RedemptionStartDate
Start date of when the promotion is eligible to be redeemed, in yyyy-MM-dd format.
Declaration
[JsonProperty("redemptionStartDate")]
public virtual string RedemptionStartDate { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
StartDate
Start date of when this asset is effective and can begin serving, in yyyy-MM-dd format.
Declaration
[JsonProperty("startDate")]
public virtual string StartDate { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TermsAndConditionsText
Terms and conditions of the promotion.
Declaration
[JsonProperty("termsAndConditionsText")]
public virtual string TermsAndConditionsText { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TermsAndConditionsUri
URI to the terms and conditions of the promotion.
Declaration
[JsonProperty("termsAndConditionsUri")]
public virtual string TermsAndConditionsUri { get; set; }
Property Value
| Type | Description |
|---|---|
| string |