Reference documentation and code samples for the Google Shopping Merchant Promotions V1 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.v1.StoreApplicability
Namespace
Google \ Shopping \ Merchant \ Promotions \ V1Methods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
STORE_APPLICABILITY_UNSPECIFIED
Value: 0Which store codes the promotion applies to is unknown.
Generated from protobuf enum STORE_APPLICABILITY_UNSPECIFIED = 0;
ALL_STORES
Value: 1Promotion applies to all stores.
Generated from protobuf enum ALL_STORES = 1;
SPECIFIC_STORES
Value: 2Promotion applies to only the specified stores.
Generated from protobuf enum SPECIFIC_STORES = 2;