# Google Shopping Merchant Accounts V1 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 Reference documentation and code samples for the Google Shopping Merchant Accounts V1 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.v1.AutomaticImprovements`

## Namespace

Google \\ Shopping \\ Merchant \\ Accounts \\ V1

## 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/V1.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/V1.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/V1.AutomaticShippingImprovements` Not available for [advanced 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/V1.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/V1.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/V1.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/V1.AutomaticImageImprovements` |

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

### getShippingImprovements

Not available for [advanced
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/V1.AutomaticShippingImprovements|null` |   |

### hasShippingImprovements

### clearShippingImprovements

### setShippingImprovements

Not available for [advanced
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/V1.AutomaticShippingImprovements` |

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