# type RequestPlatformTargetingError (v202505)

**Service** [ForecastService](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.RequestPlatformTargetingError) [LineItemService](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.RequestPlatformTargetingError) [LineItemTemplateService](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.RequestPlatformTargetingError) [OrderService](https://developers.google.com/ad-manager/api/reference/v202505/OrderService.RequestPlatformTargetingError) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202505/ProposalLineItemService.RequestPlatformTargetingError) **TargetingPresetService** [YieldGroupService](https://developers.google.com/ad-manager/api/reference/v202505/YieldGroupService.RequestPlatformTargetingError) **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.ApiError) ▼ [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.ApiVersionError) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.AuthenticationError) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.CollectionSizeError) [CommonError](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.CommonError) [CustomTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.CustomTargetingError) [DateTimeRangeTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.DateTimeRangeTargetingError) [DayPartTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.DayPartTargetingError) [EntityChildrenLimitReachedE...](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.EntityChildrenLimitReachedError "EntityChildrenLimitReachedError") [EntityLimitReachedError](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.EntityLimitReachedError) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.FeatureError) [GenericTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.GenericTargetingError) [GeoTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.GeoTargetingError) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.InternalApiError) [InventoryTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.InventoryTargetingError) [MobileApplicationTargetingE...](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.MobileApplicationTargetingError "MobileApplicationTargetingError") [NotNullError](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.NotNullError) [ParseError](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.ParseError) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.PermissionError) [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.PublisherQueryLanguageContextError "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.PublisherQueryLanguageSyntaxError "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.QuotaError) **RequestPlatformTargetingError** [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.RequiredCollectionError) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.RequiredError) [ServerError](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.ServerError) [StatementError](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.StatementError) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.StringFormatError) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.StringLengthError) [TechnologyTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.TechnologyTargetingError) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.UniqueError) [UserDomainTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.UserDomainTargetingError) [VideoPositionTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.VideoPositionTargetingError)

Errors related to request platform targeting.

*** ** * ** ***

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

| ## Field ||
|---|---|
| **`ApiError` (inherited)** ||
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.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. |
| **`RequestPlatformTargetingError`** ||
| ### `reason` | ` https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.RequestPlatformTargetingError.Reason ` The error reason represented by an enum. *** ** * ** *** **Enumerations** `REQUEST_PLATFORM_TYPE_NOT_SUPPORTED_BY_LINE_ITEM_TYPE` :   The line item type does not support the targeted request platform type. `REQUEST_PLATFORM_TYPE_NOT_SUPPORTED_BY_ENVIRONMENT_TYPE` :   The line item environment type does not support the targeted request platform type. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |