Method: accounts.autofeedSettings.updateAutofeedSettings

  • This operation updates the autofeed settings for a specific account using an HTTP PATCH request.

  • The request requires providing the autofeed settings resource name in the path and a field mask specifying the updated fields in the query parameters.

  • The request body should contain the updated AutofeedSettings object, and a successful response will return the updated AutofeedSettings object.

  • Authorization requires the https://www.googleapis.com/auth/content OAuth scope.

Updates the autofeed settings of an account.

HTTP request

PATCH https://merchantapi.googleapis.com/accounts/v1beta/{autofeedSettings.name=accounts/*/autofeedSettings}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
autofeedSettings.name

string

Identifier. The resource name of the autofeed settings. Format: accounts/{account}/autofeedSettings.

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. List of fields being updated.

Request body

The request body contains an instance of AutofeedSettings.

Response body

If successful, the response body contains an instance of AutofeedSettings.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/content

For more information, see the OAuth 2.0 Overview.