Vast Events
POST /api
Use this method to get your reporting data of the Vast events
Headers
Name
Value
Authorization
Basic <token>
Body
{
table: "vast_events",
startDate: string, // (format: YYYY-MM-DDThh:mm:ss)
endDate: string, // (format: YYYY-MM-DDThh:mm:ss)
fields: [
{ name: "timestamp", as?: string },
{ name: "account_id", as?: string },
{ name: "account_name", as?: string },
{ name: "site_id", as?: string },
{ name: "site_name", as?: string },
{ name: "tag_id", as?: string },
{ name: "tag_name", as?: string },
{ name: "auction_type", as?: string },
{ name: "os", as?: string },
{ name: "browser", as?: string },
{ name: "device", as?: string },
{ name: "domain", as?: string },
{ name: "country", as?: string },
{ name: "ssp", as?: string },
{ name: "seat", as?: string },
{ name: "adomain", as?: string },
{ name: "deal", as?: string },
],
metrics: [
{ name: "impression", as?: string },
{ name: "start", as?: string },
{ name: "firstquartile", as?: string },
{ name: "midpoint", as?: string },
{ name: "thirdquartile", as?: string },
{ name: "complete", as?: string },
{ name: "creativeview", as?: string },
{ name: "passback", as?: string },
{ name: "empty", as?: string },
{ name: "click", as?: string },
{ name: "error", as?: string }
],
timeSplit: "day" | "hour"
}Last updated
Was this helpful?