# type PublisherQueryLanguageSyntaxError (v202505)

**Service** [AdRuleService](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.PublisherQueryLanguageSyntaxError) [AdjustmentService](https://developers.google.com/ad-manager/api/reference/v202505/AdjustmentService.PublisherQueryLanguageSyntaxError) [AdsTxtService](https://developers.google.com/ad-manager/api/reference/v202505/AdsTxtService.PublisherQueryLanguageSyntaxError) [AudienceSegmentService](https://developers.google.com/ad-manager/api/reference/v202505/AudienceSegmentService.PublisherQueryLanguageSyntaxError) [CdnConfigurationService](https://developers.google.com/ad-manager/api/reference/v202505/CdnConfigurationService.PublisherQueryLanguageSyntaxError) [CmsMetadataService](https://developers.google.com/ad-manager/api/reference/v202505/CmsMetadataService.PublisherQueryLanguageSyntaxError) [CompanyService](https://developers.google.com/ad-manager/api/reference/v202505/CompanyService.PublisherQueryLanguageSyntaxError) [ContactService](https://developers.google.com/ad-manager/api/reference/v202505/ContactService.PublisherQueryLanguageSyntaxError) [ContentBundleService](https://developers.google.com/ad-manager/api/reference/v202505/ContentBundleService.PublisherQueryLanguageSyntaxError) [ContentService](https://developers.google.com/ad-manager/api/reference/v202505/ContentService.PublisherQueryLanguageSyntaxError) [CreativeService](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.PublisherQueryLanguageSyntaxError) [CreativeSetService](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.PublisherQueryLanguageSyntaxError) [CreativeTemplateService](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.PublisherQueryLanguageSyntaxError) [CreativeWrapperService](https://developers.google.com/ad-manager/api/reference/v202505/CreativeWrapperService.PublisherQueryLanguageSyntaxError) [CustomFieldService](https://developers.google.com/ad-manager/api/reference/v202505/CustomFieldService.PublisherQueryLanguageSyntaxError) [CustomTargetingService](https://developers.google.com/ad-manager/api/reference/v202505/CustomTargetingService.PublisherQueryLanguageSyntaxError) [DaiAuthenticationKeyService](https://developers.google.com/ad-manager/api/reference/v202505/DaiAuthenticationKeyService.PublisherQueryLanguageSyntaxError) [DaiEncodingProfileService](https://developers.google.com/ad-manager/api/reference/v202505/DaiEncodingProfileService.PublisherQueryLanguageSyntaxError) [ForecastService](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.PublisherQueryLanguageSyntaxError) [InventoryService](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.PublisherQueryLanguageSyntaxError) [LabelService](https://developers.google.com/ad-manager/api/reference/v202505/LabelService.PublisherQueryLanguageSyntaxError) [LineItemCreativeAssociationService](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.PublisherQueryLanguageSyntaxError) [LineItemService](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.PublisherQueryLanguageSyntaxError) [LineItemTemplateService](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.PublisherQueryLanguageSyntaxError) [LiveStreamEventService](https://developers.google.com/ad-manager/api/reference/v202505/LiveStreamEventService.PublisherQueryLanguageSyntaxError) [MobileApplicationService](https://developers.google.com/ad-manager/api/reference/v202505/MobileApplicationService.PublisherQueryLanguageSyntaxError) [NativeStyleService](https://developers.google.com/ad-manager/api/reference/v202505/NativeStyleService.PublisherQueryLanguageSyntaxError) [NetworkService](https://developers.google.com/ad-manager/api/reference/v202505/NetworkService.PublisherQueryLanguageSyntaxError) [OrderService](https://developers.google.com/ad-manager/api/reference/v202505/OrderService.PublisherQueryLanguageSyntaxError) [PlacementService](https://developers.google.com/ad-manager/api/reference/v202505/PlacementService.PublisherQueryLanguageSyntaxError) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202505/ProposalLineItemService.PublisherQueryLanguageSyntaxError) [ProposalService](https://developers.google.com/ad-manager/api/reference/v202505/ProposalService.PublisherQueryLanguageSyntaxError) **PublisherQueryLanguageService** [ReportService](https://developers.google.com/ad-manager/api/reference/v202505/ReportService.PublisherQueryLanguageSyntaxError) [SegmentPopulationService](https://developers.google.com/ad-manager/api/reference/v202505/SegmentPopulationService.PublisherQueryLanguageSyntaxError) [SiteService](https://developers.google.com/ad-manager/api/reference/v202505/SiteService.PublisherQueryLanguageSyntaxError) [StreamActivityMonitorService](https://developers.google.com/ad-manager/api/reference/v202505/StreamActivityMonitorService.PublisherQueryLanguageSyntaxError) [SuggestedAdUnitService](https://developers.google.com/ad-manager/api/reference/v202505/SuggestedAdUnitService.PublisherQueryLanguageSyntaxError) [TargetingPresetService](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.PublisherQueryLanguageSyntaxError) [TeamService](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.PublisherQueryLanguageSyntaxError) [UserService](https://developers.google.com/ad-manager/api/reference/v202505/UserService.PublisherQueryLanguageSyntaxError) [UserTeamAssociationService](https://developers.google.com/ad-manager/api/reference/v202505/UserTeamAssociationService.PublisherQueryLanguageSyntaxError) [YieldGroupService](https://developers.google.com/ad-manager/api/reference/v202505/YieldGroupService.PublisherQueryLanguageSyntaxError) **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...](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.PublisherQueryLanguageContextError "PublisherQueryLanguageContextError") **PublisherQueryLanguageSynta...** [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 parsing 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. |
| **`PublisherQueryLanguageSyntaxError`** ||
| ### `reason` | ` https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.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 /> |