Chuyển tới nội dung chính

v2.ads.get_gms_campaign_performance

POST /api/v2/ads/get_gms_campaign_performance

Get GMS Campaign performance

Đường dẫn Endpoint

URL: https://partner.shopeemobile.com/api/v2/ads/get_gms_campaign_performance

Tham số chung

TênKiểuMẫuMô tả
partner_idint1Partner ID được cấp khi đăng ký thành công. Bắt buộc cho mọi yêu cầu.
timestamptimestamp1610000000Dù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_tokenstringc09222e3fc40ffb25fc947f738b1abf1Token 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_idint600000Mã đị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.
signstringe318d3e932719916a9f9ebb57e2011961bd47abfa54a36e040d050d8931596e2Signature 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ênKiểuBắt buộcMẫuMô tả
campaign_idint64False13251251The ID chiến dịch GMS. Provide if available.
start_datestringTrue11-11-2025Start date of Campaign e.g. "11-11-2025". Maximum duration of 3 months between start_date & end_date. Earliest start_date is 6 months before today.
end_datestringTrue11-11-2025End date of Campaign e.g. "11-11-2025". Maximum duration of 3 months between start_date & end_date.

Tham số Response

TênKiểuMẫuMô tả
errorstringCho biết loại lỗi nếu có lỗi xảy ra. Để trống nếu không có lỗi.
messagestringCho biết chi tiết lỗi nếu có lỗi xảy ra. Để trống nếu không có lỗi.
warningstringCho biết chi tiết cảnh báo nếu có cảnh báo. Để trống nếu không có cảnh báo.
request_idstringMã định danh cho yêu cầu API, dùng để theo dõi lỗi.
responseobject
campaign_idint6412412421ID chiến dịch GMS
reportobject
broad_cirfloat100.12The 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%.
broad_gmvfloat100.12The amount of sales revenue generated from shoppers purchasing products within 7 days of them clicking on your ad.
broad_orderint64123The number of times shoppers purchased any product from your shop within 7 days of them clicking on your ad.
broad_order_amountint64123The total quantity of products purchased by shoppers within 7 days of them clicking on your ad.
broad_roifloat123.12Return 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.)
clicksint64123The 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.)
expensefloat123.12The amount spent on your ad.
cpcfloat123.12The 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.
cpdcfloat123.12The 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.
crfloat123.12The 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%.
direct_crfloat123.12The 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%.
direct_cirfloat123.12The 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_orderint64123The number of times shoppers purchased the advertised product within 7 days of them clicking on the ad.
direct_order_amountint64123The total quantity of the advertised product purchased by shoppers within 7 days of them clicking on the ad.
direct_roifloat123.12The 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.
impressionfloat123.12The number of times shoppers see your ad.