# 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](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.PublisherQueryLanguageContextError) [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** [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/PublisherQueryLanguageService.ApiError) ▼ [AdUnitCodeError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.AdUnitCodeError) [AdUnitHierarchyError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.AdUnitHierarchyError) [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.ApiVersionError) [AudienceSegmentError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.AudienceSegmentError) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.AuthenticationError) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.CollectionSizeError) [CommonError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.CommonError) [CreativeError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.CreativeError) [DealError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.DealError) [ExchangeRateError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.ExchangeRateError) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.FeatureError) [FileError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.FileError) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.InternalApiError) [InvalidEmailError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.InvalidEmailError) [InvalidUrlError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.InvalidUrlError) [InventoryTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.InventoryTargetingError) [InventoryUnitError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.InventoryUnitError) [LineItemFlightDateError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.LineItemFlightDateError) [LineItemOperationError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.LineItemOperationError) [NotNullError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.NotNullError) [NullError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.NullError) [OrderActionError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.OrderActionError) [OrderError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.OrderError) [ParseError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.ParseError) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.PermissionError) **PublisherQueryLanguageConte...** [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.PublisherQueryLanguageSyntaxError "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.QuotaError) [RangeError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.RangeError) [RegExError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.RegExError) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.RequiredCollectionError) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.RequiredError) [RequiredNumberError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.RequiredNumberError) [RequiredSizeError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.RequiredSizeError) [ReservationDetailsError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.ReservationDetailsError) [ServerError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.ServerError) [StatementError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.StatementError) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.StringFormatError) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.StringLengthError) [TypeError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.TypeError) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.UniqueError)

An error that occurs while executing a PQL query contained in
a [Statement](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.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/PublisherQueryLanguageService.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/PublisherQueryLanguageService.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 /> |