type GrpSettingsError (v202502)
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
      
         
         
         
         Errors associated with line items with GRP settings.
         
         
            - Namespace
- 
               https://www.google.com/apis/ads/publisher/v202502
               
                  
                     | 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.
 | 
                  
                     | GrpSettingsError | 
                  
                     | 
                           reason | 
                           
                              GrpSettingsError.Reason
                            The error reason represented by an enum.
 Enumerations
 
                              
                                 INVALID_AGE_RANGEAge range for GRP audience is not valid. Please see the
                Ad Manager Help Center
                for more information.
                                 UNDER_18_MIN_AGE_REQUIRES_ALL_AGESAge range for GRP audience is not allowed to include ages under 18 unless designating all
                ages in target(2-65+).
                                 LINE_ITEM_ENVIRONMENT_TYPE_NOT_SUPPORTEDGRP settings are only supported for video line items.
                                 NIELSEN_DAR_REQUIRES_INSTREAM_VIDEOFor deals with Nielsen DAR enabled, there must be an instream video environment.
                                 LINE_ITEM_TYPE_NOT_SUPPORTEDGRP settings are not supported for the given line item type.
                                 CANNOT_SPECIFY_GENDER_FOR_GIVEN_AGE_RANGEGRP audience gender cannot be specified for the selected age range.
                                 INVALID_MIN_AGEMinimum age for GRP audience is not valid.
                                 INVALID_MAX_AGEMaximum age for GRP audience is not valid.
                                 CANNOT_DISABLE_GRP_AFTER_ENABLINGGRP settings cannot be disabled.
                                 CANNOT_CHANGE_GRP_PROVIDERSGRP provider cannot be updated.
                                 CANNOT_CHANGE_GRP_SETTINGSGRP settings cannot be updated once the line item has started serving.
                                 GRP_AUDIENCE_GOAL_NOT_SUPPORTEDImpression goal based on GRP audience is not supported.
                                 DEMOG_GOAL_EXPECTEDImpression goal based on GRP audience expected.
                                 CANNOT_SET_GRP_AUDIENCE_GOALImpression goal based on GRP audience cannot be set once the line item has started serving.
                                 CANNOT_REMOVE_GRP_AUDIENCE_GOALImpression goal based on GRP audience cannot be removed once the line item has started
                serving.
                                 UNSUPPORTED_GEO_TARGETINGUnsupported geographic location targeted for line item with GRP audience goal.
                                 UNSUPPORTED_GRP_SETTINGGRP Settings specified are unsupported.
                                 SHOULD_SET_IN_TARGET_GOAL_THROUGH_GRP_SETTINGSIn-target line items should be set through the grpSettings target impression goal.
                                 SHOULD_SET_IN_TARGET_GOAL_THROUGH_PRIMARY_GOALIn-target line items should be set through the primaryReservationUnit's in-target Impressions
                unit type.
                                 NIELSEN_REGISTRATION_FAILEDAttempt to register with Nielsen failed.
                                 LEGACY_NIELSEN_CAMPAIGN_REGISTRATION_ATTEMPTAttempted to register a placement on a legacy Nielsen campaign.
                                 UNKNOWNThe 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 content details error handling within ad management services, specifically focusing on `GrpSettingsError`. It outlines various services such as `ForecastService`, `LineItemService`, and `LineItemTemplateService`, and a hierarchy of errors inheriting from `ApiError`.  `GrpSettingsError` defines specific issues, like invalid age ranges, unsupported line item types or environments, inability to modify settings after serving has begun, or issues with Nielsen registration. These errors are tied to actions involving GRP (Gross Rating Point) settings for audience targeting.\n"]]