Attributes

Attributes

Attributes.

Fields
product_applicability

ProductApplicability

Optional. Applicability of the promotion to either all products or only specific products . Exactly one of product_applicability or event_applicability must be set.

event_applicability

EventApplicability

Optional. Event applicability for this promotion. When present, this field indicates you are creating a sales event and not a product promotion. Exactly one of product_applicability or event_applicability must be set.

offer_type

OfferType

Required. Type of the promotion. Use this attribute to indicate whether or not customers need a coupon code to redeem your promotion.

generic_redemption_code

string

Optional. Generic redemption code for the promotion. To be used with the offerType field and must meet the minimum requirements .

long_title

string

Required. Long title for the promotion.

coupon_value_type

CouponValueType

Required. The coupon value type attribute to signal the type of promotion that you are running. Depending on type of the selected coupon value some attributes are required .

promotion_destinations[]

DestinationEnum

Required. The list of destinations (also known as Marketing methods ) where the promotion applies to. If you don't specify a destination by including a supported value in your data source, your promotion will display in Shopping ads and free listings by default.

You may have previously submitted the following values as destinations for your products: Shopping Actions, Surfaces across Google, Local surfaces across Google. To represent these values use FREE_LISTINGS , FREE_LOCAL_LISTINGS , LOCAL_INVENTORY_ADS . For more details see Promotion destination

item_id_inclusion[]

string

Optional. Product filter by item ID for the promotion. The product filter attributes only applies when the products eligible for promotion product applicability product_applicability attribute is set to specific_products .

brand_inclusion[]

string

Optional. Product filter by brand for the promotion. The product filter attributes only applies when the products eligible for promotion product applicability product_applicability attribute is set to specific_products .

item_group_id_inclusion[]

string

Optional. Product filter by item group ID for the promotion. The product filter attributes only applies when the products eligible for promotion product applicability [product_applicability] attribute is set to specific_products .

product_type_inclusion[]

string

Optional. Product filter by product type for the promotion. The product filter attributes only applies when the products eligible for promotion product applicability product_applicability attribute is set to specific_products .

item_id_exclusion[]

string

Optional. Product filter by item ID exclusion for the promotion. The product filter attributes only applies when the products eligible for promotion product applicability product_applicability attribute is set to specific_products .

brand_exclusion[]

string

Optional. Product filter by brand exclusion for the promotion. The product filter attributes only applies when the products eligible for promotion product applicability product_applicability attribute is set to specific_products .

item_group_id_exclusion[]

string

Optional. Product filter by item group ID . The product filter attributes only applies when the products eligible for promotion product applicability product_applicability attribute is set to specific_products . exclusion for the promotion.

product_type_exclusion[]

string

Optional. Product filter by product type exclusion for the promotion. The product filter attributes only applies when the products eligible for promotion product applicability product_applicability attribute is set to specific_products .

minimum_purchase_amount

Price

Optional. Minimum purchase amount for the promotion.

minimum_purchase_quantity

int64

limit_quantity

int64

Optional. Maximum purchase quantity for the promotion.

limit_value

Price

Optional. Maximum product price for promotion.

percent_off

int64

Optional. The percentage discount offered in the promotion.

money_off_amount

Price

Optional. The money off amount offered in the promotion.

get_this_quantity_discounted

int64

Optional. The number of items discounted in the promotion. The attribute is set when couponValueType is equal to buy_m_get_n_money_off or buy_m_get_n_percent_off .

free_gift_value

Price

Optional. Free gift value for the promotion.

free_gift_description

string

Optional. Free gift description for the promotion.

free_gift_item_id

string

Optional. Free gift item ID for the promotion.

promotion_effective_time_period

Interval

Required. TimePeriod representation of the promotion's effective dates. This attribute specifies that the promotion can be tested on your online store during this time period.

promotion_display_time_period

Interval

Optional. TimePeriod representation of the promotion's display dates. This attribute specifies the date and time frame when the promotion will be live on Google.com and Shopping ads. If the display time period for promotion promotion_display_time_period attribute is not specified, the promotion effective time period promotion_effective_time_period determines the date and time frame when the promotion will be live on Google.com and Shopping ads.

store_applicability

StoreApplicability

Optional. Whether the promotion applies to all stores, or only specified stores . Local Inventory ads promotions throw an error if no store applicability is included. An INVALID_ARGUMENT error is thrown if store_applicability is set to ALL_STORES and store_codes_inclusion or score_code_exclusion is set to a value.

store_codes_inclusion[]

string

Optional. Store codes to include for the promotion. The store filter attributes only applies when the store_applicability attribute is set to specific_stores .

Store code (the store ID from your Business Profile) of the physical store the product is sold in. See the Local product inventory data specification for more information.

store_codes_exclusion[]

string

Optional. Store codes to exclude for the promotion. The store filter attributes only applies when the store_applicability attribute is set to specific_stores .

promotion_url

string

Optional. URL to the page on the merchant's site where the promotion shows. Local Inventory ads promotions throw an error if no promotion_url is included. URL is used to confirm that the promotion is valid and can be redeemed.

redemption_restriction

RedemptionRestriction

Optional. A restriction customers must meet before they can redeem the promotion.

custom_redemption_restriction

string

Optional. The custom redemption restriction for the promotion. If the redemption_restriction field is set to CUSTOM , this field must be set.

max_discount_amount

Price

Optional. The maximum monetary discount a customer can receive for the promotion. This field is only supported with the Percent off coupon value type.

google_product_categories[]

string

Optional. A list of Google product categories for this promotion. Set if EventApplicability is SPECIFIC_CATEGORIES . Up to 5 product categories can be specified.

For more details on eligible values for product categories, checkout the google_product_category attribute in the Promotion data specification .

audience

Audience

Optional. This field defines the audience a promotion will be visible to.

region_id_inclusion[]

string

Optional. A list of regions where the promotion is applicable. Must be set if audience is set to LOCATION .

min_money_off_amount

Price

Optional. Minimum money off amount for a promotion with MONEY_OFF_RANGE coupon value type. At least one of min_money_off_amount or max_money_off_amount must be present when the coupon value type is MONEY_OFF_RANGE . If neither is provided an INVALID_PROMOTION_MISSING_BENEFIT_OR_RESTRICTION error is returned.

max_money_off_amount

Price

Optional. Maximum money off amount for a promotion with MONEY_OFF_RANGE coupon value type. At least one of min_money_off_amount or max_money_off_amount must be present when the coupon value type is MONEY_OFF_RANGE . If neither is provided an INVALID_PROMOTION_MISSING_BENEFIT_OR_RESTRICTION error is returned.

min_percent_off

int64

Optional. Minimum percent off for a promotion with PERCENT_OFF_RANGE coupon value type. At least one of min_percent_off or max_percent_off must be present when the coupon value type is PERCENT_OFF_RANGE . If neither is provided an INVALID_PROMOTION_MISSING_BENEFIT_OR_RESTRICTION error is returned.

max_percent_off

int64

Optional. Maximum percent off for a promotion with PERCENT_OFF_RANGE coupon value type. At least one of min_percent_off or max_percent_off must be present when the coupon value type is PERCENT_OFF_RANGE . If neither is provided an INVALID_PROMOTION_MISSING_BENEFIT_OR_RESTRICTION error is returned.