Introduction
The Retail Media Real-Time Performance API is a synchronous reporting endpoint that exposes near real-time campaign performance data from the Retail Media reporting platform. This API is designed for:- Demand Side users accessing through a Commerce Yield Private Market account,
- Demand Side users accessing through a Commerce Max Network account.
- Real-time monitoring during major retail events (for example, Black Friday, Prime Day, etc.),
- Live optimization dashboards for trading teams,
- Alerting systems reacting to sudden performance changes (spend drops/spikes, click anomalies, etc.).
- about 15 minute latency from impression/click to availability in the API,
- Onsite campaign coverage only,
- A focused set of metrics:
impressions,clicks,spend,
Request
Rate limits
This endpoint is limited to 10 calls per minute, below both the reporting and the default limit. The limit applies at application level for Client Credentials and per account for Authorization Code. See Rate Limits for the full policy and how to handle429 responses.
Required fields
startDate, dimensions, and metrics are required. dimensions and metrics must each contain at least one value.
Optional fields
Behavioral Notes
- Optional end date parameter: The endpoint accepts an optional
endDateparameter. If omitted, it will return data fromstartDateup to the current hour in the requested timezone. - Look back limit: The look back window is limited to 7 days relative to “now” in the requested timezone.
Requests withstartDateolder than this limit are rejected with a 400 Bad Request. - Time zone handling: All date/hour-based dimensions (date, hour) are computed in the requested timezone.
If timezone is omitted, UTC is used.
Example request
Response
A successful request returns200 OK with the report data directly in the response. There is no report ID to poll and no output to download.
Dimensions
Values in thedimensions array must be selected from the following.
Metrics
Values in themetrics array must be selected from the following.
billableImpressions and billableClicks are still accepted for backward compatibility with existing preview integrations, but are redundant with impressions/clicks and should not be used in new integrations.Response Codes
Response | Title | Detail | Troubleshooting |
|---|---|---|---|
🟢 | Success | Data returned successfully | Call executed with success |
🔴 | Validation Error | Invalid request (timezone, filters, dimensions, metrics, look back, etc.) | Review request parameters |
🔴 | Missing Entity Filters | No | Provide exactly one entity filter |
🔴 | Entity Filter Limit Exceeded | Too many IDs provided | Respect max limits |
🔴 | Missing Metrics | metrics is missing or empty | Provide at least one metric |
🔴 | Missing Dimensions | dimensions is missing or empty | Provide at least one dimension |
🔴 | Look back Window Exceeded |
| Ensure ≤ 7 days |
🔴 | Invalid Timezone | Unsupported timezone | Use valid timezone |
🔴 | Deserialization Error | Invalid format or type | Fix payload format |
🔴 | Forbidden | Unauthorized access to resources | Check permissions |
🔴 | Too Many Requests | Rate limit exceeded (default 10 calls per minute for this endpoint) | Wait before retrying and reduce call frequency |