> [!CAUTION]
> **Caution:** This documentation is for Google Ads API **v23** . The latest active version is [**v26**](https://developers.google.com/google-ads/api/reference/rpc/latest/ErrorCode).

The error reason represented by type and enum.

[Proto definition ![GitHub](https://developers.google.com/site-assets/logo-github.svg)](https://github.com/googleapis/googleapis/blob/master/google/ads/googleads/v23/errors/errors.proto)

| Fields ||
|---|---|
| ## `error_code` Union field. The list of error enums `error_code` can be only one of the following: ||
| ### `access_invitation_error` | `AccessInvitationError` The reasons for the access invitation error |
| ### `account_budget_proposal_error` | `AccountBudgetProposalError` The reasons for account budget proposal errors. |
| ### `account_link_error` | `AccountLinkError` The reasons for the account link status change error |
| ### `action_error` | `ActionError` An error with a Tangle Action. |
| ### `ad_customizer_error` | `AdCustomizerError` The reasons for the ad customizer error |
| ### `ad_error` | `AdError` An error with an Ad Group Ad mutate. |
| ### `ad_group_ad_error` | `AdGroupAdError` The reasons for the ad group ad error |
| ### `ad_group_bid_modifier_error` | `AdGroupBidModifierError` The reasons for the ad group bid modifier error |
| ### `ad_group_criterion_customizer_error` | `AdGroupCriterionCustomizerError` The reasons for the ad group criterion customizer error. |
| ### `ad_group_criterion_error` | `AdGroupCriterionError` Indicates failure to properly authenticate user. |
| ### `ad_group_customizer_error` | `AdGroupCustomizerError` The reasons for the ad group customizer error. |
| ### `ad_group_error` | `AdGroupError` An error with an Ad Group mutate. |
| ### `ad_group_feed_error` | `AdGroupFeedError` The reasons for the ad group feed error |
| ### `ad_parameter_error` | `AdParameterError` The reasons for the ad parameter error |
| ### `ad_sharing_error` | `AdSharingError` The reasons for the ad sharing error |
| ### `adx_error` | `AdxError` The reasons for the adx error |
| ### `asset_error` | `AssetError` The reasons for the asset error |
| ### `asset_generation_error` | `AssetGenerationError` The reasons for the GenAI asset generation error. |
| ### `asset_group_asset_error` | `AssetGroupAssetError` The reasons for the asset group asset error |
| ### `asset_group_error` | `AssetGroupError` The reasons for the asset group error |
| ### `asset_group_listing_group_filter_error` | `AssetGroupListingGroupFilterError` The reasons for the asset group listing group filter error |
| ### `asset_group_signal_error` | `AssetGroupSignalError` The reasons for the asset group hint error |
| ### `asset_link_error` | `AssetLinkError` The reasons for the asset link error |
| ### `asset_set_asset_error` | `AssetSetAssetError` The reasons for the asset set asset error |
| ### `asset_set_error` | `AssetSetError` The reasons for the asset set error |
| ### `asset_set_link_error` | `AssetSetLinkError` The reasons for the asset set link error |
| ### `audience_error` | `AudienceError` The reasons for the audience error |
| ### `audience_insights_error` | `AudienceInsightsError` The reasons for the Audience Insights error |
| ### `authentication_error` | `AuthenticationError` Indicates failure to properly authenticate user. |
| ### `authorization_error` | `AuthorizationError` An error encountered when trying to authorize a user. |
| ### `automatically_created_asset_removal_error` | `AutomaticallyCreatedAssetRemovalError` The reasons for error in text customization removal action. |
| ### `batch_job_error` | `BatchJobError` The reasons for the batch job error |
| ### `benchmarks_error` | `BenchmarksError` The reasons for the Benchmarks error. |
| ### `bidding_error` | `BiddingError` The reasons for the bidding errors |
| ### `bidding_strategy_error` | `BiddingStrategyError` An error with a Bidding Strategy mutate. |
| ### `billing_setup_error` | `BillingSetupError` The reasons for the billing setup error |
| ### `brand_guidelines_migration_error` | `BrandGuidelinesMigrationError` The reasons for the brand guidelines migration error. |
| ### `campaign_budget_error` | `CampaignBudgetError` An error with a Campaign Budget mutate. |
| ### `campaign_conversion_goal_error` | `CampaignConversionGoalError` The reasons for the campaign conversion goal error |
| ### `campaign_criterion_error` | `CampaignCriterionError` The reasons for the campaign criterion error |
| ### `campaign_customizer_error` | `CampaignCustomizerError` The reasons for the campaign customizer error. |
| ### `campaign_draft_error` | `CampaignDraftError` The reasons for the campaign draft error |
| ### `campaign_error` | `CampaignError` An error with a Campaign mutate. |
| ### `campaign_experiment_error` | `CampaignExperimentError` The reasons for the campaign experiment error |
| ### `campaign_feed_error` | `CampaignFeedError` The reasons for the campaign feed error |
| ### `campaign_goal_config_error` | `CampaignGoalConfigError` The reasons for the campaign goal config error. |
| ### `campaign_lifecycle_goal_error` | `CampaignLifecycleGoalError` The reasons for the campaign lifecycle goal error |
| ### `campaign_shared_set_error` | `CampaignSharedSetError` The reasons for the campaign shared set error |
| ### `change_event_error` | `ChangeEventError` The reasons for the change event error |
| ### `change_status_error` | `ChangeStatusError` The reasons for the change status error |
| ### `click_view_error` | `ClickViewError` The reasons for the click view error |
| ### `collection_size_error` | `CollectionSizeError` The reasons for the collection size error |
| ### `content_creator_insights_error` | `ContentCreatorInsightsError` The reasons for the Content Creator Insights error. |
| ### `context_error` | `ContextError` The reasons for the context error |
| ### `conversion_action_error` | `ConversionActionError` The reasons for the conversion action error |
| ### `conversion_adjustment_upload_error` | `ConversionAdjustmentUploadError` The reasons for the conversion adjustment upload error |
| ### `conversion_custom_variable_error` | `ConversionCustomVariableError` The reasons for the conversion custom variable error |
| ### `conversion_goal_campaign_config_error` | `ConversionGoalCampaignConfigError` The reasons for the conversion goal campaign config error |
| ### `conversion_upload_error` | `ConversionUploadError` The reasons for the conversion upload error |
| ### `conversion_value_rule_error` | `ConversionValueRuleError` The reasons for the conversion value rule error |
| ### `conversion_value_rule_set_error` | `ConversionValueRuleSetError` The reasons for the conversion value rule set error |
| ### `country_code_error` | `CountryCodeError` The reasons for the country code error |
| ### `criterion_error` | `CriterionError` The reasons for the criterion error |
| ### `currency_code_error` | `CurrencyCodeError` The reasons for the currency code error |
| ### `currency_error` | `CurrencyError` The reasons for the currency errors. |
| ### `custom_audience_error` | `CustomAudienceError` The reasons for the custom audience error |
| ### `custom_conversion_goal_error` | `CustomConversionGoalError` The reasons for the custom conversion goal error |
| ### `custom_interest_error` | `CustomInterestError` The reasons for the custom interest error |
| ### `customer_client_link_error` | `CustomerClientLinkError` The reasons for the customer client link error |
| ### `customer_customizer_error` | `CustomerCustomizerError` The reasons for the customer customizer error. |
| ### `customer_error` | `CustomerError` The reasons for the customer error |
| ### `customer_feed_error` | `CustomerFeedError` The reasons for the customer feed error |
| ### `customer_lifecycle_goal_error` | `CustomerLifecycleGoalError` The reasons for the customer lifecycle goal error |
| ### `customer_manager_link_error` | `CustomerManagerLinkError` The reasons for the customer manager link error |
| ### `customer_sk_ad_network_conversion_value_schema_error` | `CustomerSkAdNetworkConversionValueSchemaError` The reasons for the customer SK Ad network conversion value schema error |
| ### `customer_user_access_error` | `CustomerUserAccessError` The reasons for the customer user access mutate error |
| ### `customizer_attribute_error` | `CustomizerAttributeError` The reasons for the customizer attribute error. |
| ### `data_link_error` | `DataLinkError` The reasons for the data link error |
| ### `database_error` | `DatabaseError` The reasons for the database error. |
| ### `date_error` | `DateError` The reasons for the date error |
| ### `date_range_error` | `DateRangeError` The reasons for the date range error |
| ### `distinct_error` | `DistinctError` The reasons for the distinct error |
| ### `enum_error` | `EnumError` The reason for enum error. |
| ### `experiment_arm_error` | `ExperimentArmError` The reasons for the experiment arm error |
| ### `experiment_error` | `ExperimentError` The reasons for the experiment error |
| ### `extension_feed_item_error` | `ExtensionFeedItemError` The reasons for the extension feed item error |
| ### `extension_setting_error` | `ExtensionSettingError` The reasons for the extension setting error |
| ### `feed_attribute_reference_error` | `FeedAttributeReferenceError` The reasons for the feed attribute reference error |
| ### `feed_error` | `FeedError` The reasons for the feed error |
| ### `feed_item_error` | `FeedItemError` The reasons for the feed item error |
| ### `feed_item_set_error` | `FeedItemSetError` The reasons for the feed item set error |
| ### `feed_item_set_link_error` | `FeedItemSetLinkError` The reasons for the feed item set link error |
| ### `feed_item_target_error` | `FeedItemTargetError` The reasons for the feed item target error |
| ### `feed_item_validation_error` | `FeedItemValidationError` The reasons for the feed item validation error |
| ### `feed_mapping_error` | `FeedMappingError` The reasons for the feed mapping error |
| ### `field_error` | `FieldError` The reasons for the field error |
| ### `field_mask_error` | `FieldMaskError` An error with a field mask |
| ### `final_url_expansion_asset_view_error` | `FinalUrlExpansionAssetViewError` The reasons for the final url expansion asset view error |
| ### `function_error` | `FunctionError` The reasons for the function error |
| ### `function_parsing_error` | `FunctionParsingError` The reasons for the function parsing error |
| ### `geo_target_constant_suggestion_error` | `GeoTargetConstantSuggestionError` The reasons for the geo target constant suggestion error. |
| ### `goal_error` | `GoalError` The reasons for the goal error. |
| ### `header_error` | `HeaderError` The reasons for the header error. |
| ### `id_error` | `IdError` The reasons for the id error |
| ### `identity_verification_error` | `IdentityVerificationError` The reasons for an identity verification error. |
| ### `image_error` | `ImageError` The reasons for the image error |
| ### `incentive_error` | `IncentiveError` The reasons for the incentive error |
| ### `internal_error` | `InternalError` An unexpected server-side error. |
| ### `invoice_error` | `InvoiceError` The reasons for the invoice error |
| ### `keyword_plan_ad_group_error` | `KeywordPlanAdGroupError` The reason for keyword plan ad group error. |
| ### `keyword_plan_ad_group_keyword_error` | `KeywordPlanAdGroupKeywordError` The reason for keyword plan ad group keyword error. |
| ### `keyword_plan_campaign_error` | `KeywordPlanCampaignError` The reason for keyword plan campaign error. |
| ### `keyword_plan_campaign_keyword_error` | `KeywordPlanCampaignKeywordError` The reason for keyword plan campaign keyword error. |
| ### `keyword_plan_error` | `KeywordPlanError` The reason for keyword plan error. |
| ### `keyword_plan_idea_error` | `KeywordPlanIdeaError` The reason for keyword idea error. |
| ### `label_error` | `LabelError` The reason for the label error. |
| ### `language_code_error` | `LanguageCodeError` The reasons for the language code error |
| ### `list_operation_error` | `ListOperationError` An error with a list operation. |
| ### `manager_link_error` | `ManagerLinkError` The reasons for the manager link error |
| ### `media_bundle_error` | `MediaBundleError` The reasons for the media bundle error |
| ### `media_file_error` | `MediaFileError` The reasons for the media file error |
| ### `media_upload_error` | `MediaUploadError` The reasons for media uploading errors. |
| ### `merchant_center_error` | `MerchantCenterError` Container for enum describing possible merchant center errors. |
| ### `multi_party_auth_review_error` | `MultiPartyAuthReviewError` The reasons for the multi party auth review error |
| ### `multiplier_error` | `MultiplierError` The reasons for the multiplier error |
| ### `mutate_error` | `MutateError` An error with a mutate |
| ### `new_resource_creation_error` | `NewResourceCreationError` The reasons for the new resource creation error |
| ### `not_allowlisted_error` | `NotAllowlistedError` The reasons for the not allowlisted error |
| ### `not_empty_error` | `NotEmptyError` The reasons for the not empty error |
| ### `null_error` | `NullError` The reasons for the null error |
| ### `offline_user_data_job_error` | `OfflineUserDataJobError` The reasons for the offline user data job error. |
| ### `operation_access_denied_error` | `OperationAccessDeniedError` The reasons for the operation access denied error |
| ### `operator_error` | `OperatorError` The reasons for the operator error |
| ### `partial_failure_error` | `PartialFailureError` The reasons for the mutate job error |
| ### `payments_account_error` | `PaymentsAccountError` The reasons for errors in payments accounts service |
| ### `policy_finding_error` | `PolicyFindingError` The reasons for the policy finding error. |
| ### `policy_validation_parameter_error` | `PolicyValidationParameterError` The reasons for the policy validation parameter error |
| ### `policy_violation_error` | `PolicyViolationError` The reasons for the policy violation error |
| ### `product_link_error` | `ProductLinkError` The reasons for the product link error |
| ### `product_link_invitation_error` | `ProductLinkInvitationError` The reasons for the product link invitation error |
| ### `query_error` | `QueryError` An error with an AWQL query |
| ### `quota_error` | `QuotaError` An error with the amount of quota remaining. |
| ### `range_error` | `RangeError` The reasons for the range error |
| ### `reach_plan_error` | `ReachPlanError` The reasons for the reach plan error |
| ### `recommendation_error` | `RecommendationError` The reasons for error in applying a recommendation |
| ### `recommendation_subscription_error` | `RecommendationSubscriptionError` The reasons for the recommendation subscription error. |
| ### `region_code_error` | `RegionCodeError` The reasons for the region code error |
| ### `request_error` | `RequestError` An error caused by the request |
| ### `resource_access_denied_error` | `ResourceAccessDeniedError` The reasons for the resource access denied error |
| ### `resource_count_limit_exceeded_error` | `ResourceCountLimitExceededError` The reasons for the resource count limit exceeded error |
| ### `search_term_insight_error` | `SearchTermInsightError` The reasons for the Search term insight error |
| ### `setting_error` | `SettingError` The reasons for the setting error |
| ### `shareable_preview_error` | `ShareablePreviewError` The reasons for the shareable preview error. |
| ### `shared_criterion_error` | `SharedCriterionError` The reasons for the shared criterion error |
| ### `shared_set_error` | `SharedSetError` The reasons for the shared set error |
| ### `shopping_product_error` | `ShoppingProductError` The reasons for error in querying shopping product. |
| ### `size_limit_error` | `SizeLimitError` The reasons for the size limit error |
| ### `smart_campaign_error` | `SmartCampaignError` The reasons for the Smart campaign error |
| ### `string_format_error` | `StringFormatError` The reasons for the string format error |
| ### `string_length_error` | `StringLengthError` The reasons for the string length error |
| ### `third_party_app_analytics_link_error` | `ThirdPartyAppAnalyticsLinkError` The reasons for the third party app analytics link mutate error |
| ### `time_zone_error` | `TimeZoneError` The reasons for the time zone error |
| ### `url_field_error` | `UrlFieldError` An error with a URL field mutate. |
| ### `user_data_error` | `UserDataError` The reasons for the user data error. |
| ### `user_list_customer_type_error` | `UserListCustomerTypeError` The reasons for a user list customer type error. |
| ### `user_list_error` | `UserListError` The reasons for the user list error |
| ### `video_campaign_error` | `VideoCampaignError` An error with a Video Campaign mutate. |
| ### `video_reservation_error` | `VideoReservationError` The reasons for the video reservation error. |
| ### `youtube_video_registration_error` | `YoutubeVideoRegistrationError` The reasons for YouTube video registration errors. |