Query advertising metrics
Returns normalized advertising and attribution rows for the selected store and date range.
Authorizations
A server-side Bily API key created under Settings > MCP > Access key fallback. Select the intended store before creating it.
Headers
An organization ID returned by GET /context or GET /organizations. Required for GET /stores and optional for store-scoped paths.
"org_01J8W7T9G3E6ZQ4M2K5N8P1R0S"
Path Parameters
The exact store URL returned by GET /context or GET /stores.
"store.example.com"
Query Parameters
First date to include, in YYYY-MM-DD format.
Last date to include, in YYYY-MM-DD format.
Normalized channel or cross-channel.
Attribution model.
Attribution window.
Time grain.
day, hour Comma-separated country codes.
Comma-separated device types.
Comma-separated operating systems.
Comma-separated browser names.
Comma-separated product IDs.
Dimension attribution context.
conversion, first_touch Response
Request completed successfully.