Skip to main content
原始 Markdown

获取总数据量

POST/{version}/api/all-attribution/get-list-sum

获取全部数据。

速率限制:每秒 5 次请求。

version: v2-4-2.

请求

路径参数

versionstring必需
examplev2-4-2

请求头

ApiKeystring必需
default{{ApiKey}}
exampleYOUR_API_KEY

请求体

application/json
start_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.

子字段
string

campaign/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

请求示例
JSON
{
  "start_date": "2025-01-01",
  "end_date": "2025-01-02",
  "dimensions": [
    "campaign"
  ],
  "model": "first",
  "goal": "purchase"
}

响应

响应体

application/json
codeinteger必需

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

响应头