• API Reference

Attribution Result

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.

curl -H "Authorization: AIRBRIDGE-API-KEY {API-TOKEN}" https://api.airbridge.io


Get Attribution Result

GET

https://api.airbridge.io/attribution-result/v1/apps/{app_name}/mobile-app

Get attribution results for mobile devices using device_uuid

Request

Headers

Accept-Language
string

You can specify the language to use for API requests and responses. It follows the ISO-639-1 format.

Content-Type
string

Represents the media type of the resource. Defaults to application/json.

Authorization
string

The key value to use for API requests. Instructions for getting API keys are in "how to generate API Keys".

Path Params

app_name
Requiredstring

Airbridge App Name. (Unique ID)

Query Params

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.

Request
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: ko' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer {AIRBRIDGE-API-TOKEN}'

Response

200SUCCESS

204SUCCESS

If no attribution result is found, the API returns a 204 No Content response. This indicates that the request was valid, but no matching attribution data exists.

400ERROR

401ERROR

Response
{ "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 }}
Response
{}
Response
{ "result": "Invalid device_uuid"}
Response
{ "result": "invalid authorization header"}