Merchant API . accounts . autofeedSettings

Instance Methods

close()

Close httplib2 connections.

getAutofeedSettings(name, x__xgafv=None)

Retrieves the autofeed settings of an account.

updateAutofeedSettings(name, body=None, updateMask=None, x__xgafv=None)

Updates the autofeed settings of an account.

Method Details

close()
Close httplib2 connections.
getAutofeedSettings(name, x__xgafv=None)
Retrieves the autofeed settings of an account.

Args:
  name: string, Required. The resource name of the autofeed settings. Format: `accounts/{account}/autofeedSettings` (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Collection of information related to the [autofeed](https://support.google.com/merchants/answer/7538732) settings.
  "eligible": True or False, # Output only. Determines whether merchant is eligible for being enrolled into an autofeed.
  "enableProducts": True or False, # Required. Enables or disables product crawling through the autofeed for the given account. Autofeed accounts must meet [certain conditions](https://support.google.com/merchants/answer/7538732#Configure_automated_feeds_Standard_Experience), 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.
  "name": "A String", # Identifier. The resource name of the autofeed settings. Format: `accounts/{account}/autofeedSettings`.
}
updateAutofeedSettings(name, body=None, updateMask=None, x__xgafv=None)
Updates the autofeed settings of an account.

Args:
  name: string, Identifier. The resource name of the autofeed settings. Format: `accounts/{account}/autofeedSettings`. (required)
  body: object, The request body.
    The object takes the form of:

{ # Collection of information related to the [autofeed](https://support.google.com/merchants/answer/7538732) settings.
  "eligible": True or False, # Output only. Determines whether merchant is eligible for being enrolled into an autofeed.
  "enableProducts": True or False, # Required. Enables or disables product crawling through the autofeed for the given account. Autofeed accounts must meet [certain conditions](https://support.google.com/merchants/answer/7538732#Configure_automated_feeds_Standard_Experience), 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.
  "name": "A String", # Identifier. The resource name of the autofeed settings. Format: `accounts/{account}/autofeedSettings`.
}

  updateMask: string, Required. List of fields being updated.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Collection of information related to the [autofeed](https://support.google.com/merchants/answer/7538732) settings.
  "eligible": True or False, # Output only. Determines whether merchant is eligible for being enrolled into an autofeed.
  "enableProducts": True or False, # Required. Enables or disables product crawling through the autofeed for the given account. Autofeed accounts must meet [certain conditions](https://support.google.com/merchants/answer/7538732#Configure_automated_feeds_Standard_Experience), 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.
  "name": "A String", # Identifier. The resource name of the autofeed settings. Format: `accounts/{account}/autofeedSettings`.
}