# type ApiVersionError (v202602)

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

Errors related to the usage of API versions.

*** ** * ** ***

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/InventoryService.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/v202602/InventoryService.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 /> |