AI-generated Key Takeaways
- 
          
DatafeedStatus provides information on the processing status of a datafeed, including errors and warnings encountered.
 - 
          
DatafeedStatusError details specific errors found within the feed, such as invalid values, with occurrence counts and examples.
 - 
          
DatafeedStatusExample illustrates a specific instance of an error within the feed, pinpointing the location and problematic value.
 - 
          
You can retrieve and manage datafeed statuses through methods like
custombatch,get, andlist. 
Resource: DatafeedStatus
The status of a datafeed, that is, the result of the last retrieval of the datafeed computed asynchronously when the feed processing is finished.
| JSON representation | 
|---|
{ "datafeedId": string, "processingStatus": string, "errors": [ { object (  | 
              
| Fields | |
|---|---|
datafeedId | 
                
                   
 The ID of the feed for which the status is reported.  | 
              
processingStatus | 
                
                   
 The processing status of the feed. Acceptable values are: 
  | 
              
errors[] | 
                
                   
 The list of errors occurring in the feed.  | 
              
warnings[] | 
                
                   
 The list of errors occurring in the feed.  | 
              
itemsTotal | 
                
                   
 The number of items in the feed that were processed.  | 
              
itemsValid | 
                
                   
 The number of items in the feed that were valid.  | 
              
lastUploadDate | 
                
                   
 The last date at which the feed was uploaded.  | 
              
country | 
                
                   
 The country for which the status is reported, represented as a CLDR territory code.  | 
              
feedLabel | 
                
                   
 The feed label status is reported for.  | 
              
language | 
                
                   
 The two-letter ISO 639-1 language for which the status is reported.  | 
              
kind | 
                
                   
 Identifies what kind of resource this is. Value: the fixed string "  | 
              
DatafeedStatusError
An error occurring in the feed, like "invalid price".
| JSON representation | 
|---|
{
  "code": string,
  "count": string,
  "message": string,
  "examples": [
    {
      object ( | 
              
| Fields | |
|---|---|
code | 
                
                   
 The code of the error, for example, "validation/invalid_value".  | 
              
count | 
                
                   
 The number of occurrences of the error in the feed.  | 
              
message | 
                
                   
 The error message, for example, "Invalid price".  | 
              
examples[] | 
                
                   
 A list of example occurrences of the error, grouped by product.  | 
              
DatafeedStatusExample
An example occurrence for a particular error.
| JSON representation | 
|---|
{ "lineNumber": string, "itemId": string, "value": string }  | 
              
| Fields | |
|---|---|
lineNumber | 
                
                   
 Line number in the data feed where the example is found.  | 
              
itemId | 
                
                   
 The ID of the example item.  | 
              
value | 
                
                   
 The problematic value.  | 
              
Methods | 
            |
|---|---|
                
 | 
              Gets multiple Merchant Center datafeed statuses in a single request. | 
                
 | 
              Retrieves the status of a datafeed from your Merchant Center account. | 
                
 | 
              Lists the statuses of the datafeeds in your Merchant Center account. |