# Google Shopping Merchant Promotions V1beta Client - Class ProductApplicability (1.2.1)

1.2.1 (latest) 1.2.0 1.1.3 1.0.0 0.3.0 0.2.1 0.1.3

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

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;`