获取总数据量
/{version}/api/all-attribution/get-list-sum获取全部数据。
速率限制:每秒 5 次请求。
version: v2-4-2.
请求
路径参数
versionstring必需v2-4-2请求头
ApiKeystring必需{{ApiKey}}YOUR_API_KEY请求体
application/jsonstart_datestring必需The start date range of the event in ISO format, e.g. 1970-01-01, the time zone should be consistent with your store settings.
end_datestring必需The end date of the event in ISO format, e.g. 1970-01-01, the time zone should be consistent with your store settings.If you want to see the data for 1970-01-01, please enter 1970-01-02.
dimensionsarray [string]必需The input quantity should not exceed 3, campaign/channel/source/medium/landing_page.
子字段
stringcampaign/channel/source/medium/landing_page.
modelstring必需First click
Last click
Linear
Position
Full Impact
For other values, please refer to the “name” section in the API documentation (https://developer.attribuly.com/api-429980012)
goalstring必需purchase
add_to_cart
请求示例
{
"start_date": "2025-01-01",
"end_date": "2025-01-02",
"dimensions": [
"campaign"
],
"model": "first",
"goal": "purchase"
}响应
响应体
application/jsoncodeinteger必需1:success; other:failed
messagestring必需dataobject必需子字段
conversionsnumber必需conversions
new_lead_conversionsnumber必需new lead conversions
conversion_valuenumber必需conversion value
spendnumber必需spend
clicksnumber必需clicks
ad_conversion_valuenumber必需ad conversion value
impressionsnumber必需impressions
roasnumber必需roas
ad_roasnumber必需ad roas
cpanumber必需cpa
cpmnumber必需cpm
cpcnumber必需cpc
net_profitnumber必需net profit
net_marginnumber必需net margin
ltvnumber必需ltv