Overview
Use the Line Item Diagnostics endpoint to check whether a line item is configured correctly. The response reports a status for each evaluated line item and, when requested, the configuration context, evaluated parameters, and issues that require attention.Availability: Coming soonThis endpoint is documented ahead of availability in the Experimental Retail Media API.
Endpoint
Get Line Item Diagnostics
Send exactly one resource selector:line-item-id or campaign-id. A line-item request returns one result. A campaign request returns a paginated result set.
Query Parameters
status and systemData are always included. Do not include them in fields; the request succeeds but includes an invalid-fields warning.
Sample Request
Response Attributes
Each result is indata[].attributes.
Status Values
For campaign requests,
metadata contains cursor (the next page cursor, or null), limit, and count.
Sample Response — 200 OK
Result Availability
An unexpected evaluation failure returns200 OK with status set to Unknown and a result-unavailable warning. Treat this as an incomplete result and retry later; do not interpret it as confirmation that the line item can serve.