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

Collection of information related to the [automatic
improvements](https://developers.google.com/shopping-content/guides/automatic-improvements)
of an account.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Identifier. The resource name of the automatic improvements. Format: `accounts/{account}/automaticImprovements`. |
| `↳ item_updates` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-accounts/latest/V1beta.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. This field is only updated (cleared) if provided in the update mask. |
| `↳ image_improvements` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-accounts/latest/V1beta.AutomaticImageImprovements` This improvement will attempt to automatically correct submitted images if they don't meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973) This field is only updated (cleared) if provided in the update mask. |
| `↳ shipping_improvements` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-accounts/latest/V1beta.AutomaticShippingImprovements` Not available for MCAs [accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: \* \* Delivery address of an order \* \* Current handling time and shipping time settings \* \* Estimated weekdays or business days \* \* Parcel tracking data This field is only updated (cleared) if provided in the update mask. |

### getName

Identifier. The resource name of the automatic improvements.

Format: `accounts/{account}/automaticImprovements`.

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

### setName

Identifier. The resource name of the automatic improvements.

Format: `accounts/{account}/automaticImprovements`.

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

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

### getItemUpdates

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.

This field is only updated (cleared) if provided in the update mask.

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

### hasItemUpdates

### clearItemUpdates

### setItemUpdates

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.

This field is only updated (cleared) if provided in the update mask.

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

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

### getImageImprovements

This improvement will attempt to automatically correct submitted images if
they don't meet the [image
requirements](https://support.google.com/merchants/answer/6324350), for
example, removing overlays. If successful, the image will be replaced and
approved. This improvement is only applied to images of disapproved offers.

For more information see: [Automatic image
improvements](https://support.google.com/merchants/answer/9242973)
This field is only updated (cleared) if provided in the update mask.

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

### hasImageImprovements

### clearImageImprovements

### setImageImprovements

This improvement will attempt to automatically correct submitted images if
they don't meet the [image
requirements](https://support.google.com/merchants/answer/6324350), for
example, removing overlays. If successful, the image will be replaced and
approved. This improvement is only applied to images of disapproved offers.

For more information see: [Automatic image
improvements](https://support.google.com/merchants/answer/9242973)
This field is only updated (cleared) if provided in the update mask.

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

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

### getShippingImprovements

Not available for MCAs
[accounts](https://support.google.com/merchants/answer/188487). By turning
on [automatic shipping
improvements](https://support.google.com/merchants/answer/10027038),
you are allowing Google to improve the accuracy of your delivery times
shown to shoppers using Google. More accurate delivery times, especially
when faster, typically lead to better conversion rates. Google will improve
your estimated delivery times based on various factors:

- Delivery address of an order
- Current handling time and shipping time settings
- Estimated weekdays or business days
- Parcel tracking data This field is only updated (cleared) if provided in the update mask.

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

### hasShippingImprovements

### clearShippingImprovements

### setShippingImprovements

Not available for MCAs
[accounts](https://support.google.com/merchants/answer/188487). By turning
on [automatic shipping
improvements](https://support.google.com/merchants/answer/10027038),
you are allowing Google to improve the accuracy of your delivery times
shown to shoppers using Google. More accurate delivery times, especially
when faster, typically lead to better conversion rates. Google will improve
your estimated delivery times based on various factors:

- Delivery address of an order
- Current handling time and shipping time settings
- Estimated weekdays or business days
- Parcel tracking data This field is only updated (cleared) if provided in the update mask.

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

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