Returns performance metrics for a list of products promoted in a given video.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The ID of the shop video whose promoted product performance list is requested.
Query Parameters
Section titled “Query Parameters”Identifies the shop. Obtain it from the Get Authorized Shops API.
End date (ISO 8601 YYYY-MM-DD format) in shop registered timezone. It must be later than start_date_ge. In the parameter name, “lt” refers to “less than” (exclusive)
Number of products per page. Min value: 1 Max value: 100 Default value: 10
Sort on. Available values: gmv, units_sold, daily_avg_buyers Default value: gmv
Sort direction. Available values: ASC, DESC Default value: DESC
- ASC: ascending
- DESC: descending
Currency. Available values: USD, LOCAL Default value: LOCAL
- USD: US dollars
- LOCAL: local currency where the shop is located
Page token, indicating the current position. Used for requesting next page data. Leave this field empty for first time queries.
Start date (ISO 8601 YYYY-MM-DD format) in shop registered timezone. In the parameter name, “ge” refers to “greater than or equal to” (inclusive)
Responses
Section titled “Responses”Success
object
Status code; 0 means success.
Success or failure message.
Request log ID.
object
Latest date in local timezone where data is ready (ISO 8601 format).
Page token for the next page request. If this value is nonempty, pass it as page_token in the next request and reuse the same video_id, start_date_ge, end_date_lt, sort_field, sort_order, currency, and page_size values. An empty value means that there are no more pages.
List of product performance metrics.
object
Ratio of product clicks to product impressions in raw decimal format.
Number of customers who purchased the product.
Average number of buyers per day for the current product.
Overall Gross Merchandise Value (GMV) for the product.
object
GMV amount in the corresponding currency.
GMV currency code (ISO 4217 standard). If LOCAL currency is requested, the value will be the local currency code of where the shop is registered (e.g. GBP).
Average GMV generated per 1,000 product impressions.
object
GPM amount in the corresponding currency.
GPM currency code (ISO 4217 standard). If LOCAL currency is requested, the value will be the local currency code of where the shop is registered (e.g. GBP).
The ID of the product promoted in the video.
The name of the product promoted in the video.
Number of product clicks.
Number of product impressions.
Number of units sold for the current product.
Total number of products matching the request across all pages.
Example
{ "code": 0, "data": { "latest_available_date": "2024-09-07", "next_page_token": "cGFnZV9udW1iZXI9MQ==", "products": [ { "ctr": "0", "customers": 0, "daily_avg_buyers": "0", "gmv": { "amount": "0", "currency": "USD" }, "gpm": { "amount": "0", "currency": "USD" }, "id": "105xxxxxxxxxxxxx247", "name": "Product Name", "product_clicks": 0, "product_impressions": 0, "units_sold": 0 } ], "total_count": 10 }, "message": "Success", "request_id": "202203070749000101890810281E8C70B7"}