Get aggregated event stats
Returns aggregated event counts for the pixel (GET /{pixel_id}/stats).
Rows are passed through from Meta as-is; their shape depends on the
aggregation requested. Meta only (platform metaads); other platforms
return 405.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
Pixel id.
Query Parameters
Aggregation dimension. Defaults to event.
"event"Value in
- "event"
- "host"
- "url"
- "url_by_rule"
- "pixel_fire"
- "device_type"
- "device_os"
- "browser_type"
- "had_pii"
- "custom_data_field"
- "match_keys"
- "event_source"
- "event_detection_method"
- "event_processing_results"
- "event_total_counts"
- "event_value_count"
Unix seconds lower bound.
Unix seconds upper bound.
Response Body
application/json
application/json
{ "platform": "metaads", "stats": { "aggregation": "string", "startTime": 0, "endTime": 0, "rows": [ {} ] }}Get ad tracking tags
Unified read of the platform's native click-URL tracking params. - Meta (facebook/instagram): the creative's `url_tags` (and template_url_spec). - Google (googleads): the campaign's `trackingUrlTemplate` + `finalUrlSuffix`. Subject to the Google Ads API access-tier daily quota; bulk audits need Standard access. - LinkedIn (linkedinads): the campaign's Dynamic UTM `dynamicValueParameters` + `customValueParameters`. Returns 405 for platforms without a click-URL tracking surface (TikTok, X, Pinterest). **Not pixels.** Despite the shared path segment, this endpoint has nothing to do with measurement tags. For an ad account's pixels use `GET /v1/accounts/{accountId}/tracking-tags?adAccountId=act_...` (Meta Pixels, with `kind` and `ownerAdAccountId`) or `GET /v1/accounts/{accountId}/conversion-destinations`.
Get a tracking tag
Returns the full tag record including the base-code `code` snippet, `lastFiredTime`, `ownerBusinessId`, `isUnavailable`, etc. Meta only (platform `metaads`); other platforms return 405. OpenAI Ads has no get-by-id endpoint, so it 405s here too. Use `GET /v1/accounts/{accountId}/tracking-tags` (list) instead.