# Google Shopping Merchant Accounts V1beta Client - Class ItemUpdatesAccountLevelSettings (1.4.1)

1.4.1 (latest) 1.4.0 1.3.1 1.2.2 1.1.0 1.0.0 0.10.0 0.9.1 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.3 0.2.0 0.1.0

> [!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 Accounts V1beta Client class ItemUpdatesAccountLevelSettings.

Settings for the Automatic Item Updates.

Generated from protobuf message `google.shopping.merchant.accounts.v1beta.AutomaticItemUpdates.ItemUpdatesAccountLevelSettings`

## Namespace

Google \\ Shopping \\ Merchant \\ Accounts \\ V1beta \\ AutomaticItemUpdates

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ allow_price_updates` | `bool` If price updates are enabled, Google always updates the active price with the crawled information. |
| `↳ allow_availability_updates` | `bool` If availability updates are enabled, any previous availability values get overwritten if Google finds an out-of-stock annotation on the offer's page. If additionally `allow_strict_availability_updates` field is set to true, values get overwritten if Google finds an in-stock annotation on the offer's page. |
| `↳ allow_strict_availability_updates` | `bool` If `allow_availability_updates` is enabled, items are automatically updated in all your Shopping target countries. By default, availability updates will only be applied to items that are 'out of stock' on your website but 'in stock' on Shopping. Set this to true to also update items that are 'in stock' on your website, but 'out of stock' on Google Shopping. In order for this field to have an effect, you must also set `allow_availability_updates`. |
| `↳ allow_condition_updates` | `bool` If condition updates are enabled, Google always updates item condition with the condition detected from the details of your product. |

### getAllowPriceUpdates

If price updates are enabled, Google always updates the active price with
the crawled information.

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

### hasAllowPriceUpdates

### clearAllowPriceUpdates

### setAllowPriceUpdates

If price updates are enabled, Google always updates the active price with
the crawled information.

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

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

### getAllowAvailabilityUpdates

If availability updates are enabled, any previous availability values
get overwritten if Google finds an out-of-stock annotation on the offer's
page.

If additionally `allow_strict_availability_updates` field is set to
true, values get overwritten if Google finds an in-stock annotation on
the offer's page.

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

### hasAllowAvailabilityUpdates

### clearAllowAvailabilityUpdates

### setAllowAvailabilityUpdates

If availability updates are enabled, any previous availability values
get overwritten if Google finds an out-of-stock annotation on the offer's
page.

If additionally `allow_strict_availability_updates` field is set to
true, values get overwritten if Google finds an in-stock annotation on
the offer's page.

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

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

### getAllowStrictAvailabilityUpdates

If `allow_availability_updates` is enabled, items are automatically
updated in all your Shopping target countries. By default, availability
updates will only be applied to items that are 'out of stock' on your
website but 'in stock' on Shopping. Set this to true to also update items
that are 'in stock' on your website, but 'out of stock' on Google
Shopping. In order for this field to have an effect, you must also set
`allow_availability_updates`.

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

### hasAllowStrictAvailabilityUpdates

### clearAllowStrictAvailabilityUpdates

### setAllowStrictAvailabilityUpdates

If `allow_availability_updates` is enabled, items are automatically
updated in all your Shopping target countries. By default, availability
updates will only be applied to items that are 'out of stock' on your
website but 'in stock' on Shopping. Set this to true to also update items
that are 'in stock' on your website, but 'out of stock' on Google
Shopping. In order for this field to have an effect, you must also set
`allow_availability_updates`.

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

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

### getAllowConditionUpdates

If condition updates are enabled, Google always updates item condition
with the condition detected from the details of your product.

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

### hasAllowConditionUpdates

### clearAllowConditionUpdates

### setAllowConditionUpdates

If condition updates are enabled, Google always updates item condition
with the condition detected from the details of your product.

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

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