# Google Shopping Merchant Accounts V1beta Client - Class AutomaticItemUpdates (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 AutomaticItemUpdates.

Turning on [item
updates](https://support.google.com/merchants/answer/3246284) allows
Google to automatically update items for you. When item updates are on,
Google uses the structured data markup on the website and advanced data
extractors to update the price and availability of the items. When the item
updates are off, items with mismatched data aren't shown.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ account_item_updates_settings` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-accounts/latest/V1beta.AutomaticItemUpdates.ItemUpdatesAccountLevelSettings` Optional. Determines which attributes of the items should be automatically updated. If this field is not present and provided in the update mask, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator. |
| `↳ effective_allow_price_updates` | `bool` Output only. The effective value of allow_price_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only. |
| `↳ effective_allow_availability_updates` | `bool` Output only. The effective value of allow_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only. |
| `↳ effective_allow_strict_availability_updates` | `bool` Output only. The effective value of allow_strict_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only. |
| `↳ effective_allow_condition_updates` | `bool` Output only. The effective value of allow_condition_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only. |

### getAccountItemUpdatesSettings

Optional. Determines which attributes of the items should be automatically
updated. If this field is not present and provided in the update mask, then
the settings will be deleted. If there are no settings for subaccount, they
are inherited from aggregator.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-accounts/latest/V1beta.AutomaticItemUpdates.ItemUpdatesAccountLevelSettings|null` |   |

### hasAccountItemUpdatesSettings

### clearAccountItemUpdatesSettings

### setAccountItemUpdatesSettings

Optional. Determines which attributes of the items should be automatically
updated. If this field is not present and provided in the update mask, then
the settings will be deleted. If there are no settings for subaccount, they
are inherited from aggregator.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-accounts/latest/V1beta.AutomaticItemUpdates.ItemUpdatesAccountLevelSettings` |

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

### getEffectiveAllowPriceUpdates

Output only. The effective value of allow_price_updates.

If account_item_updates_settings is present, then this value is the same.
Otherwise, it represents the inherited value of the parent account.
The default value is true if no settings are present.
Read-only.

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

### setEffectiveAllowPriceUpdates

Output only. The effective value of allow_price_updates.

If account_item_updates_settings is present, then this value is the same.
Otherwise, it represents the inherited value of the parent account.
The default value is true if no settings are present.
Read-only.

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

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

### getEffectiveAllowAvailabilityUpdates

Output only. The effective value of allow_availability_updates.

If account_item_updates_settings is present, then this value is the same.
Otherwise, it represents the inherited value of the parent account.
The default value is true if no settings are present.
Read-only.

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

### setEffectiveAllowAvailabilityUpdates

Output only. The effective value of allow_availability_updates.

If account_item_updates_settings is present, then this value is the same.
Otherwise, it represents the inherited value of the parent account.
The default value is true if no settings are present.
Read-only.

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

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

### getEffectiveAllowStrictAvailabilityUpdates

Output only. The effective value of
allow_strict_availability_updates.

If account_item_updates_settings is present, then this value is the same.
Otherwise, it represents the inherited value of the parent account.
The default value is true if no settings are present.
Read-only.

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

### setEffectiveAllowStrictAvailabilityUpdates

Output only. The effective value of
allow_strict_availability_updates.

If account_item_updates_settings is present, then this value is the same.
Otherwise, it represents the inherited value of the parent account.
The default value is true if no settings are present.
Read-only.

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

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

### getEffectiveAllowConditionUpdates

Output only. The effective value of allow_condition_updates.

If account_item_updates_settings is present, then this value is the same.
Otherwise, it represents the inherited value of the parent account.
The default value is true if no settings are present.
Read-only.

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

### setEffectiveAllowConditionUpdates

Output only. The effective value of allow_condition_updates.

If account_item_updates_settings is present, then this value is the same.
Otherwise, it represents the inherited value of the parent account.
The default value is true if no settings are present.
Read-only.

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

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