v2.ads.get_product_campaign_hourly_performance
GET /api/v2/ads/get_product_campaign_hourly_performance
Use this API to get Product level ads single-day hourly performance.
Đường dẫn Endpoint
URL: https://partner.shopeemobile.com/api/v2/ads/get_product_campaign_hourly_performance
Tham số chung
| Tên | Kiểu | Mẫu | Mô tả |
|---|---|---|---|
| partner_id | int | 1 | Partner ID được cấp khi đăng ký thành công. Bắt buộc cho mọi yêu cầu. |
| timestamp | timestamp | 1610000000 | Dùng để xác định thời điểm của yêu cầu. Bắt buộc cho mọi yêu cầu. Hết hạn sau 5 phút. |
| access_token | string | c09222e3fc40ffb25fc947f738b1abf1 | Token truy cập API, dùng để xác định quyền của bạn. Có thể dùng nhiều lần và hết hạn sau 4 giờ. |
| shop_id | int | 600000 | Mã định danh duy nhất của Shopee cho cửa hàng. Tham số bắt buộc cho hầu hết các API. |
| sign | string | e318d3e932719916a9f9ebb57e2011961bd47abfa54a36e040d050d8931596e2 | Signature generated by partner_id, api path, timestamp, access_token, shop_id and partner_key via HMAC-SHA256 hashing algorithm. More details: https://open.shopee.com/documents?module=87&type=2&id=58&version=2 |
Tham số Request
| Tên | Kiểu | Bắt buộc | Mẫu | Mô tả |
|---|---|---|---|---|
| performance_date | string | True | 17-07-2024 | Tham số xác định ngày bắt đầu của khoảng thời gian hiệu suất. |
| campaign_id_list | string | True | 11111,22222 | The campaign ids (comma separated) you want to fetch the performance. (max 100) |
Tham số Response
| Tên | Kiểu | Mẫu | Mô tả |
|---|---|---|---|
| error | string | Mã lỗi, để trống khi không có lỗi | |
| message | string | Mô tả lỗi | |
| warning | string | Nếu một số dữ liệu không thể phản hồi bình thường, đặt cảnh báo | |
| request_id | string | 6f235f4a343e4feb8a9ed74c439f6663 | request id là duy nhất cho mỗi yêu cầu |
| response | object[] | Nội dung phản hồi | |
| shop_id | int64 | 123 | Shopee's unique identifier for a shop |
| region | string | SG | The region where this Shop is under |
| campaign_list | object[] | the list of campaign | |
| campaign_id | int64 | 12121 | Mã định danh duy nhất của chiến dịch |
| ad_type | string | auto | auto, manual |
| campaign_placement | string | search | search, discovery, all |
| ad_name | string | name | the name of each campaign |
| metrics_list | object[] | performance metric list | |
| hour | int32 | 14 | Tham số xác định bản ghi hiệu suất thuộc giờ nào. |
| date | string | 12-12-2023 | This is the parameter of the single date on which requestor wants to check the hourly performance |
| impression | int64 | 111 | The number of times shoppers see your ad. |
| clicks | int64 | 222 | The number of times shoppers click on your ad. (Note: Shopee filters out repeated clicks from the same shopper that occur within a short time frame.) |
| ctr | float | 12.23 | The click-through rate (CTR) measures how often shoppers end up clicking on your ad after seeing it. It is the number of clicks on your ad divided by the number of times your ad is seen. CTR = clicks ÷ impressions × 100%. |
| expense | float | 11.22 | The amount spent on your ad. |
| broad_gmv | float | 1.2 | The amount of sales revenue generated from shoppers purchasing products within 7 days of them clicking on your ad. |
| broad_order | int64 | 100 | The number of times shoppers purchased any product from your shop within 7 days of them clicking on your ad. |
| broad_order_amount | int64 | 200 | The total quantity of products purchased by shoppers within 7 days of them clicking on your ad. |
| broad_roi | float | 2.3 | Return on ad spend (ROAS) measures how much revenue is generated by your ad relative to the cost of the ad. It is the amount of sales revenue attributed to your ad divided by the amount spent on the ad. ROAS = GMV ÷ expense. (Note: We recommend monitoring ROAS trends on a weekly basis.) |
| broad_cir | float | 3.4 | The advertising cost of sales (ACOS) measures how much your ad costs relative to the revenue the ad generates. It is the amount spent on your ad divided by the amount of sales revenue attributed to the ad. ACOS = expense ÷ GMV × 100%. |
| cr | float | 4.5 | The conversion rate measures how often shoppers end up purchasing something from your shop after clicking on your ad. It is the number of conversions attributed to your ad divided by the number of clicks on the ad. Conversion rate = conversions ÷ clicks × 100%. |
| cpc | float | 5.6 | The cost per conversion is how much each conversion costs, on average. It is the amount spent on your ad divided by the number of conversions attributed to the ad. Cost per conversion = expense ÷ conversions. |
| direct_order | int64 | 999 | The number of times shoppers purchased the advertised product within 7 days of them clicking on the ad. |
| direct_order_amount | int64 | 1111 | The total quantity of the advertised product purchased by shoppers within 7 days of them clicking on the ad. |
| direct_gmv | float | 12.23 | The amount of sales revenue generated from shoppers purchasing the advertised product within 7 days of them clicking on the ad. |
| direct_roi | float | 23.34 | The direct return on ad spend, or direct ROAS, measures how much revenue is generated from sales of the advertised product, relative to the cost of the ad. It is the amount of sales revenue for the advertised product attributed to the ad, divided by the amount spent on the ad. Direct ROAS = direct GMV ÷ expense. |
| direct_cir | float | 34.45 | The direct advertising cost of sales, or direct ACOS, measures how much your ad costs relative to the revenue generated from sales of the advertised product. It is the amount spent on the ad divided by the amount of sales revenue for the advertised product that is attributed to the ad. Direct ACOS = expense ÷ direct GMV × 100%. |
| direct_cr | float | 45.56 | The direct conversion rate measures how often shoppers end up purchasing the advertised product after clicking on the ad. Direct conversion rate is the number of direct conversions divided by the number of clicks. Direct conversion rate = direct conversions ÷ clicks × 100%. |
| cpdc | float | 56.67 | The cost per direct conversion is how much each direct conversion costs, on average. It is the amount spent on your ad divided by the number of direct conversions attributed to the ad. Cost per direct conversion = expense ÷ direct conversions. |