Версия API Graph

Product Feed Upload

Чтение

A specific product feed upload attempt

Examples

Example to get a list of uploads of a product feed:

curl -G \
-d "access_token=<ACCESS_TOKEN>" \
https://graph.facebook.com/<PRODUCT_FEED_ID>/uploads

Example to get the status of a feed upload:

curl -G \
-d "access_token=<ACCESS_TOKEN>" \
https://graph.facebook.com/<PRODUCT_FEED_UPLOAD_ID>

Параметры

Эта конечная точка не содержит параметров.

Поля

ПолеОписание
id
numeric string

ID of the product feed upload

end_time
datetime

The time the upload was completed

error_count
int32

The total number of errors for feed upload

error_report
ProductFeedUploadErrorReport

Error report file handle and status, if the error report for this upload was requested

filename
string

The name of the file the product feed was uploaded from

input_method
enum {Manual Upload, Server Fetch, Google Sheets Fetch, Reupload Last File, User initiated server fetch}

The input method the product feed was obtained with

num_deleted_items
int32

The number of deleted items

num_detected_items
int32

The number of items detected while reading the feed file

num_invalid_items
int32

The number of invalid items

num_persisted_items
int32

The number of persisted items

start_time
datetime

The time the upload process started

url
string

The url to fetch the products from

warning_count
int32

The total number of warnings for feed upload

Границы контекста

Граница контекстаОписание
Edge<ProductFeedUploadError>

List of errors during the product feed upload

Error Codes

ОшибкаОписание
190Invalid OAuth 2.0 Access Token
100Invalid parameter
200Permissions error

Создание

Вы можете сделать запрос POST к границе error_report из этих местоположений:
При размещении публикации на этой границе создается a ProductFeedUpload.

Параметры

Эта конечная точка не содержит параметров.

Тип возврата

Эта конечная точка поддерживает чтение после записи и будет считывать узел, в который вы сделали публикацию.
Struct {
success: bool,
}

Error Codes

ОшибкаОписание
100Invalid parameter

Обновление

Нельзя выполнить эту операцию в этой конечной точке.

Удаление

Нельзя выполнить эту операцию в этой конечной точке.