# type PublisherQueryLanguageContextError (v202505)

**Service** **AdRuleService** [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](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/AdRuleService.ApiError) ▼ [AdRuleDateError](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.AdRuleDateError) [AdRuleError](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.AdRuleError) [AdRuleFrequencyCapError](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.AdRuleFrequencyCapError) [AdRulePriorityError](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.AdRulePriorityError) [AdRuleSlotError](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.AdRuleSlotError) [AdRuleTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.AdRuleTargetingError) [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.ApiVersionError) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.AuthenticationError) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.CollectionSizeError) [CommonError](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.CommonError) [CustomTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.CustomTargetingError) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.FeatureError) [GeoTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.GeoTargetingError) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.InternalApiError) [InventoryTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.InventoryTargetingError) [NotNullError](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.NotNullError) [ParseError](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.ParseError) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.PermissionError) [PoddingError](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.PoddingError) **PublisherQueryLanguageConte...** [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.PublisherQueryLanguageSyntaxError "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.QuotaError) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.RequiredCollectionError) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.RequiredError) [RequiredNumberError](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.RequiredNumberError) [ServerError](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.ServerError) [StatementError](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.StatementError) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.StringFormatError) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.StringLengthError) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.UniqueError)

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