Reference documentation and code samples for the Google Shopping Merchant Promotions V1beta Client class StoreApplicability.
Store codes or list of store codes the promotion applies to. Only for Local inventory ads promotions.
Protobuf type google.shopping.merchant.promotions.v1beta.StoreApplicability
Namespace
Google \ Shopping \ Merchant \ Promotions \ V1betaMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
STORE_APPLICABILITY_UNSPECIFIED
Value: 0
Which store codes the promotion applies to is unknown.
Generated from protobuf enum STORE_APPLICABILITY_UNSPECIFIED = 0;
ALL_STORES
Value: 1
Promotion applies to all stores.
Generated from protobuf enum ALL_STORES = 1;
SPECIFIC_STORES
Value: 2
Promotion applies to only the specified stores.
Generated from protobuf enum SPECIFIC_STORES = 2;