storeApplicability property

String? storeApplicability
getter/setter pair

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_code or score_code_exclusion is set to a value. Possible string values are:

  • "STORE_APPLICABILITY_UNSPECIFIED" : Which store codes the promotion applies to is unknown.
  • "ALL_STORES" : Promotion applies to all stores.
  • "SPECIFIC_STORES" : Promotion applies to only the specified stores.

Implementation

core.String? storeApplicability;