# type PublisherQueryLanguageSyntaxError (v202602)

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

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

*** ** * ** ***

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

| ## Field ||
|---|---|
| **`ApiError` (inherited)** ||
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` https://developers.google.com/ad-manager/api/reference/v202602/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/v202602/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 /> |