type EntityChildrenLimitReachedError (v202411)
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
      
         
         
         
         Lists errors relating to having too many children on an entity.
         
         
            - Namespace
 
            - 
               
https://www.google.com/apis/ads/publisher/v202411
             
         
         
            
               
                  
                     
                        Field
                      | 
                  
               
               
                  
                     
                        
                           ApiError (inherited)
                      | 
                  
                  
                     
                        
                           fieldPath
                        
                      | 
                     
                         
                           
                              xsd:string
                         
                        The OGNL field path to identify cause of error.
 
                      | 
                  
                  
                     
                        
                           fieldPathElements
                        
                      | 
                     
                         
                           
                              FieldPathElement[]
                         
                        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.
 
                      | 
                  
                  
                     
                        
                           EntityChildrenLimitReachedError
                        
                      | 
                  
                  
                     
                        
                           reason
                        
                      | 
                     
                         
                           
                              EntityChildrenLimitReachedE...
                           
                         
                        
                             
                           Enumerations
                           
                              - 
                                 
LINE_ITEM_LIMIT_FOR_ORDER_REACHED
                               
                              - The number of line items on the order exceeds the max number of line items allowed per order
                in the network.
 
                              - 
                                 
CREATIVE_ASSOCIATION_LIMIT_FOR_LINE_ITEM_REACHED
                               
                              - The number of creatives associated with the line item exceeds the max number of creatives
                allowed to be associated with a line item in the network.
 
                              - 
                                 
AD_UNIT_LIMIT_FOR_PLACEMENT_REACHED
                               
                              - The number of ad units on the placement exceeds the max number of ad units
                allowed per placement in the network.
 
                              - 
                                 
TARGETING_EXPRESSION_LIMIT_FOR_LINE_ITEM_REACHED
                               
                              - The number of targeting expressions on the line item exceeds the max number of targeting
                expressions allowed per line item in the network.
 
                              - 
                                 
TARGETING_EXPRESSION_SIZE_LIMIT_REACHED
                               
                              - The size of a single targeting expression tree exceeds the max size allowed by the network.
 
                              - 
                                 
CUSTOM_TARGETING_VALUES_FOR_KEY_LIMIT_REACHED
                               
                              - The number of custom targeting values for the free-form or predefined custom targeting key
                exceeds the max number allowed.
 
                              - 
                                 
TARGETING_EXPRESSION_LIMIT_FOR_CREATIVES_ON_LINE_ITEM_REACHED
                               
                              - The total number of targeting expressions on the creatives for the line item exceeds
                the max number allowed per line item in the network.
 
                              - 
                                 
ATTACHMENT_LIMIT_FOR_PROPOSAL_REACHED
                               
                              - The number of attachments added to the proposal exceeds the max number
                allowed per proposal in the network.
 
                              - 
                                 
PROPOSAL_LINE_ITEM_LIMIT_FOR_PROPOSAL_REACHED
                               
                              - The number of proposal line items on the proposal exceeds the max number
                allowed per proposal in the network.
 
                              - 
                                 
PRODUCT_LIMIT_FOR_PRODUCT_PACKAGE_REACHED
                               
                              - The number of product package items on the product package exceeds the max number
                allowed per product package in the network.
 
                              - 
                                 
PRODUCT_TEMPLATE_AND_PRODUCT_BASE_RATE_LIMIT_FOR_RATE_CARD_REACHED
                               
                              - 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.
 
                              - 
                                 
PRODUCT_PACKAGE_ITEM_BASE_RATE_LIMIT_FOR_RATE_CARD_REACHED
                               
                              - The number of product package item base rates on the rate card exceeds the max number
                allowed per rate card in the network.
 
                              - 
                                 
PREMIUM_LIMIT_FOR_RATE_CARD_REACHED
                               
                              - The number of premiums of the rate card exceeds the max number allowed per rate card
                in the network.
 
                              - 
                                 
AD_UNIT_LIMIT_FOR_AD_EXCLUSION_RULE_TARGETING_REACHED
                               
                              - 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.
 
                              - 
                                 
TARGETING_EXPRESSION_LIMIT_FOR_PRESENTATION_ASSIGNMENT_REACHED
                               
                              - The number of targeting expressions on the native style exceeds the max number of targeting
                expressions allowed per native style in the network.
 
                              - 
                                 
UNKNOWN
                               
                              - The value returned if the actual value is not exposed by the requested API version.
 
                            
                        
                      | 
                  
               
            
         
       
   
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-08-06 UTC.
  
  
  
    
      [null,null,["Last updated 2025-08-06 UTC."],[],["The provided content outlines the `EntityChildrenLimitReachedError` and its related services within an API framework. This error occurs when a limit is exceeded on the number of children an entity can have. The services listed include `AudienceSegmentService`, `CustomTargetingService`, `ForecastService`, `ProposalLineItemService`, and others. Enumerations specify the reasons for the error, such as exceeding line item, creative, ad unit, or targeting expression limits on specific entities. Additionally it provides the `ApiError` fields and `fieldPathElements`.\n"]]