Google Shopping Merchant Promotions V1beta Client - Class ProductApplicability (0.1.1)

Reference documentation and code samples for the Google Shopping Merchant Promotions V1beta Client class ProductApplicability.

Which product or list of products the promotion applies to.

Protobuf type google.shopping.merchant.promotions.v1beta.ProductApplicability

Namespace

Google \ Shopping \ Merchant \ Promotions \ V1beta

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

PRODUCT_APPLICABILITY_UNSPECIFIED

Value: 0

Which products the promotion applies to is unknown.

Generated from protobuf enum PRODUCT_APPLICABILITY_UNSPECIFIED = 0;

ALL_PRODUCTS

Value: 1

Applicable to all products.

Generated from protobuf enum ALL_PRODUCTS = 1;

SPECIFIC_PRODUCTS

Value: 2

Applicable to only a single product or list of products.

Generated from protobuf enum SPECIFIC_PRODUCTS = 2;