Method: datafeedstatuses.get

Retrieves the status of a datafeed from your Merchant Center account.

HTTP request

GET https://www.googleapis.com/content/v2.1/{merchantId}/datafeedstatuses/{datafeedId}

Path parameters

Parameters
merchantId

string

The ID of the account that manages the datafeed. This account cannot be a multi-client account.

datafeedId

string

The ID of the datafeed.

Query parameters

Parameters
country

string

The country for which to get the datafeed status. If this parameter is provided then language must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.

language

string

The language for which to get the datafeed status. If this parameter is provided then country must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.

Request body

The request body must be empty.

Response body

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

Authorization Scopes

Requires one of the following OAuth scopes:

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

For more information, see the OAuth 2.0 Overview.

Try it!