PromotionFeedItem

Represents a Promotion extension.

Fields

discount_modifier

PromotionExtensionDiscountModifier

Enum that modifies the qualification of the discount.

occasion

PromotionExtensionOccasion

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.

final_urls[]

string

A list of possible final URLs after all cross domain redirects. This field is required.

final_mobile_urls[]

string

A list of possible final mobile URLs after all cross domain redirects.

url_custom_parameters[]

CustomParameter

A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.

promotion_target

string

A freeform description of what the promotion is targeting. This field is required.

promotion_start_date

string

Start date of when the promotion is eligible to be redeemed.

promotion_end_date

string

Last date when the promotion is eligible to be redeemed.

tracking_url_template

string

URL template for constructing a tracking URL.

final_url_suffix

string

URL template for appending params to landing page URLs served with parallel tracking.

language_code

string

The language of the promotion. Represented as BCP 47 language tag.

Union field

discount_type

discount_type. Discount type, can be percentage off or amount off. discount_type can be only one of the following:

percent_off

int64

Percentage off discount in the promotion in micros. One million is equivalent to one percent. Either this or money_off_amount is required.

money_amount_off

Money

Money amount off for discount in the promotion. Either this or percent_off is required.

Union field

promotion_trigger

promotion_trigger. Promotion trigger. Can be by promotion code or promo by eligible order amount. promotion_trigger can be only one of the following:

promotion_code

string

A code the user should use in order to be eligible for the promotion.

orders_over_amount

Money

The amount the total order needs to be for the user to be eligible for the promotion.