Skip to main content

v2.ads.get_all_cpc_ads_hourly_performance

GET /api/v2/ads/get_all_cpc_ads_hourly_performance

Use this API to get Shop level CPC ads single-date hourly performance.

Endpoint URL

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

Common Request Parameters

NameTypeSampleDescription
partner_idint1Partner ID is assigned upon registration is successful. Required for all requests.
timestamptimestamp1610000000This is to indicate the timestamp of the request. Required for all requests. Expires in 5 minutes.
access_tokenstringc09222e3fc40ffb25fc947f738b1abf1The token for API access, using to identify your permission to the api. Valid for multiple use and expires in 4 hours.
shop_idint600000Shopee's unique identifier for a shop. Required param for most APIs.
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

Request Parameters

NameTypeRequiredSampleDescription
performance_datestringTrue17-03-2021This is the parameter of the single date on which requester wants to check the hourly performance. Date in DD-MM-YYYY format.

Response Parameters

NameTypeSampleDescription
errorstringError code, empty when no error returned
messagestringerror description
warningstringIf some data cannot respond normally, set the warning
request_idstring6f235f4a343e4feb8a9ed74c439f6663request id is unique for each request
responseobject[]response body
hourint3213This is the parameter to indicate each hour the performance record belongs to.
datestring17-03-2021This is the parameter to indicate which date the performance record belongs to.
impressionint32123456Number of times buyers see ads
clicksint32123456Total number of clicks on the Ad
ctrfloat1.23Ctr, click-through rate measures how often shoppers who see an ad end up clicking it. CTR = Clicks / Impressions
direct_orderint32123456Buyer place an order within 7 days after clicking on the ads (item gets purchased from the clicked ads). Please kindly note that the direct_order in the API reflected to Seller Center Shopee Ads Module FE is Direct Conversions.
broad_orderint32123456Buyer place an order within 7 days after clicking on the ads; (the item gets purchased as long as there are other items from the same shops got click.) Please kindly note that the broad_order in the APIreflected to Seller Center Shopee Ads Module FE is Conversions.
direct_conversionsfloat1.23Ad orders / total number of clicks on the Ad. (item gets purchased from the clicked ads.) Please kindly note that the direct_conversions in the API reflected to Seller Center Shopee Ads Module FE is the Direct Conversion Rate
broad_conversionsfloat1.23Ad orders / total number of clicks on the Ad. (the item gets purchased as long as there are other items from the same shops got click.) Please kindly note that the broad conversions in the API reflected to Seller Center Shopee Ads Module FE is Conversion Rate
direct_item_soldint32123item sold within 7 days after clicking on the ads. (item gets purchased from the clicked ads.)
broad_item_soldint32123item sold within 7 days after clicking on the ads.(the item gets purchased as long as there are other items from the same shops got click.)
direct_gmvfloat1.23Total sales generated from Ad over a certain time frame Typically 7 days. (item gets purchased from the clicked ads.)
broad_gmvfloat1.23Total sales generated from Ad over a certain time frame (the item gets purchased as long as there are other items from the same shops got click.)
expensefloat1.23Ad Expenditure
cost_per_conversionfloat1.23(Cost Per Conversion) Ad's average cost per sales conversion
direct_roasfloat1.23Ad GMV/Ad Expenditure. (item gets purchased from the clicked ads.)
broad_roasfloat1.23Ad GMV/Ad Expenditure. (the item gets purchased as long as there are other items from the same shops got click.)