# type PublisherQueryLanguageSyntaxError (v202511)

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

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

*** ** * ** ***

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

| ## Field ||
|---|---|
| **`ApiError` (inherited)** ||
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` https://developers.google.com/ad-manager/api/reference/v202511/AudienceSegmentService.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. |
| **`PublisherQueryLanguageSyntaxError`** ||
| ### `reason` | ` https://developers.google.com/ad-manager/api/reference/v202511/AudienceSegmentService.PublisherQueryLanguageSyntaxError.Reason ` The error reason represented by an enum. *** ** * ** *** **Enumerations** `UNPARSABLE` :   Indicates that there was a PQL syntax error. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |