Returns aggregated ad performance metrics for your tenant over a time range. You can group results by client/grouping and optionally by time granularity (daily or hourly).
Definitions (high level):
Validation Rules:
startDate must be before or equal to endDateHOURLY and DAILY dimensions are mutually exclusiveHOURLY, 365 days for DAILY or no time dimensiontenantClientIds and tenantGroupingIds arraysTenant API Key with developer:data:read scope. Create an API key from https://developer.zeroclick.ai/ by navigating to API Keys and selecting the Organization API Keys tab. This is a private API key and must be stored securely - never expose it in public-facing code or client-side applications.
Start date in ISO 8601 format (e.g., "2026-01-01T00:00:00Z")
End date in ISO 8601 format (e.g., "2026-01-31T23:59:59Z")
Dimensions to group by. Empty array returns overall aggregates. Can combine entity dimensions (TENANT_CLIENT_ID, TENANT_GROUPING_ID) with one time dimension (HOURLY or DAILY). Time dimensions are mutually exclusive.
TENANT_CLIENT_ID, TENANT_GROUPING_ID, HOURLY, DAILY Optional filter by tenant client IDs (max 100 items)
Optional filter by tenant grouping IDs (max 100 items)
Successful response with aggregated metrics and optional time series breakdown
Developer analytics metrics response
Array of groups, each containing dimension values, time series data, and totals