# Google Shopping Css V1 Client - Class Attributes (0.8.1)

0.8.1 (latest) 0.8.0 0.7.3 0.6.2 0.5.1 0.4.1 0.3.3 0.2.9 0.1.0 Reference documentation and code samples for the Google Shopping Css V1 Client class Attributes.

Attributes for CSS Product.

Generated from protobuf message `google.shopping.css.v1.Attributes`

## Namespace

Google \\ Shopping \\ Css \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ cpp_link` | `string` URL directly linking to your the Product Detail Page of the CSS. |
| `↳ cpp_mobile_link` | `string` URL for the mobile-optimized version of the Product Detail Page of the CSS. |
| `↳ cpp_ads_redirect` | `string` Allows advertisers to override the item URL when the product is shown within the context of Product Ads. |
| `↳ low_price` | `https://docs.cloud.google.com/php/docs/reference/shopping-common-protos/latest/Type.Price.html` Low Price of the CSS Product. |
| `↳ high_price` | `https://docs.cloud.google.com/php/docs/reference/shopping-common-protos/latest/Type.Price.html` High Price of the CSS Product. |
| `↳ number_of_offers` | `int|string` The number of CSS Products. |
| `↳ headline_offer_condition` | `string` Condition of the headline offer. |
| `↳ headline_offer_price` | `https://docs.cloud.google.com/php/docs/reference/shopping-common-protos/latest/Type.Price.html` Headline Price of the CSS Product. |
| `↳ headline_offer_link` | `string` Link to the headline offer. |
| `↳ headline_offer_mobile_link` | `string` Mobile Link to the headline offer. |
| `↳ headline_offer_shipping_price` | `https://docs.cloud.google.com/php/docs/reference/shopping-common-protos/latest/Type.Price.html` Headline Price of the CSS Product. |
| `↳ title` | `string` Title of the item. |
| `↳ image_link` | `string` URL of an image of the item. |
| `↳ additional_image_links` | `string[]` Additional URL of images of the item. |
| `↳ description` | `string` Description of the item. |
| `↳ brand` | `string` Product Related Attributes.\[14-36\] Brand of the item. |
| `↳ mpn` | `string` Manufacturer Part Number ([MPN](https://support.google.com/merchants/answer/188494#mpn)) of the item. |
| `↳ gtin` | `string` Global Trade Item Number ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the item. |
| `↳ product_types` | `string[]` Categories of the item (formatted as in [products data specification](https://support.google.com/merchants/answer/6324406)). |
| `↳ google_product_category` | `string` Google's category of the item (see [Google product taxonomy](https://support.google.com/merchants/answer/1705911)). When querying products, this field will contain the user provided value. There is currently no way to get back the auto assigned google product categories through the API. |
| `↳ adult` | `bool` Set to true if the item is targeted towards adults. |
| `↳ multipack` | `int|string` The number of identical products in a merchant-defined multipack. |
| `↳ is_bundle` | `bool` Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price. |
| `↳ age_group` | `string` Target age group of the item. |
| `↳ color` | `string` Color of the item. |
| `↳ gender` | `string` Target gender of the item. |
| `↳ material` | `string` The material of which the item is made. |
| `↳ pattern` | `string` The item's pattern (e.g. polka dots). |
| `↳ size` | `string` Size of the item. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the same `itemGroupId` value (see \[https://support.google.com/merchants/answer/6324492\](size definition)). |
| `↳ size_system` | `string` System in which the size is specified. Recommended for apparel items. |
| `↳ size_types` | `string[]` The cut of the item. It can be used to represent combined size types for apparel items. Maximum two of size types can be provided (see [size type](https://support.google.com/merchants/answer/6324497). |
| `↳ item_group_id` | `string` Shared identifier for all variants of the same product. |
| `↳ product_details` | `array<https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.ProductDetail>` Technical specification or additional product details. |
| `↳ product_weight` | `https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.ProductWeight` The weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive). |
| `↳ product_length` | `https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.ProductDimension` The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive). |
| `↳ product_width` | `https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.ProductDimension` The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive). |
| `↳ product_height` | `https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.ProductDimension` The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive). |
| `↳ product_highlights` | `string[]` Bullet points describing the most relevant highlights of a product. |
| `↳ certifications` | `array<https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.Certification>` A list of certificates claimed by the CSS for the given product. |
| `↳ expiration_date` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Date on which the item should expire, as specified upon insertion, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format. The actual expiration date is exposed in `productstatuses` as [googleExpirationDate](https://support.google.com/merchants/answer/6324499) and might be earlier if `expirationDate` is too far in the future. Note: It may take 2+ days from the expiration date for the item to actually get deleted. |
| `↳ included_destinations` | `string[]` The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in `excludedDestinations`. |
| `↳ excluded_destinations` | `string[]` The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center). |
| `↳ pause` | `string` Publication of this item will be temporarily paused. |
| `↳ custom_label_0` | `string` Custom label 0 for custom grouping of items in a Shopping campaign. |
| `↳ custom_label_1` | `string` Custom label 1 for custom grouping of items in a Shopping campaign. |
| `↳ custom_label_2` | `string` Custom label 2 for custom grouping of items in a Shopping campaign. |
| `↳ custom_label_3` | `string` Custom label 3 for custom grouping of items in a Shopping campaign. |
| `↳ custom_label_4` | `string` Custom label 4 for custom grouping of items in a Shopping campaign. |
| `↳ headline_offer_installment` | `https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.HeadlineOfferInstallment` Number and amount of installments to pay for an item. |
| `↳ headline_offer_subscription_cost` | `https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.HeadlineOfferSubscriptionCost` Number of periods (months or years) and amount of payment per period for an item with an associated subscription contract. |
| `↳ review_count` | `int|string` Number of reviews of the product. Required if [`rating`](https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.Attributes#_Google_Shopping_Css_V1_Attributes__getRating__) is provided. This field is for an upcoming feature and is not yet used. |
| `↳ min_rating` | `int|string` Minimum rating score of the product. Required if [`rating`](https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.Attributes#_Google_Shopping_Css_V1_Attributes__getRating__) is provided. This field is for an upcoming feature and is not yet used. |
| `↳ max_rating` | `int|string` Maximum rating score of the product. Required if [`rating`](https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.Attributes#_Google_Shopping_Css_V1_Attributes__getRating__) is provided. This field is for an upcoming feature and is not yet used. |
| `↳ rating` | `float` Average rating score of the product. The value must be within the range of \[`min_rating`, `max_rating`\], inclusive. When displayed on the product page, this rating is normalized to a scale of \[1, 5\] with one decimal place. If provided, [`review_count`](https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.Attributes#_Google_Shopping_Css_V1_Attributes__getReviewCount__), [`min_rating`](https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.Attributes#_Google_Shopping_Css_V1_Attributes__getMinRating__), and [`max_rating`](https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.Attributes#_Google_Shopping_Css_V1_Attributes__getMaxRating__) are also required. This field is for an upcoming feature and is not yet used. |

### getCppLink

URL directly linking to your the Product Detail Page of the CSS.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasCppLink

### clearCppLink

### setCppLink

URL directly linking to your the Product Detail Page of the CSS.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCppMobileLink

URL for the mobile-optimized version of the Product Detail Page of the CSS.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasCppMobileLink

### clearCppMobileLink

### setCppMobileLink

URL for the mobile-optimized version of the Product Detail Page of the CSS.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCppAdsRedirect

Allows advertisers to override the item URL when the product is shown
within the context of Product Ads.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasCppAdsRedirect

### clearCppAdsRedirect

### setCppAdsRedirect

Allows advertisers to override the item URL when the product is shown
within the context of Product Ads.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getLowPrice

Low Price of the CSS Product.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/shopping-common-protos/latest/Type.Price.html|null` |   |

### hasLowPrice

### clearLowPrice

### setLowPrice

Low Price of the CSS Product.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/shopping-common-protos/latest/Type.Price.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getHighPrice

High Price of the CSS Product.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/shopping-common-protos/latest/Type.Price.html|null` |   |

### hasHighPrice

### clearHighPrice

### setHighPrice

High Price of the CSS Product.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/shopping-common-protos/latest/Type.Price.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getNumberOfOffers

The number of CSS Products.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### hasNumberOfOffers

### clearNumberOfOffers

### setNumberOfOffers

The number of CSS Products.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getHeadlineOfferCondition

Condition of the headline offer.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasHeadlineOfferCondition

### clearHeadlineOfferCondition

### setHeadlineOfferCondition

Condition of the headline offer.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getHeadlineOfferPrice

Headline Price of the CSS Product.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/shopping-common-protos/latest/Type.Price.html|null` |   |

### hasHeadlineOfferPrice

### clearHeadlineOfferPrice

### setHeadlineOfferPrice

Headline Price of the CSS Product.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/shopping-common-protos/latest/Type.Price.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getHeadlineOfferLink

Link to the headline offer.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasHeadlineOfferLink

### clearHeadlineOfferLink

### setHeadlineOfferLink

Link to the headline offer.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getHeadlineOfferMobileLink

Mobile Link to the headline offer.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasHeadlineOfferMobileLink

### clearHeadlineOfferMobileLink

### setHeadlineOfferMobileLink

Mobile Link to the headline offer.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getHeadlineOfferShippingPrice

Headline Price of the CSS Product.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/shopping-common-protos/latest/Type.Price.html|null` |   |

### hasHeadlineOfferShippingPrice

### clearHeadlineOfferShippingPrice

### setHeadlineOfferShippingPrice

Headline Price of the CSS Product.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/shopping-common-protos/latest/Type.Price.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getTitle

Title of the item.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasTitle

### clearTitle

### setTitle

Title of the item.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getImageLink

URL of an image of the item.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasImageLink

### clearImageLink

### setImageLink

URL of an image of the item.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAdditionalImageLinks

Additional URL of images of the item.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setAdditionalImageLinks

Additional URL of images of the item.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDescription

Description of the item.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasDescription

### clearDescription

### setDescription

Description of the item.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getBrand

Product Related Attributes.\[14-36\]
Brand of the item.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasBrand

### clearBrand

### setBrand

Product Related Attributes.\[14-36\]
Brand of the item.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getMpn

Manufacturer Part Number
([MPN](https://support.google.com/merchants/answer/188494#mpn)) of the
item.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasMpn

### clearMpn

### setMpn

Manufacturer Part Number
([MPN](https://support.google.com/merchants/answer/188494#mpn)) of the
item.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getGtin

Global Trade Item Number
([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the
item.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasGtin

### clearGtin

### setGtin

Global Trade Item Number
([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the
item.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getProductTypes

Categories of the item (formatted as in [products data
specification](https://support.google.com/merchants/answer/6324406)).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setProductTypes

Categories of the item (formatted as in [products data
specification](https://support.google.com/merchants/answer/6324406)).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getGoogleProductCategory

Google's category of the item (see [Google product
taxonomy](https://support.google.com/merchants/answer/1705911)). When
querying products, this field will contain the user provided value. There
is currently no way to get back the auto assigned google product
categories through the API.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasGoogleProductCategory

### clearGoogleProductCategory

### setGoogleProductCategory

Google's category of the item (see [Google product
taxonomy](https://support.google.com/merchants/answer/1705911)). When
querying products, this field will contain the user provided value. There
is currently no way to get back the auto assigned google product
categories through the API.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAdult

Set to true if the item is targeted towards adults.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasAdult

### clearAdult

### setAdult

Set to true if the item is targeted towards adults.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getMultipack

The number of identical products in a merchant-defined multipack.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### hasMultipack

### clearMultipack

### setMultipack

The number of identical products in a merchant-defined multipack.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getIsBundle

Whether the item is a merchant-defined bundle. A bundle is a custom
grouping of different products sold by a merchant for a single price.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasIsBundle

### clearIsBundle

### setIsBundle

Whether the item is a merchant-defined bundle. A bundle is a custom
grouping of different products sold by a merchant for a single price.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAgeGroup

Target age group of the item.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasAgeGroup

### clearAgeGroup

### setAgeGroup

Target age group of the item.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getColor

Color of the item.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasColor

### clearColor

### setColor

Color of the item.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getGender

Target gender of the item.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasGender

### clearGender

### setGender

Target gender of the item.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getMaterial

The material of which the item is made.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasMaterial

### clearMaterial

### setMaterial

The material of which the item is made.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPattern

The item's pattern (e.g. polka dots).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasPattern

### clearPattern

### setPattern

The item's pattern (e.g. polka dots).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSize

Size of the item. Only one value is allowed. For variants with different
sizes, insert a separate product for each size with the same
`itemGroupId` value (see
\[https://support.google.com/merchants/answer/6324492\](size definition)).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasSize

### clearSize

### setSize

Size of the item. Only one value is allowed. For variants with different
sizes, insert a separate product for each size with the same
`itemGroupId` value (see
\[https://support.google.com/merchants/answer/6324492\](size definition)).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSizeSystem

System in which the size is specified. Recommended for apparel items.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasSizeSystem

### clearSizeSystem

### setSizeSystem

System in which the size is specified. Recommended for apparel items.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSizeTypes

The cut of the item. It can be used to represent combined size types for
apparel items. Maximum two of size types can be provided (see
[size type](https://support.google.com/merchants/answer/6324497).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setSizeTypes

The cut of the item. It can be used to represent combined size types for
apparel items. Maximum two of size types can be provided (see
[size type](https://support.google.com/merchants/answer/6324497).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getItemGroupId

Shared identifier for all variants of the same product.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasItemGroupId

### clearItemGroupId

### setItemGroupId

Shared identifier for all variants of the same product.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getProductDetails

Technical specification or additional product details.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.ProductDetail>` |   |

### setProductDetails

Technical specification or additional product details.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.ProductDetail>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getProductWeight

The weight of the product in the units provided. The value must be
between 0 (exclusive) and 2000 (inclusive).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.ProductWeight|null` |   |

### hasProductWeight

### clearProductWeight

### setProductWeight

The weight of the product in the units provided. The value must be
between 0 (exclusive) and 2000 (inclusive).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.ProductWeight` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getProductLength

The length of the product in the units provided. The value must be
between 0 (exclusive) and 3000 (inclusive).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.ProductDimension|null` |   |

### hasProductLength

### clearProductLength

### setProductLength

The length of the product in the units provided. The value must be
between 0 (exclusive) and 3000 (inclusive).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.ProductDimension` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getProductWidth

The width of the product in the units provided. The value must be between
0 (exclusive) and 3000 (inclusive).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.ProductDimension|null` |   |

### hasProductWidth

### clearProductWidth

### setProductWidth

The width of the product in the units provided. The value must be between
0 (exclusive) and 3000 (inclusive).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.ProductDimension` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getProductHeight

The height of the product in the units provided. The value must be
between
0 (exclusive) and 3000 (inclusive).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.ProductDimension|null` |   |

### hasProductHeight

### clearProductHeight

### setProductHeight

The height of the product in the units provided. The value must be
between
0 (exclusive) and 3000 (inclusive).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.ProductDimension` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getProductHighlights

Bullet points describing the most relevant highlights of a product.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setProductHighlights

Bullet points describing the most relevant highlights of a product.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCertifications

A list of certificates claimed by the CSS for the given product.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.Certification>` |   |

### setCertifications

A list of certificates claimed by the CSS for the given product.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.Certification>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getExpirationDate

Date on which the item should expire, as specified upon insertion, in
[ISO
8601](http://en.wikipedia.org/wiki/ISO_8601) format. The actual
expiration date is exposed in `productstatuses` as
[googleExpirationDate](https://support.google.com/merchants/answer/6324499)
and might be earlier if `expirationDate` is too far in the future.

Note: It may take 2+ days from the expiration date for the item to
actually get deleted.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasExpirationDate

### clearExpirationDate

### setExpirationDate

Date on which the item should expire, as specified upon insertion, in
[ISO
8601](http://en.wikipedia.org/wiki/ISO_8601) format. The actual
expiration date is exposed in `productstatuses` as
[googleExpirationDate](https://support.google.com/merchants/answer/6324499)
and might be earlier if `expirationDate` is too far in the future.

Note: It may take 2+ days from the expiration date for the item to
actually get deleted.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getIncludedDestinations

The list of destinations to include for this target (corresponds to
checked check boxes in Merchant Center). Default destinations are always
included unless provided in `excludedDestinations`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setIncludedDestinations

The list of destinations to include for this target (corresponds to
checked check boxes in Merchant Center). Default destinations are always
included unless provided in `excludedDestinations`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getExcludedDestinations

The list of destinations to exclude for this target (corresponds to
unchecked check boxes in Merchant Center).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setExcludedDestinations

The list of destinations to exclude for this target (corresponds to
unchecked check boxes in Merchant Center).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPause

Publication of this item will be temporarily paused.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasPause

### clearPause

### setPause

Publication of this item will be temporarily paused.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCustomLabel0

Custom label 0 for custom grouping of items in a Shopping campaign.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasCustomLabel0

### clearCustomLabel0

### setCustomLabel0

Custom label 0 for custom grouping of items in a Shopping campaign.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCustomLabel1

Custom label 1 for custom grouping of items in a Shopping campaign.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasCustomLabel1

### clearCustomLabel1

### setCustomLabel1

Custom label 1 for custom grouping of items in a Shopping campaign.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCustomLabel2

Custom label 2 for custom grouping of items in a Shopping campaign.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasCustomLabel2

### clearCustomLabel2

### setCustomLabel2

Custom label 2 for custom grouping of items in a Shopping campaign.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCustomLabel3

Custom label 3 for custom grouping of items in a Shopping campaign.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasCustomLabel3

### clearCustomLabel3

### setCustomLabel3

Custom label 3 for custom grouping of items in a Shopping campaign.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCustomLabel4

Custom label 4 for custom grouping of items in a Shopping campaign.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasCustomLabel4

### clearCustomLabel4

### setCustomLabel4

Custom label 4 for custom grouping of items in a Shopping campaign.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getHeadlineOfferInstallment

Number and amount of installments to pay for an item.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.HeadlineOfferInstallment|null` |   |

### hasHeadlineOfferInstallment

### clearHeadlineOfferInstallment

### setHeadlineOfferInstallment

Number and amount of installments to pay for an item.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.HeadlineOfferInstallment` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getHeadlineOfferSubscriptionCost

Number of periods (months or years) and amount of payment per period
for an item with an associated subscription contract.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.HeadlineOfferSubscriptionCost|null` |   |

### hasHeadlineOfferSubscriptionCost

### clearHeadlineOfferSubscriptionCost

### setHeadlineOfferSubscriptionCost

Number of periods (months or years) and amount of payment per period
for an item with an associated subscription contract.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.HeadlineOfferSubscriptionCost` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getReviewCount

Number of reviews of the product. Required if
[`rating`](https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.Attributes#_Google_Shopping_Css_V1_Attributes__getRating__) is provided.

This field is for an upcoming feature and is not yet used.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### hasReviewCount

### clearReviewCount

### setReviewCount

Number of reviews of the product. Required if
[`rating`](https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.Attributes#_Google_Shopping_Css_V1_Attributes__getRating__) is provided.

This field is for an upcoming feature and is not yet used.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getMinRating

Minimum rating score of the product. Required if
[`rating`](https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.Attributes#_Google_Shopping_Css_V1_Attributes__getRating__) is provided.

This field is for an upcoming feature and is not yet used.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### hasMinRating

### clearMinRating

### setMinRating

Minimum rating score of the product. Required if
[`rating`](https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.Attributes#_Google_Shopping_Css_V1_Attributes__getRating__) is provided.

This field is for an upcoming feature and is not yet used.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getMaxRating

Maximum rating score of the product. Required if
[`rating`](https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.Attributes#_Google_Shopping_Css_V1_Attributes__getRating__) is provided.

This field is for an upcoming feature and is not yet used.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### hasMaxRating

### clearMaxRating

### setMaxRating

Maximum rating score of the product. Required if
[`rating`](https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.Attributes#_Google_Shopping_Css_V1_Attributes__getRating__) is provided.

This field is for an upcoming feature and is not yet used.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getRating

Average rating score of the product. The value must be within the
range of \[`min_rating`, `max_rating`\], inclusive. When displayed on the
product page, this rating is normalized to a scale of \[1, 5\] with one
decimal place. If provided,
[`review_count`](https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.Attributes#_Google_Shopping_Css_V1_Attributes__getReviewCount__),
[`min_rating`](https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.Attributes#_Google_Shopping_Css_V1_Attributes__getMinRating__), and
[`max_rating`](https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.Attributes#_Google_Shopping_Css_V1_Attributes__getMaxRating__) are also
required. This field is for an upcoming feature and is not yet used.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `float` |   |

### hasRating

### clearRating

### setRating

Average rating score of the product. The value must be within the
range of \[`min_rating`, `max_rating`\], inclusive. When displayed on the
product page, this rating is normalized to a scale of \[1, 5\] with one
decimal place. If provided,
[`review_count`](https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.Attributes#_Google_Shopping_Css_V1_Attributes__getReviewCount__),
[`min_rating`](https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.Attributes#_Google_Shopping_Css_V1_Attributes__getMinRating__), and
[`max_rating`](https://docs.cloud.google.com/php/docs/reference/shopping-css/latest/V1.Attributes#_Google_Shopping_Css_V1_Attributes__getMaxRating__) are also
required. This field is for an upcoming feature and is not yet used.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `float` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |