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

v2.ads.get_product_level_campaign_setting_info

GET /api/v2/ads/get_product_level_campaign_setting_info

Call this API to fetch all the campaign setting info under this Shop.

Đường dẫn Endpoint

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

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ả
info_type_liststringTrue1,2,3,4Info type values: 1.Common Info 2.Manual Bidding Info 3.Auto Bidding Info 4.Auto Product Ads Info
campaign_id_liststringTrue11111,22222,33333list of campaign ids comma separated (max 100 campaign ids)

Tham số Response

TênKiểuMẫuMô tả
errorstringMã lỗi, để trống khi không có lỗi
messagestringMô tả lỗi
warningstringNếu một số dữ liệu không thể phản hồi bình thường, đặt cảnh báo
request_idstring6f235f4a343e4feb8a9ed74c439f6663request id là duy nhất cho mỗi yêu cầu
responseobjectNội dung phản hồi
shop_idint64121212Shopee's unique identifier for a shop.
regionstringSGRegion the shop belongs to
campaign_listobject[]-
campaign_idint6411111The unique ID per campaign
common_infoobjectcommon_info body
ad_typestringautoauto, manual
ad_namestringnamethe name of each ad
campaign_statusstringongoingongoing, scheduled, ended, paused, deleted, closed
bidding_methodstringautoauto, manual
campaign_placementstringallsearch, discovery, all
campaign_budgetfloat12.50The budget per campaign. Please kindly note that if the campaign budget = 0, it means the budget set for this campaign is unlimited
campaign_durationobjectthe duration per campaign
start_timeint641234567890The start date for each campaign. please kindly note that if this campaign is no end date, please pass today's date as the start date
end_timeint640the end date per campaign. please kindly note that if it's no limit, so you don't need pass anything and if it's unlimited, the end time would return 0
item_id_listint64[]List of unique identifiers for all products under this campaign. If the campaign is using auto product selection it can have between zero and many products. If the campaign is using manual product selection, it has exactly one.
manual_bidding_infoobjectmanual bidding info
enhanced_cpcbooleantrueEnhanced CPC functionality
selected_keywordsobject[]selected keywords
keywordstringkeywordbid keywords for each campaign with search placement
statusstringdeleteddeleted, normal, reserved, blacklist
match_typestringexactexact, broad
bid_price_per_clickfloat10.50the bid price
discovery_ads_locationsobject[]the location settings
locationstringdaily_discoverdaily_discover, you_may_also_like
statusstringactivetoggle on or toggle off
bid_pricefloat11.50bid price
auto_bidding_infoobjectbidding info
roas_targetfloat6.50Mục tiêu ROAS cho chiến dịch với đấu giá tự động
auto_product_ads_infoobject[]selected products info
product_namestringname1the name of product
statusstringlearninglearning, ongoing, paused, ended, unavailable
item_idint64Unique identifier for the product.