PromotionFeedItem

Represents a Promotion extension.

Fields

promotion_target

StringValue

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

discount_modifier

PromotionExtensionDiscountModifier

Enum that modifies the qualification of the discount.

promotion_start_date

StringValue

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

promotion_end_date

StringValue

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

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[]

StringValue

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

final_mobile_urls[]

StringValue

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

tracking_url_template

StringValue

URL template for constructing a tracking URL.

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.

final_url_suffix

StringValue

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

language_code

StringValue

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

Int64Value

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

StringValue

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.