Reference documentation and code samples for the Google Shopping Merchant Promotions V1 Client class ProductApplicability.
Which product or list of products the promotion applies to.
Protobuf type google.shopping.merchant.promotions.v1.ProductApplicability
Namespace
Google \ Shopping \ Merchant \ Promotions \ V1Methods
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;