This page describes the types used to annotate promotional email and their associated properties. These types and properties are included in a promotional email's header as JSON-LD.
To learn more, review the Email markup getting started guide.
Organization
The Organization type lets you specify a logo to include in the promotion.
| Name | Type | Description |
|---|---|---|
logo |
ImageObject or URL | The logo that displays as an icon for the sender. Use HTTPS instead of HTTP for the URL. |
DiscountOffer
The DiscountOffer type lets you create deal
annotations
and deal cards,
which promote offer details such as a discount description, promo code,
expiration date, or offer landing page.
| Name | Type | Description |
|---|---|---|
description |
Text |
Optional for deal annotations, required for deal cards. Short text up
to 45 characters that describes a quantifiable discount, such as
20% off or Free shipping. See
best
practices for the deal badge.
|
discountCode |
Text |
Optional. An uppercase alphanumeric promo code from 4 to 20 characters,
such as 20PROMO. See
best
practices for discount codes.
|
availabilityStarts |
DateTime |
Optional. The date and time when the offer begins in
ISO
8601 format, such as 2028-08-24T18:44:37-07:00.
|
availabilityEnds |
DateTime |
Optional. The end date and time of the promotion in
ISO
8601 format, such as 2028-09-23T18:44:37-07:00. See
best
practices for expiration dates.
|
freeShippingDescription |
Text |
Optional for
deal cards. Short text up to 45 characters that highlights an
additional free shipping perk, such as Free shipping on orders
over $50. Don't combine this property with a
description that already describes free shipping.
|
offerPageUrl |
URL |
Optional. The landing page URL for the offer. Providing
offerPageUrl or merchantHomepageUrl enables a
deal card, and offerPageUrl adds a Shop now
button.
|
merchantHomepageUrl |
URL |
Optional. The merchant homepage URL when a dedicated offer landing page
is unavailable. When set without offerPageUrl, this
property adds a Visit site button to the
deal card.
|
PromotionCard
The PromotionCard type lets you include a visual preview of your promotion.
| Name | Type | Description |
|---|---|---|
image |
ImageObject or URL | Required. The image preview of the email in PNG or JPEG format. The supported aspect ratios are 4:5, 1:1, and 1.91:1. Images are center-cropped automatically. See best practices for images. For product carousels, each |
url |
URL | Required. The URL for the promotion. When users click the email's image, they are directed to this URL. |
headline |
Text | Optional. A one- or two-line description of the promotion that displays under the image. |
price |
Text | Optional. The price of the promotion. If you set a |
priceCurrency |
Text | Optional. The currency of the price in 3-letter ISO 4217 format, such as USD. Determines the currency symbol displayed with the price. |
discountValue |
Text | Optional. The amount subtracted from the For example, if the |
position |
Text | Optional. The position of the card in the carousel. |