Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class AutomaticItemUpdates.
Turning on item updates 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 \ V1betaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ account_item_updates_settings |
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 |
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 |
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 |