Count events (v2)

Return event counts scoped by source type. Same scope parameters and transforms as v2 events.

Query Params
string
enum
Defaults to pixel

Event source type: pixel or dsp. Defaults to pixel if omitted.

Allowed:
string

Pixel identifier. Use with source=pixel.

string

Project identifier. Use with source=pixel, or alongside campaign_id for developer token auth (source=dsp).

string

Campaign identifier. Use with source=dsp. Bearer token auth requires project_id alongside campaign_id.

int64

Inclusive start timestamp in milliseconds since epoch.

int64

Inclusive end timestamp in milliseconds since epoch.

string

Filter expression using <field>:<op>:<value> syntax.

string

Fields to calculate a distinct count on.

Responses

400

Invalid parameters.

401

Missing or invalid authentication.

500

Internal server error.

Language
Credentials
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json