Look up a user's attribution
lookup_customer_attributionLook up a user's newest install attribution by customer_user_id to get campaign, ad set, ad, network, match confidence, and status (attributed, device_matched, organic, pending, consent_required).
Instructions
Look up the attribution of one of your users by the customer_user_id your app passed to AttriKit.setUserID: the campaign, ad set, ad, network, match confidence and attribution_status (attributed, device_matched, organic, pending or consent_required) of the user's newest install. 404 customer_user_not_found means no install identified with this id. Read scope is enough.
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": {
"app_id": "<app_id>",
"customer_user_id": "<customer_user_id>"
},
"name": "lookup_customer_attribution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | The AttriKit app id. | |
| customer_user_id | Yes | The opaque id your app passed to AttriKit.setUserID. Refused when it looks like an email address or phone number. |