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 \ V1beta
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 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.
↳ 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Shopping Merchant Accounts V1beta Client - Class AutofeedSettings (1.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0 (latest)](/php/docs/reference/shopping-merchant-accounts/latest/V1beta.AutofeedSettings)\n- [0.10.0](/php/docs/reference/shopping-merchant-accounts/0.10.0/V1beta.AutofeedSettings)\n- [0.9.1](/php/docs/reference/shopping-merchant-accounts/0.9.1/V1beta.AutofeedSettings)\n- [0.8.0](/php/docs/reference/shopping-merchant-accounts/0.8.0/V1beta.AutofeedSettings)\n- [0.7.0](/php/docs/reference/shopping-merchant-accounts/0.7.0/V1beta.AutofeedSettings)\n- [0.6.0](/php/docs/reference/shopping-merchant-accounts/0.6.0/V1beta.AutofeedSettings)\n- [0.5.0](/php/docs/reference/shopping-merchant-accounts/0.5.0/V1beta.AutofeedSettings)\n- [0.4.0](/php/docs/reference/shopping-merchant-accounts/0.4.0/V1beta.AutofeedSettings)\n- [0.3.3](/php/docs/reference/shopping-merchant-accounts/0.3.3/V1beta.AutofeedSettings)\n- [0.2.0](/php/docs/reference/shopping-merchant-accounts/0.2.0/V1beta.AutofeedSettings)\n- [0.1.0](/php/docs/reference/shopping-merchant-accounts/0.1.0/V1beta.AutofeedSettings) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class AutofeedSettings.\n\nCollection of information related to the\n[autofeed](https://support.google.com/merchants/answer/7538732) settings.\n\nGenerated from protobuf message `google.shopping.merchant.accounts.v1beta.AutofeedSettings`\n\nNamespace\n---------\n\nGoogle \\\\ Shopping \\\\ Merchant \\\\ Accounts \\\\ V1beta\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nIdentifier. The resource name of the autofeed settings.\n\nFormat: `accounts/{account}/autofeedSettings`.\n\n### setName\n\nIdentifier. The resource name of the autofeed settings.\n\nFormat: `accounts/{account}/autofeedSettings`.\n\n### getEnableProducts\n\nRequired. Enables or disables product crawling through the autofeed for the\ngiven account. Autofeed accounts must meet [certain\nconditions](https://support.google.com/merchants/answer/7538732#Configure_automated_feeds_Standard_Experience),\nwhich can be checked through the `eligible` field.\n\nThe account must **not** be a marketplace.\nWhen the autofeed is enabled for the first time, the products usually\nappear instantly. When re-enabling, it might take up to 24 hours for\nproducts to appear.\n\n### setEnableProducts\n\nRequired. Enables or disables product crawling through the autofeed for the\ngiven account. Autofeed accounts must meet [certain\nconditions](https://support.google.com/merchants/answer/7538732#Configure_automated_feeds_Standard_Experience),\nwhich can be checked through the `eligible` field.\n\nThe account must **not** be a marketplace.\nWhen the autofeed is enabled for the first time, the products usually\nappear instantly. When re-enabling, it might take up to 24 hours for\nproducts to appear.\n\n### getEligible\n\nOutput only. Determines whether merchant is eligible for being enrolled\ninto an autofeed.\n\n### setEligible\n\nOutput only. Determines whether merchant is eligible for being enrolled\ninto an autofeed."]]