# type PublisherQueryLanguageContextError (v202505)

**Service** [AdRuleService](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.PublisherQueryLanguageContextError) [AdjustmentService](https://developers.google.com/ad-manager/api/reference/v202505/AdjustmentService.PublisherQueryLanguageContextError) [AdsTxtService](https://developers.google.com/ad-manager/api/reference/v202505/AdsTxtService.PublisherQueryLanguageContextError) [AudienceSegmentService](https://developers.google.com/ad-manager/api/reference/v202505/AudienceSegmentService.PublisherQueryLanguageContextError) [CdnConfigurationService](https://developers.google.com/ad-manager/api/reference/v202505/CdnConfigurationService.PublisherQueryLanguageContextError) [CmsMetadataService](https://developers.google.com/ad-manager/api/reference/v202505/CmsMetadataService.PublisherQueryLanguageContextError) [CompanyService](https://developers.google.com/ad-manager/api/reference/v202505/CompanyService.PublisherQueryLanguageContextError) [ContactService](https://developers.google.com/ad-manager/api/reference/v202505/ContactService.PublisherQueryLanguageContextError) [ContentBundleService](https://developers.google.com/ad-manager/api/reference/v202505/ContentBundleService.PublisherQueryLanguageContextError) [ContentService](https://developers.google.com/ad-manager/api/reference/v202505/ContentService.PublisherQueryLanguageContextError) [CreativeService](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.PublisherQueryLanguageContextError) [CreativeSetService](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.PublisherQueryLanguageContextError) [CreativeTemplateService](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.PublisherQueryLanguageContextError) [CreativeWrapperService](https://developers.google.com/ad-manager/api/reference/v202505/CreativeWrapperService.PublisherQueryLanguageContextError) [CustomFieldService](https://developers.google.com/ad-manager/api/reference/v202505/CustomFieldService.PublisherQueryLanguageContextError) [CustomTargetingService](https://developers.google.com/ad-manager/api/reference/v202505/CustomTargetingService.PublisherQueryLanguageContextError) [DaiAuthenticationKeyService](https://developers.google.com/ad-manager/api/reference/v202505/DaiAuthenticationKeyService.PublisherQueryLanguageContextError) [DaiEncodingProfileService](https://developers.google.com/ad-manager/api/reference/v202505/DaiEncodingProfileService.PublisherQueryLanguageContextError) [ForecastService](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.PublisherQueryLanguageContextError) [InventoryService](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.PublisherQueryLanguageContextError) [LabelService](https://developers.google.com/ad-manager/api/reference/v202505/LabelService.PublisherQueryLanguageContextError) [LineItemCreativeAssociationService](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.PublisherQueryLanguageContextError) [LineItemService](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.PublisherQueryLanguageContextError) **LineItemTemplateService** [LiveStreamEventService](https://developers.google.com/ad-manager/api/reference/v202505/LiveStreamEventService.PublisherQueryLanguageContextError) [MobileApplicationService](https://developers.google.com/ad-manager/api/reference/v202505/MobileApplicationService.PublisherQueryLanguageContextError) [NativeStyleService](https://developers.google.com/ad-manager/api/reference/v202505/NativeStyleService.PublisherQueryLanguageContextError) [NetworkService](https://developers.google.com/ad-manager/api/reference/v202505/NetworkService.PublisherQueryLanguageContextError) [OrderService](https://developers.google.com/ad-manager/api/reference/v202505/OrderService.PublisherQueryLanguageContextError) [PlacementService](https://developers.google.com/ad-manager/api/reference/v202505/PlacementService.PublisherQueryLanguageContextError) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202505/ProposalLineItemService.PublisherQueryLanguageContextError) [ProposalService](https://developers.google.com/ad-manager/api/reference/v202505/ProposalService.PublisherQueryLanguageContextError) [PublisherQueryLanguageService](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.PublisherQueryLanguageContextError) [ReportService](https://developers.google.com/ad-manager/api/reference/v202505/ReportService.PublisherQueryLanguageContextError) [SegmentPopulationService](https://developers.google.com/ad-manager/api/reference/v202505/SegmentPopulationService.PublisherQueryLanguageContextError) [SiteService](https://developers.google.com/ad-manager/api/reference/v202505/SiteService.PublisherQueryLanguageContextError) [StreamActivityMonitorService](https://developers.google.com/ad-manager/api/reference/v202505/StreamActivityMonitorService.PublisherQueryLanguageContextError) [SuggestedAdUnitService](https://developers.google.com/ad-manager/api/reference/v202505/SuggestedAdUnitService.PublisherQueryLanguageContextError) [TargetingPresetService](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.PublisherQueryLanguageContextError) [TeamService](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.PublisherQueryLanguageContextError) [UserService](https://developers.google.com/ad-manager/api/reference/v202505/UserService.PublisherQueryLanguageContextError) [UserTeamAssociationService](https://developers.google.com/ad-manager/api/reference/v202505/UserTeamAssociationService.PublisherQueryLanguageContextError) [YieldGroupService](https://developers.google.com/ad-manager/api/reference/v202505/YieldGroupService.PublisherQueryLanguageContextError) **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.ApiError) ▼ [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.ApiVersionError) [AssetError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.AssetError) [AudienceExtensionError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.AudienceExtensionError) [AudienceSegmentError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.AudienceSegmentError) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.AuthenticationError) [ClickTrackingLineItemError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.ClickTrackingLineItemError) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.CollectionSizeError) [CommonError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.CommonError) [CompanyCreditStatusError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.CompanyCreditStatusError) [CreativeError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.CreativeError) [CrossSellError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.CrossSellError) [CurrencyCodeError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.CurrencyCodeError) [CustomFieldValueError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.CustomFieldValueError) [CustomTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.CustomTargetingError) [DateTimeRangeTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.DateTimeRangeTargetingError) [DayPartTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.DayPartTargetingError) [EntityChildrenLimitReachedE...](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.EntityChildrenLimitReachedError "EntityChildrenLimitReachedError") [EntityLimitReachedError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.EntityLimitReachedError) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.FeatureError) [ForecastError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.ForecastError) [FrequencyCapError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.FrequencyCapError) [GenericTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.GenericTargetingError) [GeoTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.GeoTargetingError) [GrpSettingsError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.GrpSettingsError) [ImageError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.ImageError) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.InternalApiError) [InvalidUrlError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.InvalidUrlError) [InventoryTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.InventoryTargetingError) [LabelEntityAssociationError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.LabelEntityAssociationError) [LineItemActivityAssociation...](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.LineItemActivityAssociationError "LineItemActivityAssociationError") [LineItemCreativeAssociation...](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.LineItemCreativeAssociationError "LineItemCreativeAssociationError") [LineItemError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.LineItemError) [LineItemFlightDateError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.LineItemFlightDateError) [LineItemOperationError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.LineItemOperationError) [MobileApplicationTargetingE...](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.MobileApplicationTargetingError "MobileApplicationTargetingError") [NotNullError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.NotNullError) [NullError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.NullError) [OrderActionError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.OrderActionError) [OrderError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.OrderError) [ParseError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.ParseError) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.PermissionError) [PrecisionError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.PrecisionError) [ProgrammaticError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.ProgrammaticError) **PublisherQueryLanguageConte...** [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.PublisherQueryLanguageSyntaxError "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.QuotaError) [RangeError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.RangeError) [RegExError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.RegExError) [RequestPlatformTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.RequestPlatformTargetingError) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.RequiredCollectionError) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.RequiredError) [RequiredNumberError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.RequiredNumberError) [RequiredSizeError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.RequiredSizeError) [ReservationDetailsError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.ReservationDetailsError) [ServerError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.ServerError) [SetTopBoxLineItemError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.SetTopBoxLineItemError) [StatementError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.StatementError) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.StringFormatError) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.StringLengthError) [TeamError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.TeamError) [TechnologyTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.TechnologyTargetingError) [TimeZoneError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.TimeZoneError) [TranscodingError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.TranscodingError) [TypeError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.TypeError) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.UniqueError) [UserDomainTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.UserDomainTargetingError) [VideoPositionTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.VideoPositionTargetingError)

An error that occurs while executing a PQL query contained in
a [Statement](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.Statement) object.

*** ** * ** ***

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/LineItemTemplateService.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. |
| **`PublisherQueryLanguageContextError`** ||
| ### `reason` | ` https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.PublisherQueryLanguageContextError.Reason ` The error reason represented by an enum. *** ** * ** *** **Enumerations** `UNEXECUTABLE` :   Indicates that there was an error executing the PQL. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |