Get Referral Campaign Attribution Tool
get-referral-campaign-attributionShows verified referral campaign totals and conversion activity without returning referral tokens or bearer-like links. Use to get referral campaign attribution in the connected business. Returns campaign, days, asked_total, converted_total, conversion_rate, links, scope.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"campaign_id": "<campaign_id>"
},
"name": "get-referral-campaign-attribution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Lookback window in days. | |
| campaign_id | Yes | Referral campaign ID returned by search-referral-campaigns. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | Days for the returned result. | |
| links | Yes | Bounded links records returned by this tool. | |
| scope | Yes | Authorization scope of this result; data remains restricted to the connected business. | |
| campaign | Yes | Campaign data returned by the authorized safe projection. | |
| asked_total | Yes | Asked total for the returned result. | |
| conversion_rate | Yes | Observed campaign conversion rate. | |
| converted_total | Yes | Converted total for the returned result. |