type EntityChildrenLimitReachedError (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
EntityChildrenLimitReachedError is an error that occurs when an entity has too many children, such as too many line items on an order or too many creatives associated with a line item.
This error can also occur when targeting expressions exceed size limits or when the number of custom targeting values for a key is exceeded.
The error can be triggered by reaching limits for attachments on proposals, proposal line items, products in a package, rates on a rate card, premiums on a rate card, ad units in ad exclusion rules, native styles for a native ad format, or targeting expressions on native styles.
The reason field provides specific enumeration values indicating the exact limit that has been reached.
The ApiError inheritance means this error includes fields like fieldPath, fieldPathElements, trigger, and errorString to help identify the cause and context 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.
The number of product template and product base rates on the rate card (including excluded
product base rates) exceeds the max number allowed per rate card in the network.
The number of ad units on AdExclusionRule.inventoryTargeting exceeds the max number
of ad units allowed per ad exclusion rule inventory targeting in the network.
NATIVE_STYLE_LIMIT_FOR_NATIVE_AD_FORMAT_REACHED
The number of native styles under the native creative template exceeds the
max number of native styles allowed per native creative template in the
network.
[[["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."],[],["This document details various services and associated errors within an ad management system. Key services include AudienceSegmentService, CustomTargetingService, ForecastService, InventoryService, and others. The primary error type is `EntityChildrenLimitReachedError`, indicating that a specific entity has exceeded its allowed number of child elements. Enumerated reasons for this error include reaching limits on line items per order, creatives per line item, ad units per placement, targeting expressions, custom targeting values, and other limits across various service entities.\n"]]