# type PublisherQueryLanguageContextError (v202605)

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

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

*** ** * ** ***

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

| ## Field ||
|---|---|
| **`ApiError` (inherited)** ||
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` 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` | ` PublisherQueryLanguageConte... ` 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 /> |