Google Shopping Merchant Accounts V1 Client - Class AutofeedSettings (1.0.0)

Reference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class AutofeedSettings.

Collection of information related to the autofeed settings.

Generated from protobuf message google.shopping.merchant.accounts.v1.AutofeedSettings

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 autofeed settings. Format: accounts/{account}/autofeedSettings .

↳ 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 field. The account must notbe 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.

↳ eligible
bool

Output only. Determines whether the business 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 notbe 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 notbe 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 the business is eligible for being enrolled into an autofeed.

Returns
Type
Description
bool

setEligible

Output only. Determines whether the business is eligible for being enrolled into an autofeed.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: