Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class AutofeedSettings.
Collection of information related to the autofeed settings.
Generated from protobuf message google.shopping.merchant.accounts.v1beta.AutofeedSettings
Namespace
Google \ Shopping \ Merchant \ Accounts \ V1betaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Identifier. The resource name of the autofeed settings. Format: |
↳ enable_products |
bool
Required. Enables or disables product crawling through the autofeed for the given account. Autofeed accounts must meet certain conditions, which can be checked through the |
↳ eligible |
bool
Output only. Determines whether merchant is eligible for being enrolled into an autofeed. |
getName
Identifier. The resource name of the autofeed settings.
Format: accounts/{account}/autofeedSettings
.
Returns | |
---|---|
Type | Description |
string |
setName
Identifier. The resource name of the autofeed settings.
Format: accounts/{account}/autofeedSettings
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getEnableProducts
Required. Enables or disables product crawling through the autofeed for the
given account. Autofeed accounts must meet certain
conditions,
which can be checked through the eligible
field.
The account must not be a marketplace. When the autofeed is enabled for the first time, the products usually appear instantly. When re-enabling, it might take up to 24 hours for products to appear.
Returns | |
---|---|
Type | Description |
bool |
setEnableProducts
Required. Enables or disables product crawling through the autofeed for the
given account. Autofeed accounts must meet certain
conditions,
which can be checked through the eligible
field.
The account must not be a marketplace. When the autofeed is enabled for the first time, the products usually appear instantly. When re-enabling, it might take up to 24 hours for products to appear.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getEligible
Output only. Determines whether merchant is eligible for being enrolled into an autofeed.
Returns | |
---|---|
Type | Description |
bool |
setEligible
Output only. Determines whether merchant is eligible for being enrolled into an autofeed.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |