app_name
Requiredstring
Airbridge App Name (Unique ID)
device_uuid
Requiredstring
Device UUID from Android or iOS.
This is the device UUID obtained through the app SDK. Please refer to the guides below to learn how to get it for each OS.
Get attributed results by Device UUID.
The Attribution Result API can receive AIRBRIDGE-API-KEY
and AIRBRIDGE-SDK-TOKEN
as authorization headers. When using AIRBRIDGE-API-KEY
, use the API Token, and when using AIRBRIDGE-SDK-TOKEN
, use the SDK Token
.
An example of the call is shown below.
https://api.airbridge.io/attribution-result/v1/apps/{app_name}/mobile-app
Get attribution results for mobile devices using device_uuid
Airbridge App Name (Unique ID)
Device UUID from Android or iOS.
This is the device UUID obtained through the app SDK. Please refer to the guides below to learn how to get it for each OS.
Was this page helpful?
{
"at": "2023-01-01T09:30:00.123Z",
"data": {
"attributedTerm": null,
"attributedAdGroup": "TEST_ADGROUP",
"attributedChannel": "website",
"attributedContent": null,
"attributedCampaign": "TEST_CAMPAIGN",
"attributedAdCreative": "TEST_ADCREATIVE",
"attributedSubPublisher": null,
"attributedSubSubPublisher1": null,
"attributedSubSubPublisher2": null,
"attributedSubSubPublisher3": null
}
}
curl -H "Authorization: AIRBRIDGE-API-KEY {API-TOKEN}" https://api.airbridge.io
curl -X GET 'https://api.airbridge.io/attribution-result/v1/apps/{app_name}/mobile-app?device_uuid=f3fab994-baea-4b52-b190-5f023b6ae638' \
-H 'Accept-Language: en' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer {AIRBRIDGE-API-TOKEN}'
{}
{
"result": "invalid authorization header"
}
{
"result": "Invalid device_uuid"
}