batch_impressions
Record multiple impressions in a single request (up to 100).
WHEN TO USE:
Bulk reporting impressions from offline period
Efficient batch processing of impressions
When device was offline and needs to sync
RETURNS:
success: Boolean indicating success
processed: Number of impressions processed
failed: Number of failed impressions
total_earnings: Total earnings credited
errors: Any error details for failed impressions
EXAMPLE: User: "Sync the last hour of impressions" batch_impressions({ impressions: [ { fingerprint: "P_abc123", ad_id: "507f1f77bcf86cd799439011", duration_seconds: 15 }, { fingerprint: "P_abc123", ad_id: "507f1f77bcf86cd799439012", duration_seconds: 10 } ] })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| impressions | Yes | Array of impression objects (max 100) |