resolve_cj_link
Finds a joined CJ publisher tracking link for an exact HTTPS merchant page. Verifies advertiser relationships and deep linking, reporting when no eligible link is confirmed.
Instructions
Find a joined CJ publisher link for an exact HTTPS merchant page.
Supply the promotional property Website ID unless configured locally. A known CJ Link ID or Advertiser ID narrows the search. If result status is portal_required, no eligible link was confirmed and no URL should be presented as affiliate tracking.
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": {
"destination_url": "<destination_url>"
},
"name": "resolve_cj_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link_id | No | ||
| website_id | No | ||
| advertiser_id | No | ||
| advertiser_name | No | ||
| destination_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | ||
| reason | Yes | ||
| status | Yes | ||
| link_id | No | ||
| destination | Yes | ||
| tracking_url | No | ||
| advertiser_id | No |