---
title: "Record Ad Measurement"
method: POST
path: "/search/analytics/ad-event"
tags: ["Search"]
---

# Record Ad Measurement

`POST /search/analytics/ad-event`

## Request

- Base URL: `https://api.thaiprops.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.thaiprops.com/search/analytics/ad-event`
- Auth: none declared

## Request body

- AdMeasurementEventBody
  - `event_token` string, required
  - `session_id` string, nullable
  - `event_type` 'impression' | 'click' | 'view' | 'conversion', required
  - `property_id` integer, required
  - `placement_id` string, required
  - `campaign_id` integer, required
  - `ad_id` integer, required
  - `auction_token` string, nullable
  - `search_token` string, nullable
  - `result_position` integer, nullable
  - `page_path` string, nullable
  - `referrer` string, nullable
  - `attribution_token` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thaiprops/apis/thaiprops-admin-api.md) · [All operations](https://skmtc.dev/thaiprops/apis/thaiprops-admin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thaiprops/apis/thaiprops-admin-api/revisions/acaced1e12a2?raw)
