# type RequiredError (v202511)

**Service** [AdRuleService](https://developers.google.com/ad-manager/api/reference/v202511/AdRuleService.RequiredError) [AdjustmentService](https://developers.google.com/ad-manager/api/reference/v202511/AdjustmentService.RequiredError) [AdsTxtService](https://developers.google.com/ad-manager/api/reference/v202511/AdsTxtService.RequiredError) [AudienceSegmentService](https://developers.google.com/ad-manager/api/reference/v202511/AudienceSegmentService.RequiredError) [CdnConfigurationService](https://developers.google.com/ad-manager/api/reference/v202511/CdnConfigurationService.RequiredError) [CmsMetadataService](https://developers.google.com/ad-manager/api/reference/v202511/CmsMetadataService.RequiredError) [CompanyService](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.RequiredError) [ContactService](https://developers.google.com/ad-manager/api/reference/v202511/ContactService.RequiredError) [ContentBundleService](https://developers.google.com/ad-manager/api/reference/v202511/ContentBundleService.RequiredError) [ContentService](https://developers.google.com/ad-manager/api/reference/v202511/ContentService.RequiredError) [CreativeService](https://developers.google.com/ad-manager/api/reference/v202511/CreativeService.RequiredError) [CreativeSetService](https://developers.google.com/ad-manager/api/reference/v202511/CreativeSetService.RequiredError) [CreativeTemplateService](https://developers.google.com/ad-manager/api/reference/v202511/CreativeTemplateService.RequiredError) [CreativeWrapperService](https://developers.google.com/ad-manager/api/reference/v202511/CreativeWrapperService.RequiredError) [CustomFieldService](https://developers.google.com/ad-manager/api/reference/v202511/CustomFieldService.RequiredError) **CustomTargetingService** [DaiAuthenticationKeyService](https://developers.google.com/ad-manager/api/reference/v202511/DaiAuthenticationKeyService.RequiredError) [DaiEncodingProfileService](https://developers.google.com/ad-manager/api/reference/v202511/DaiEncodingProfileService.RequiredError) [ForecastService](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.RequiredError) [InventoryService](https://developers.google.com/ad-manager/api/reference/v202511/InventoryService.RequiredError) [LabelService](https://developers.google.com/ad-manager/api/reference/v202511/LabelService.RequiredError) [LineItemCreativeAssociationService](https://developers.google.com/ad-manager/api/reference/v202511/LineItemCreativeAssociationService.RequiredError) [LineItemService](https://developers.google.com/ad-manager/api/reference/v202511/LineItemService.RequiredError) [LineItemTemplateService](https://developers.google.com/ad-manager/api/reference/v202511/LineItemTemplateService.RequiredError) [LiveStreamEventService](https://developers.google.com/ad-manager/api/reference/v202511/LiveStreamEventService.RequiredError) [MobileApplicationService](https://developers.google.com/ad-manager/api/reference/v202511/MobileApplicationService.RequiredError) [NativeStyleService](https://developers.google.com/ad-manager/api/reference/v202511/NativeStyleService.RequiredError) [NetworkService](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.RequiredError) [OrderService](https://developers.google.com/ad-manager/api/reference/v202511/OrderService.RequiredError) [PlacementService](https://developers.google.com/ad-manager/api/reference/v202511/PlacementService.RequiredError) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202511/ProposalLineItemService.RequiredError) [ProposalService](https://developers.google.com/ad-manager/api/reference/v202511/ProposalService.RequiredError) [PublisherQueryLanguageService](https://developers.google.com/ad-manager/api/reference/v202511/PublisherQueryLanguageService.RequiredError) [ReportService](https://developers.google.com/ad-manager/api/reference/v202511/ReportService.RequiredError) [SegmentPopulationService](https://developers.google.com/ad-manager/api/reference/v202511/SegmentPopulationService.RequiredError) [SiteService](https://developers.google.com/ad-manager/api/reference/v202511/SiteService.RequiredError) [StreamActivityMonitorService](https://developers.google.com/ad-manager/api/reference/v202511/StreamActivityMonitorService.RequiredError) [SuggestedAdUnitService](https://developers.google.com/ad-manager/api/reference/v202511/SuggestedAdUnitService.RequiredError) [TargetingPresetService](https://developers.google.com/ad-manager/api/reference/v202511/TargetingPresetService.RequiredError) [TeamService](https://developers.google.com/ad-manager/api/reference/v202511/TeamService.RequiredError) [UserService](https://developers.google.com/ad-manager/api/reference/v202511/UserService.RequiredError) [UserTeamAssociationService](https://developers.google.com/ad-manager/api/reference/v202511/UserTeamAssociationService.RequiredError) [YieldGroupService](https://developers.google.com/ad-manager/api/reference/v202511/YieldGroupService.RequiredError) **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202511/CustomTargetingService.ApiError) ▼ [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202511/CustomTargetingService.ApiVersionError) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202511/CustomTargetingService.AuthenticationError) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202511/CustomTargetingService.CollectionSizeError) [CommonError](https://developers.google.com/ad-manager/api/reference/v202511/CustomTargetingService.CommonError) [CustomTargetingError](https://developers.google.com/ad-manager/api/reference/v202511/CustomTargetingService.CustomTargetingError) [EntityChildrenLimitReachedE...](https://developers.google.com/ad-manager/api/reference/v202511/CustomTargetingService.EntityChildrenLimitReachedError "EntityChildrenLimitReachedError") [EntityLimitReachedError](https://developers.google.com/ad-manager/api/reference/v202511/CustomTargetingService.EntityLimitReachedError) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202511/CustomTargetingService.FeatureError) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202511/CustomTargetingService.InternalApiError) [NotNullError](https://developers.google.com/ad-manager/api/reference/v202511/CustomTargetingService.NotNullError) [NullError](https://developers.google.com/ad-manager/api/reference/v202511/CustomTargetingService.NullError) [ParseError](https://developers.google.com/ad-manager/api/reference/v202511/CustomTargetingService.ParseError) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202511/CustomTargetingService.PermissionError) [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202511/CustomTargetingService.PublisherQueryLanguageContextError "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202511/CustomTargetingService.PublisherQueryLanguageSyntaxError "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202511/CustomTargetingService.QuotaError) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202511/CustomTargetingService.RequiredCollectionError) **RequiredError** [ServerError](https://developers.google.com/ad-manager/api/reference/v202511/CustomTargetingService.ServerError) [StatementError](https://developers.google.com/ad-manager/api/reference/v202511/CustomTargetingService.StatementError) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202511/CustomTargetingService.StringFormatError) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202511/CustomTargetingService.StringLengthError) [TypeError](https://developers.google.com/ad-manager/api/reference/v202511/CustomTargetingService.TypeError) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202511/CustomTargetingService.UniqueError)

Errors due to missing required field.

*** ** * ** ***

Namespace
:
    `https://www.google.com/apis/ads/publisher/v202511`

| ## Field ||
|---|---|
| **`ApiError` (inherited)** ||
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` https://developers.google.com/ad-manager/api/reference/v202511/CustomTargetingService.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. |
| **`RequiredError`** ||
| ### `reason` | ` https://developers.google.com/ad-manager/api/reference/v202511/CustomTargetingService.RequiredError.Reason ` The error reason represented by an enum. *** ** * ** *** **Enumerations** `REQUIRED` :   Missing required field. <br /> |