POST
/
app
/
v0
/
log
/
activity
curl --request POST \
  --url https://your_a2_service/app/v0/log/activity \
  --header 'Content-Type: application/json' \
  --data '{
  "catalogs": [
    {
      "id": "<string>"
    }
  ],
  "channel": "<string>",
  "device": {
    "ext": "<any>",
    "geo": {
      "accuracy": 123,
      "city": "<string>",
      "country": "<string>",
      "ext": "<any>",
      "ipservice": 1,
      "lastfix": 1,
      "lat": 123,
      "lon": 123,
      "metro": "<string>",
      "region": "<string>",
      "regionfips104": "<string>",
      "type": 1,
      "utcoffset": 123,
      "zip": "<string>"
    },
    "ip": "<string>",
    "ua": "<string>"
  },
  "device_id": "<string>",
  "id": "<string>",
  "page_id": "<string>",
  "schema": "activity.item_view",
  "timestamp": 123,
  "user_id": "<string>"
}'

Body

application/json
catalogs
object[]
required
channel
string
required

Channel through which the activity occurred (e.g., 'web', 'mobile', 'app')

device_id
string
required

Unique identifier for the device used

schema
enum<string>
required
Available options:
activity.item_view
timestamp
integer
required

Unix timestamp when the activity occurred

user_id
string
required

Unique identifier for the user performing the activity

device
object | null

Optional AdCom v1.0 Device information

id
string | null

Optional unique identifier for the activity event

page_id
string | null

Optional identifier for the specific page where the activity occurred

Response

200

OK