# type ApiVersionError (v202505)

**Service** [AdRuleService](https://developers.google.com/ad-manager/api/reference/v202505/AdRuleService.ApiVersionError) [AdjustmentService](https://developers.google.com/ad-manager/api/reference/v202505/AdjustmentService.ApiVersionError) [AdsTxtService](https://developers.google.com/ad-manager/api/reference/v202505/AdsTxtService.ApiVersionError) [AudienceSegmentService](https://developers.google.com/ad-manager/api/reference/v202505/AudienceSegmentService.ApiVersionError) [CdnConfigurationService](https://developers.google.com/ad-manager/api/reference/v202505/CdnConfigurationService.ApiVersionError) [CmsMetadataService](https://developers.google.com/ad-manager/api/reference/v202505/CmsMetadataService.ApiVersionError) [CompanyService](https://developers.google.com/ad-manager/api/reference/v202505/CompanyService.ApiVersionError) [ContactService](https://developers.google.com/ad-manager/api/reference/v202505/ContactService.ApiVersionError) [ContentBundleService](https://developers.google.com/ad-manager/api/reference/v202505/ContentBundleService.ApiVersionError) [ContentService](https://developers.google.com/ad-manager/api/reference/v202505/ContentService.ApiVersionError) [CreativeService](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.ApiVersionError) **CreativeSetService** [CreativeTemplateService](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.ApiVersionError) [CreativeWrapperService](https://developers.google.com/ad-manager/api/reference/v202505/CreativeWrapperService.ApiVersionError) [CustomFieldService](https://developers.google.com/ad-manager/api/reference/v202505/CustomFieldService.ApiVersionError) [CustomTargetingService](https://developers.google.com/ad-manager/api/reference/v202505/CustomTargetingService.ApiVersionError) [DaiAuthenticationKeyService](https://developers.google.com/ad-manager/api/reference/v202505/DaiAuthenticationKeyService.ApiVersionError) [DaiEncodingProfileService](https://developers.google.com/ad-manager/api/reference/v202505/DaiEncodingProfileService.ApiVersionError) [ForecastService](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.ApiVersionError) [InventoryService](https://developers.google.com/ad-manager/api/reference/v202505/InventoryService.ApiVersionError) [LabelService](https://developers.google.com/ad-manager/api/reference/v202505/LabelService.ApiVersionError) [LineItemCreativeAssociationService](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.ApiVersionError) [LineItemService](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.ApiVersionError) [LineItemTemplateService](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.ApiVersionError) [LiveStreamEventService](https://developers.google.com/ad-manager/api/reference/v202505/LiveStreamEventService.ApiVersionError) [MobileApplicationService](https://developers.google.com/ad-manager/api/reference/v202505/MobileApplicationService.ApiVersionError) [NativeStyleService](https://developers.google.com/ad-manager/api/reference/v202505/NativeStyleService.ApiVersionError) [NetworkService](https://developers.google.com/ad-manager/api/reference/v202505/NetworkService.ApiVersionError) [OrderService](https://developers.google.com/ad-manager/api/reference/v202505/OrderService.ApiVersionError) [PlacementService](https://developers.google.com/ad-manager/api/reference/v202505/PlacementService.ApiVersionError) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202505/ProposalLineItemService.ApiVersionError) [ProposalService](https://developers.google.com/ad-manager/api/reference/v202505/ProposalService.ApiVersionError) [PublisherQueryLanguageService](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.ApiVersionError) [ReportService](https://developers.google.com/ad-manager/api/reference/v202505/ReportService.ApiVersionError) [SegmentPopulationService](https://developers.google.com/ad-manager/api/reference/v202505/SegmentPopulationService.ApiVersionError) [SiteService](https://developers.google.com/ad-manager/api/reference/v202505/SiteService.ApiVersionError) [StreamActivityMonitorService](https://developers.google.com/ad-manager/api/reference/v202505/StreamActivityMonitorService.ApiVersionError) [SuggestedAdUnitService](https://developers.google.com/ad-manager/api/reference/v202505/SuggestedAdUnitService.ApiVersionError) [TargetingPresetService](https://developers.google.com/ad-manager/api/reference/v202505/TargetingPresetService.ApiVersionError) [TeamService](https://developers.google.com/ad-manager/api/reference/v202505/TeamService.ApiVersionError) [UserService](https://developers.google.com/ad-manager/api/reference/v202505/UserService.ApiVersionError) [UserTeamAssociationService](https://developers.google.com/ad-manager/api/reference/v202505/UserTeamAssociationService.ApiVersionError) [YieldGroupService](https://developers.google.com/ad-manager/api/reference/v202505/YieldGroupService.ApiVersionError) **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.ApiError) ▼ **ApiVersionError** [AssetError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.AssetError) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.AuthenticationError) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.CollectionSizeError) [CommonError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.CommonError) [CreativeAssetMacroError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.CreativeAssetMacroError) [CreativeError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.CreativeError) [CreativeSetError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.CreativeSetError) [CreativeTemplateError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.CreativeTemplateError) [CreativeTemplateOperationError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.CreativeTemplateOperationError) [CustomCreativeError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.CustomCreativeError) [CustomFieldValueError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.CustomFieldValueError) [EntityLimitReachedError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.EntityLimitReachedError) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.FeatureError) [FileError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.FileError) [HtmlBundleProcessorError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.HtmlBundleProcessorError) [ImageError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.ImageError) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.InternalApiError) [InvalidPhoneNumberError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.InvalidPhoneNumberError) [InvalidUrlError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.InvalidUrlError) [LabelEntityAssociationError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.LabelEntityAssociationError) [NotNullError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.NotNullError) [NullError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.NullError) [ParseError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.ParseError) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.PermissionError) [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.PublisherQueryLanguageContextError "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.PublisherQueryLanguageSyntaxError "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.QuotaError) [RangeError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.RangeError) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.RequiredCollectionError) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.RequiredError) [RequiredNumberError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.RequiredNumberError) [RequiredSizeError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.RequiredSizeError) [RichMediaStudioCreativeError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.RichMediaStudioCreativeError) [ServerError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.ServerError) [SetTopBoxCreativeError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.SetTopBoxCreativeError) [StatementError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.StatementError) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.StringFormatError) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.StringLengthError) [SwiffyConversionError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.SwiffyConversionError) [TemplateInstantiatedCreativ...](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.TemplateInstantiatedCreativeError "TemplateInstantiatedCreativeError") [TranscodingError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.TranscodingError) [TypeError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.TypeError) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.UniqueError)

Errors related to the usage of API versions.

*** ** * ** ***

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/CreativeSetService.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/v202505/CreativeSetService.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 /> |