# type ApiVersionError (v202511)

**Service** [AdRuleService](https://developers.google.com/ad-manager/api/reference/v202511/AdRuleService.ApiVersionError) [AdjustmentService](https://developers.google.com/ad-manager/api/reference/v202511/AdjustmentService.ApiVersionError) [AdsTxtService](https://developers.google.com/ad-manager/api/reference/v202511/AdsTxtService.ApiVersionError) [AudienceSegmentService](https://developers.google.com/ad-manager/api/reference/v202511/AudienceSegmentService.ApiVersionError) [CdnConfigurationService](https://developers.google.com/ad-manager/api/reference/v202511/CdnConfigurationService.ApiVersionError) [CmsMetadataService](https://developers.google.com/ad-manager/api/reference/v202511/CmsMetadataService.ApiVersionError) **CompanyService** [ContactService](https://developers.google.com/ad-manager/api/reference/v202511/ContactService.ApiVersionError) [ContentBundleService](https://developers.google.com/ad-manager/api/reference/v202511/ContentBundleService.ApiVersionError) [ContentService](https://developers.google.com/ad-manager/api/reference/v202511/ContentService.ApiVersionError) [CreativeService](https://developers.google.com/ad-manager/api/reference/v202511/CreativeService.ApiVersionError) [CreativeSetService](https://developers.google.com/ad-manager/api/reference/v202511/CreativeSetService.ApiVersionError) [CreativeTemplateService](https://developers.google.com/ad-manager/api/reference/v202511/CreativeTemplateService.ApiVersionError) [CreativeWrapperService](https://developers.google.com/ad-manager/api/reference/v202511/CreativeWrapperService.ApiVersionError) [CustomFieldService](https://developers.google.com/ad-manager/api/reference/v202511/CustomFieldService.ApiVersionError) [CustomTargetingService](https://developers.google.com/ad-manager/api/reference/v202511/CustomTargetingService.ApiVersionError) [DaiAuthenticationKeyService](https://developers.google.com/ad-manager/api/reference/v202511/DaiAuthenticationKeyService.ApiVersionError) [DaiEncodingProfileService](https://developers.google.com/ad-manager/api/reference/v202511/DaiEncodingProfileService.ApiVersionError) [ForecastService](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.ApiVersionError) [InventoryService](https://developers.google.com/ad-manager/api/reference/v202511/InventoryService.ApiVersionError) [LabelService](https://developers.google.com/ad-manager/api/reference/v202511/LabelService.ApiVersionError) [LineItemCreativeAssociationService](https://developers.google.com/ad-manager/api/reference/v202511/LineItemCreativeAssociationService.ApiVersionError) [LineItemService](https://developers.google.com/ad-manager/api/reference/v202511/LineItemService.ApiVersionError) [LineItemTemplateService](https://developers.google.com/ad-manager/api/reference/v202511/LineItemTemplateService.ApiVersionError) [LiveStreamEventService](https://developers.google.com/ad-manager/api/reference/v202511/LiveStreamEventService.ApiVersionError) [MobileApplicationService](https://developers.google.com/ad-manager/api/reference/v202511/MobileApplicationService.ApiVersionError) [NativeStyleService](https://developers.google.com/ad-manager/api/reference/v202511/NativeStyleService.ApiVersionError) [NetworkService](https://developers.google.com/ad-manager/api/reference/v202511/NetworkService.ApiVersionError) [OrderService](https://developers.google.com/ad-manager/api/reference/v202511/OrderService.ApiVersionError) [PlacementService](https://developers.google.com/ad-manager/api/reference/v202511/PlacementService.ApiVersionError) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202511/ProposalLineItemService.ApiVersionError) [ProposalService](https://developers.google.com/ad-manager/api/reference/v202511/ProposalService.ApiVersionError) [PublisherQueryLanguageService](https://developers.google.com/ad-manager/api/reference/v202511/PublisherQueryLanguageService.ApiVersionError) [ReportService](https://developers.google.com/ad-manager/api/reference/v202511/ReportService.ApiVersionError) [SegmentPopulationService](https://developers.google.com/ad-manager/api/reference/v202511/SegmentPopulationService.ApiVersionError) [SiteService](https://developers.google.com/ad-manager/api/reference/v202511/SiteService.ApiVersionError) [StreamActivityMonitorService](https://developers.google.com/ad-manager/api/reference/v202511/StreamActivityMonitorService.ApiVersionError) [SuggestedAdUnitService](https://developers.google.com/ad-manager/api/reference/v202511/SuggestedAdUnitService.ApiVersionError) [TargetingPresetService](https://developers.google.com/ad-manager/api/reference/v202511/TargetingPresetService.ApiVersionError) [TeamService](https://developers.google.com/ad-manager/api/reference/v202511/TeamService.ApiVersionError) [UserService](https://developers.google.com/ad-manager/api/reference/v202511/UserService.ApiVersionError) [UserTeamAssociationService](https://developers.google.com/ad-manager/api/reference/v202511/UserTeamAssociationService.ApiVersionError) [YieldGroupService](https://developers.google.com/ad-manager/api/reference/v202511/YieldGroupService.ApiVersionError) **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.ApiError) ▼ **ApiVersionError** [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.AuthenticationError) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.CollectionSizeError) [CommonError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.CommonError) [CompanyCreditStatusError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.CompanyCreditStatusError) [CompanyError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.CompanyError) [CrossSellError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.CrossSellError) [CustomFieldValueError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.CustomFieldValueError) [ExchangeSignupApiError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.ExchangeSignupApiError) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.FeatureError) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.InternalApiError) [InvalidEmailError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.InvalidEmailError) [InvalidUrlError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.InvalidUrlError) [InventoryClientApiError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.InventoryClientApiError) [LabelEntityAssociationError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.LabelEntityAssociationError) [McmError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.McmError) [NetworkError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.NetworkError) [NotNullError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.NotNullError) [NullError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.NullError) [ParseError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.ParseError) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.PermissionError) [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.PublisherQueryLanguageContextError "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.PublisherQueryLanguageSyntaxError "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.QuotaError) [RegExError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.RegExError) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.RequiredCollectionError) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.RequiredError) [RequiredNumberError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.RequiredNumberError) [ServerError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.ServerError) [SiteError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.SiteError) [StatementError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.StatementError) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.StringFormatError) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.StringLengthError) [TeamError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.TeamError) [TypeError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.TypeError) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.UniqueError)

Errors related to the usage of API versions.

*** ** * ** ***

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/CompanyService.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. |
| **`ApiVersionError`** ||
| ### `reason` | ` https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.ApiVersionError.Reason ` *** ** * ** *** **Enumerations** `UPDATE_TO_NEWER_VERSION` :   Indicates that the operation is not allowed in the version the request was made in. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |