type SetTopBoxLineItemError (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
Errors related to set-top box line items are defined within the SetTopBoxLineItemError class, which inherits from ApiError.
Specific error reasons for set-top box line items are provided as enumerations within the SetTopBoxLineItemError.Reason field.
Set-top box line items have specific constraints regarding targeted ad units, excluded ad units, pod and midroll positions, environment types, companions, creative sizes, line item types, order configurations, cost types, cost per unit, discounts, delivery rates, status changes, priorities, sync revisions, archiving, copying, creative rotation types, frequency cap time units and ranges, and primary goal unit types.
Each error includes fields like fieldPath, fieldPathElements, trigger, and errorString for identifying the cause and details of the error.
A parsed copy of the field path. For example, the field path "operations[1].operand"
corresponds to this list: {FieldPathElement(field = "operations", index = 1),
FieldPathElement(field = "operand", index = null)}.
trigger
xsd:string
The data that caused the error.
errorString
xsd:string
A simple string representation of the error and reason.
Set-top box line items cannot go from a state that is ready to be synced to a
state that is not ready to be synced.
INVALID_LINE_ITEM_PRIORITY
Set-top box line items can only have certain priorities for different
reservation types:
ReservationType.SPONSORSHIP => 1
ReservationType.HOUSE => 16
ReservationType.STANDARD => Between 1 and 16 inclusive.
SYNC_REVISION_NOT_INCREASING
When a set-top box line item is pushed to Canoe, a revision number is used to keep track of
the last version of the line item that Ad Manager synced with Canoe. The only change
allowed on revisions within Ad Manager is increasing the revision number.
SYNC_REVISION_MUST_BE_GREATER_THAN_ZERO
When a set-top box line item is pushed to Canoe, a revision number is used to keep track of
the last version of the line item that Ad Manager synced with Canoe. Sync revisions begin
at one and can only increase in value.
CANNOT_UNARCHIVE_SET_TOP_BOX_LINE_ITEMS
Set Top box line items cannot be unarchived.
COPY_SET_TOP_BOX_ENABLED_LINE_ITEM_NOT_ALLOWED
Set-top box enabled line items cannot be copied for V0 of the video Canoe campaign push.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[],["The content outlines errors associated with set-top box line items within the ForecastService. Key information includes the inheritance of errors from `ApiError`, with details on `fieldPath`, `fieldPathElements`, `trigger`, and `errorString`. `SetTopBoxLineItemError` details specific error reasons through an enum, such as targeting issues (ad units, pod positions), feature limitations (companions, cost type, discounts), and sync revision tracking. Enumerations further explain restrictions related to ad units, line item types, cost types, discounts, and line item status.\n"]]