Ingest one impression/click event onto the publish queue.
The request context (IP/UA) is the gateway's, not the end user's — the
gateway derives user_fingerprint/device_type at its edge from the
user's actual request and forwards only those derivatives (no raw PII). The
strong attribution key is tracking_id, landed on click_id — the
join rail impression rows, click rows, and (later) network conversion
reports all share.
Body
Required
-
Values are
impression,click, orexperience_view. -
Minimum length is
1, maximum length is256. -
Maximum length is
256. -
Maximum length is
256. -
Maximum length is
256. -
Maximum length is
256. -
Maximum length is
64. -
Maximum length is
256. -
Maximum length is
256. -
Minimum value is
0.0. -
Maximum length is
128. -
Maximum length is
128. -
Maximum length is
128. -
Values are
Desktop,iOS,Android,Tablet, orOther.
curl \
--request POST 'http://api.example.com/v1/internal/impressions/ingest' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"event_type":"impression","tracking_id":"string","request_id":"string","org_id":"string","partner_app_id":"string","brand_slug":"string","placement":"string","catalog_id":"string","product_id":"string","position":42,"capability":"string","tag_id":"string","user_fingerprint":"string","device_type":"Desktop"}'
{
"event_type": "impression",
"tracking_id": "string",
"request_id": "string",
"org_id": "string",
"partner_app_id": "string",
"brand_slug": "string",
"placement": "string",
"catalog_id": "string",
"product_id": "string",
"position": 42,
"capability": "string",
"tag_id": "string",
"user_fingerprint": "string",
"device_type": "Desktop"
}
{}
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"ctx": {}
}
]
}