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 \ AutomaticItemUpdatesMethods
__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 |
bool
If |
↳ 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 |