Datafeedstatuses

For a list of methods for this resource, see the end of this page.

Resource representations

The status of a datafeed, i.e., the result of the last retrieval of the datafeed computed asynchronously when the feed processing is finished.

{
  "kind": "content#datafeedStatus",
  "datafeedId": unsigned long,
  "country": string,
  "language": string,
  "processingStatus": string,
  "errors": [
    {
      "code": string,
      "count": unsigned long,
      "message": string,
      "examples": [
        {
          "lineNumber": unsigned long,
          "itemId": string,
          "value": string
        }
      ]
    }
  ],
  "warnings": [
    {
      "code": string,
      "count": unsigned long,
      "message": string,
      "examples": [
        {
          "lineNumber": unsigned long,
          "itemId": string,
          "value": string
        }
      ]
    }
  ],
  "itemsTotal": unsigned long,
  "itemsValid": unsigned long,
  "lastUploadDate": string
}
Property name Value Description Notes
country string The country for which the status is reported, represented as a CLDR territory code.
datafeedId unsigned long The ID of the feed for which the status is reported.
errors[] list The list of errors occurring in the feed.
errors[].code string The code of the error, e.g., "validation/invalid_value".
errors[].count unsigned long The number of occurrences of the error in the feed.
errors[].examples[] list A list of example occurrences of the error, grouped by product.
errors[].examples[].itemId string The ID of the example item.
errors[].examples[].lineNumber unsigned long Line number in the data feed where the example is found.
errors[].examples[].value string The problematic value.
errors[].message string The error message, e.g., "Invalid price".
itemsTotal unsigned long The number of items in the feed that were processed.
itemsValid unsigned long The number of items in the feed that were valid.
kind string Identifies what kind of resource this is. Value: the fixed string "content#datafeedStatus".
language string The two-letter ISO 639-1 language for which the status is reported.
lastUploadDate string The last date at which the feed was uploaded.
processingStatus string The processing status of the feed.

Acceptable values are:
  • "failure"
  • "in progress"
  • "none"
  • "success"
warnings[] list The list of errors occurring in the feed.
warnings[].code string The code of the error, e.g., "validation/invalid_value".
warnings[].count unsigned long The number of occurrences of the error in the feed.
warnings[].examples[] list A list of example occurrences of the error, grouped by product.
warnings[].examples[].itemId string The ID of the example item.
warnings[].examples[].lineNumber unsigned long Line number in the data feed where the example is found.
warnings[].examples[].value string The problematic value.
warnings[].message string The error message, e.g., "Invalid price".

Methods

custombatch
Gets multiple Merchant Center datafeed statuses in a single request.
get
Retrieves the status of a datafeed from your Merchant Center account.
list
Lists the statuses of the datafeeds in your Merchant Center account.

Enviar comentarios sobre…

Content API for Shopping