Record Activity Log
Records user activity logs for advertising optimization and analytics.
Supported activity types:
activity.item_view
: Records product detail page viewsactivity.add_cart
: Records cart addition eventsactivity.page_view
: Records page navigation eventsactivity.search
: Records search query eventsactivity.purchase
: Records completed purchases
Note: Returns 200 OK for all requests. Invalid schemas are silently ignored.
Body
Channel through which the activity occurred (e.g., 'web', 'mobile', 'app')
Unique identifier for the device used
activity.item_view
Unix timestamp when the activity occurred
Unique identifier for the user performing the activity
Optional AdCom v1.0 Device information
Optional unique identifier for the activity event
Optional identifier for the specific page where the activity occurred
Channel through which the activity occurred (e.g., 'web', 'mobile', 'app')
Unique identifier for the device used
activity.item_view
Unix timestamp when the activity occurred
Unique identifier for the user performing the activity
Optional AdCom v1.0 Device information
Optional unique identifier for the activity event
Optional identifier for the specific page where the activity occurred
Channel through which the activity occurred (e.g., 'web', 'mobile', 'app')
Unique identifier for the device used
activity.add_cart
Unix timestamp when the activity occurred
Unique identifier for the user performing the activity
Optional AdCom v1.0 Device information
Optional unique identifier for the activity event
Optional identifier for the specific page where the activity occurred
Channel through which the activity occurred (e.g., 'web', 'mobile', 'app')
Unique identifier for the device used
activity.page_view
Unix timestamp when the activity occurred
Unique identifier for the user performing the activity
Optional AdCom v1.0 Device information
Optional unique identifier for the activity event
Optional identifier for the specific page where the activity occurred
Channel through which the activity occurred (e.g., 'web', 'mobile', 'app')
Unique identifier for the device used
activity.search
Unix timestamp when the activity occurred
Unique identifier for the user performing the activity
Optional AdCom v1.0 Device information
Optional unique identifier for the activity event
Optional identifier for the specific page where the activity occurred
Channel through which the activity occurred (e.g., 'web', 'mobile', 'app')
Unique identifier for the device used
activity.purchase
Unix timestamp when the activity occurred
Unique identifier for the user performing the activity
Optional AdCom v1.0 Device information
Optional unique identifier for the activity event
Optional identifier for the specific page where the activity occurred
Response
OK