# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v5/errors/errors.proto require 'google/protobuf' require 'google/ads/google_ads/v5/common/policy_pb' require 'google/ads/google_ads/v5/common/value_pb' require 'google/ads/google_ads/v5/errors/access_invitation_error_pb' require 'google/ads/google_ads/v5/errors/account_budget_proposal_error_pb' require 'google/ads/google_ads/v5/errors/account_link_error_pb' require 'google/ads/google_ads/v5/errors/ad_customizer_error_pb' require 'google/ads/google_ads/v5/errors/ad_error_pb' require 'google/ads/google_ads/v5/errors/ad_group_ad_error_pb' require 'google/ads/google_ads/v5/errors/ad_group_bid_modifier_error_pb' require 'google/ads/google_ads/v5/errors/ad_group_criterion_error_pb' require 'google/ads/google_ads/v5/errors/ad_group_error_pb' require 'google/ads/google_ads/v5/errors/ad_group_feed_error_pb' require 'google/ads/google_ads/v5/errors/ad_parameter_error_pb' require 'google/ads/google_ads/v5/errors/ad_sharing_error_pb' require 'google/ads/google_ads/v5/errors/adx_error_pb' require 'google/ads/google_ads/v5/errors/asset_error_pb' require 'google/ads/google_ads/v5/errors/asset_link_error_pb' require 'google/ads/google_ads/v5/errors/authentication_error_pb' require 'google/ads/google_ads/v5/errors/authorization_error_pb' require 'google/ads/google_ads/v5/errors/batch_job_error_pb' require 'google/ads/google_ads/v5/errors/bidding_error_pb' require 'google/ads/google_ads/v5/errors/bidding_strategy_error_pb' require 'google/ads/google_ads/v5/errors/billing_setup_error_pb' require 'google/ads/google_ads/v5/errors/campaign_budget_error_pb' require 'google/ads/google_ads/v5/errors/campaign_criterion_error_pb' require 'google/ads/google_ads/v5/errors/campaign_draft_error_pb' require 'google/ads/google_ads/v5/errors/campaign_error_pb' require 'google/ads/google_ads/v5/errors/campaign_experiment_error_pb' require 'google/ads/google_ads/v5/errors/campaign_feed_error_pb' require 'google/ads/google_ads/v5/errors/campaign_shared_set_error_pb' require 'google/ads/google_ads/v5/errors/change_status_error_pb' require 'google/ads/google_ads/v5/errors/collection_size_error_pb' require 'google/ads/google_ads/v5/errors/context_error_pb' require 'google/ads/google_ads/v5/errors/conversion_action_error_pb' require 'google/ads/google_ads/v5/errors/conversion_adjustment_upload_error_pb' require 'google/ads/google_ads/v5/errors/conversion_upload_error_pb' require 'google/ads/google_ads/v5/errors/country_code_error_pb' require 'google/ads/google_ads/v5/errors/criterion_error_pb' require 'google/ads/google_ads/v5/errors/currency_code_error_pb' require 'google/ads/google_ads/v5/errors/custom_interest_error_pb' require 'google/ads/google_ads/v5/errors/customer_client_link_error_pb' require 'google/ads/google_ads/v5/errors/customer_error_pb' require 'google/ads/google_ads/v5/errors/customer_feed_error_pb' require 'google/ads/google_ads/v5/errors/customer_manager_link_error_pb' require 'google/ads/google_ads/v5/errors/database_error_pb' require 'google/ads/google_ads/v5/errors/date_error_pb' require 'google/ads/google_ads/v5/errors/date_range_error_pb' require 'google/ads/google_ads/v5/errors/distinct_error_pb' require 'google/ads/google_ads/v5/errors/enum_error_pb' require 'google/ads/google_ads/v5/errors/extension_feed_item_error_pb' require 'google/ads/google_ads/v5/errors/extension_setting_error_pb' require 'google/ads/google_ads/v5/errors/feed_attribute_reference_error_pb' require 'google/ads/google_ads/v5/errors/feed_error_pb' require 'google/ads/google_ads/v5/errors/feed_item_error_pb' require 'google/ads/google_ads/v5/errors/feed_item_target_error_pb' require 'google/ads/google_ads/v5/errors/feed_item_validation_error_pb' require 'google/ads/google_ads/v5/errors/feed_mapping_error_pb' require 'google/ads/google_ads/v5/errors/field_error_pb' require 'google/ads/google_ads/v5/errors/field_mask_error_pb' require 'google/ads/google_ads/v5/errors/function_error_pb' require 'google/ads/google_ads/v5/errors/function_parsing_error_pb' require 'google/ads/google_ads/v5/errors/geo_target_constant_suggestion_error_pb' require 'google/ads/google_ads/v5/errors/header_error_pb' require 'google/ads/google_ads/v5/errors/id_error_pb' require 'google/ads/google_ads/v5/errors/image_error_pb' require 'google/ads/google_ads/v5/errors/internal_error_pb' require 'google/ads/google_ads/v5/errors/invoice_error_pb' require 'google/ads/google_ads/v5/errors/keyword_plan_ad_group_error_pb' require 'google/ads/google_ads/v5/errors/keyword_plan_ad_group_keyword_error_pb' require 'google/ads/google_ads/v5/errors/keyword_plan_campaign_error_pb' require 'google/ads/google_ads/v5/errors/keyword_plan_campaign_keyword_error_pb' require 'google/ads/google_ads/v5/errors/keyword_plan_error_pb' require 'google/ads/google_ads/v5/errors/keyword_plan_idea_error_pb' require 'google/ads/google_ads/v5/errors/label_error_pb' require 'google/ads/google_ads/v5/errors/language_code_error_pb' require 'google/ads/google_ads/v5/errors/list_operation_error_pb' require 'google/ads/google_ads/v5/errors/manager_link_error_pb' require 'google/ads/google_ads/v5/errors/media_bundle_error_pb' require 'google/ads/google_ads/v5/errors/media_file_error_pb' require 'google/ads/google_ads/v5/errors/media_upload_error_pb' require 'google/ads/google_ads/v5/errors/multiplier_error_pb' require 'google/ads/google_ads/v5/errors/mutate_error_pb' require 'google/ads/google_ads/v5/errors/new_resource_creation_error_pb' require 'google/ads/google_ads/v5/errors/not_allowlisted_error_pb' require 'google/ads/google_ads/v5/errors/not_empty_error_pb' require 'google/ads/google_ads/v5/errors/null_error_pb' require 'google/ads/google_ads/v5/errors/offline_user_data_job_error_pb' require 'google/ads/google_ads/v5/errors/operation_access_denied_error_pb' require 'google/ads/google_ads/v5/errors/operator_error_pb' require 'google/ads/google_ads/v5/errors/partial_failure_error_pb' require 'google/ads/google_ads/v5/errors/payments_account_error_pb' require 'google/ads/google_ads/v5/errors/policy_finding_error_pb' require 'google/ads/google_ads/v5/errors/policy_validation_parameter_error_pb' require 'google/ads/google_ads/v5/errors/policy_violation_error_pb' require 'google/ads/google_ads/v5/errors/query_error_pb' require 'google/ads/google_ads/v5/errors/quota_error_pb' require 'google/ads/google_ads/v5/errors/range_error_pb' require 'google/ads/google_ads/v5/errors/reach_plan_error_pb' require 'google/ads/google_ads/v5/errors/recommendation_error_pb' require 'google/ads/google_ads/v5/errors/region_code_error_pb' require 'google/ads/google_ads/v5/errors/request_error_pb' require 'google/ads/google_ads/v5/errors/resource_access_denied_error_pb' require 'google/ads/google_ads/v5/errors/resource_count_limit_exceeded_error_pb' require 'google/ads/google_ads/v5/errors/setting_error_pb' require 'google/ads/google_ads/v5/errors/shared_criterion_error_pb' require 'google/ads/google_ads/v5/errors/shared_set_error_pb' require 'google/ads/google_ads/v5/errors/size_limit_error_pb' require 'google/ads/google_ads/v5/errors/string_format_error_pb' require 'google/ads/google_ads/v5/errors/string_length_error_pb' require 'google/ads/google_ads/v5/errors/third_party_app_analytics_link_error_pb' require 'google/ads/google_ads/v5/errors/time_zone_error_pb' require 'google/ads/google_ads/v5/errors/url_field_error_pb' require 'google/ads/google_ads/v5/errors/user_data_error_pb' require 'google/ads/google_ads/v5/errors/user_list_error_pb' require 'google/ads/google_ads/v5/errors/youtube_video_registration_error_pb' require 'google/protobuf/duration_pb' require 'google/protobuf/wrappers_pb' require 'google/api/annotations_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/ads/googleads/v5/errors/errors.proto", :syntax => :proto3) do add_message "google.ads.googleads.v5.errors.GoogleAdsFailure" do repeated :errors, :message, 1, "google.ads.googleads.v5.errors.GoogleAdsError" end add_message "google.ads.googleads.v5.errors.GoogleAdsError" do optional :error_code, :message, 1, "google.ads.googleads.v5.errors.ErrorCode" optional :message, :string, 2 optional :trigger, :message, 3, "google.ads.googleads.v5.common.Value" optional :location, :message, 4, "google.ads.googleads.v5.errors.ErrorLocation" optional :details, :message, 5, "google.ads.googleads.v5.errors.ErrorDetails" end add_message "google.ads.googleads.v5.errors.ErrorCode" do oneof :error_code do optional :request_error, :enum, 1, "google.ads.googleads.v5.errors.RequestErrorEnum.RequestError" optional :bidding_strategy_error, :enum, 2, "google.ads.googleads.v5.errors.BiddingStrategyErrorEnum.BiddingStrategyError" optional :url_field_error, :enum, 3, "google.ads.googleads.v5.errors.UrlFieldErrorEnum.UrlFieldError" optional :list_operation_error, :enum, 4, "google.ads.googleads.v5.errors.ListOperationErrorEnum.ListOperationError" optional :query_error, :enum, 5, "google.ads.googleads.v5.errors.QueryErrorEnum.QueryError" optional :mutate_error, :enum, 7, "google.ads.googleads.v5.errors.MutateErrorEnum.MutateError" optional :field_mask_error, :enum, 8, "google.ads.googleads.v5.errors.FieldMaskErrorEnum.FieldMaskError" optional :authorization_error, :enum, 9, "google.ads.googleads.v5.errors.AuthorizationErrorEnum.AuthorizationError" optional :internal_error, :enum, 10, "google.ads.googleads.v5.errors.InternalErrorEnum.InternalError" optional :quota_error, :enum, 11, "google.ads.googleads.v5.errors.QuotaErrorEnum.QuotaError" optional :ad_error, :enum, 12, "google.ads.googleads.v5.errors.AdErrorEnum.AdError" optional :ad_group_error, :enum, 13, "google.ads.googleads.v5.errors.AdGroupErrorEnum.AdGroupError" optional :campaign_budget_error, :enum, 14, "google.ads.googleads.v5.errors.CampaignBudgetErrorEnum.CampaignBudgetError" optional :campaign_error, :enum, 15, "google.ads.googleads.v5.errors.CampaignErrorEnum.CampaignError" optional :authentication_error, :enum, 17, "google.ads.googleads.v5.errors.AuthenticationErrorEnum.AuthenticationError" optional :ad_group_criterion_error, :enum, 18, "google.ads.googleads.v5.errors.AdGroupCriterionErrorEnum.AdGroupCriterionError" optional :ad_customizer_error, :enum, 19, "google.ads.googleads.v5.errors.AdCustomizerErrorEnum.AdCustomizerError" optional :ad_group_ad_error, :enum, 21, "google.ads.googleads.v5.errors.AdGroupAdErrorEnum.AdGroupAdError" optional :ad_sharing_error, :enum, 24, "google.ads.googleads.v5.errors.AdSharingErrorEnum.AdSharingError" optional :adx_error, :enum, 25, "google.ads.googleads.v5.errors.AdxErrorEnum.AdxError" optional :asset_error, :enum, 107, "google.ads.googleads.v5.errors.AssetErrorEnum.AssetError" optional :bidding_error, :enum, 26, "google.ads.googleads.v5.errors.BiddingErrorEnum.BiddingError" optional :campaign_criterion_error, :enum, 29, "google.ads.googleads.v5.errors.CampaignCriterionErrorEnum.CampaignCriterionError" optional :collection_size_error, :enum, 31, "google.ads.googleads.v5.errors.CollectionSizeErrorEnum.CollectionSizeError" optional :country_code_error, :enum, 109, "google.ads.googleads.v5.errors.CountryCodeErrorEnum.CountryCodeError" optional :criterion_error, :enum, 32, "google.ads.googleads.v5.errors.CriterionErrorEnum.CriterionError" optional :customer_error, :enum, 90, "google.ads.googleads.v5.errors.CustomerErrorEnum.CustomerError" optional :date_error, :enum, 33, "google.ads.googleads.v5.errors.DateErrorEnum.DateError" optional :date_range_error, :enum, 34, "google.ads.googleads.v5.errors.DateRangeErrorEnum.DateRangeError" optional :distinct_error, :enum, 35, "google.ads.googleads.v5.errors.DistinctErrorEnum.DistinctError" optional :feed_attribute_reference_error, :enum, 36, "google.ads.googleads.v5.errors.FeedAttributeReferenceErrorEnum.FeedAttributeReferenceError" optional :function_error, :enum, 37, "google.ads.googleads.v5.errors.FunctionErrorEnum.FunctionError" optional :function_parsing_error, :enum, 38, "google.ads.googleads.v5.errors.FunctionParsingErrorEnum.FunctionParsingError" optional :id_error, :enum, 39, "google.ads.googleads.v5.errors.IdErrorEnum.IdError" optional :image_error, :enum, 40, "google.ads.googleads.v5.errors.ImageErrorEnum.ImageError" optional :language_code_error, :enum, 110, "google.ads.googleads.v5.errors.LanguageCodeErrorEnum.LanguageCodeError" optional :media_bundle_error, :enum, 42, "google.ads.googleads.v5.errors.MediaBundleErrorEnum.MediaBundleError" optional :media_upload_error, :enum, 116, "google.ads.googleads.v5.errors.MediaUploadErrorEnum.MediaUploadError" optional :media_file_error, :enum, 86, "google.ads.googleads.v5.errors.MediaFileErrorEnum.MediaFileError" optional :multiplier_error, :enum, 44, "google.ads.googleads.v5.errors.MultiplierErrorEnum.MultiplierError" optional :new_resource_creation_error, :enum, 45, "google.ads.googleads.v5.errors.NewResourceCreationErrorEnum.NewResourceCreationError" optional :not_empty_error, :enum, 46, "google.ads.googleads.v5.errors.NotEmptyErrorEnum.NotEmptyError" optional :null_error, :enum, 47, "google.ads.googleads.v5.errors.NullErrorEnum.NullError" optional :operator_error, :enum, 48, "google.ads.googleads.v5.errors.OperatorErrorEnum.OperatorError" optional :range_error, :enum, 49, "google.ads.googleads.v5.errors.RangeErrorEnum.RangeError" optional :recommendation_error, :enum, 58, "google.ads.googleads.v5.errors.RecommendationErrorEnum.RecommendationError" optional :region_code_error, :enum, 51, "google.ads.googleads.v5.errors.RegionCodeErrorEnum.RegionCodeError" optional :setting_error, :enum, 52, "google.ads.googleads.v5.errors.SettingErrorEnum.SettingError" optional :string_format_error, :enum, 53, "google.ads.googleads.v5.errors.StringFormatErrorEnum.StringFormatError" optional :string_length_error, :enum, 54, "google.ads.googleads.v5.errors.StringLengthErrorEnum.StringLengthError" optional :operation_access_denied_error, :enum, 55, "google.ads.googleads.v5.errors.OperationAccessDeniedErrorEnum.OperationAccessDeniedError" optional :resource_access_denied_error, :enum, 56, "google.ads.googleads.v5.errors.ResourceAccessDeniedErrorEnum.ResourceAccessDeniedError" optional :resource_count_limit_exceeded_error, :enum, 57, "google.ads.googleads.v5.errors.ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError" optional :youtube_video_registration_error, :enum, 117, "google.ads.googleads.v5.errors.YoutubeVideoRegistrationErrorEnum.YoutubeVideoRegistrationError" optional :ad_group_bid_modifier_error, :enum, 59, "google.ads.googleads.v5.errors.AdGroupBidModifierErrorEnum.AdGroupBidModifierError" optional :context_error, :enum, 60, "google.ads.googleads.v5.errors.ContextErrorEnum.ContextError" optional :field_error, :enum, 61, "google.ads.googleads.v5.errors.FieldErrorEnum.FieldError" optional :shared_set_error, :enum, 62, "google.ads.googleads.v5.errors.SharedSetErrorEnum.SharedSetError" optional :shared_criterion_error, :enum, 63, "google.ads.googleads.v5.errors.SharedCriterionErrorEnum.SharedCriterionError" optional :campaign_shared_set_error, :enum, 64, "google.ads.googleads.v5.errors.CampaignSharedSetErrorEnum.CampaignSharedSetError" optional :conversion_action_error, :enum, 65, "google.ads.googleads.v5.errors.ConversionActionErrorEnum.ConversionActionError" optional :conversion_adjustment_upload_error, :enum, 115, "google.ads.googleads.v5.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError" optional :conversion_upload_error, :enum, 111, "google.ads.googleads.v5.errors.ConversionUploadErrorEnum.ConversionUploadError" optional :header_error, :enum, 66, "google.ads.googleads.v5.errors.HeaderErrorEnum.HeaderError" optional :database_error, :enum, 67, "google.ads.googleads.v5.errors.DatabaseErrorEnum.DatabaseError" optional :policy_finding_error, :enum, 68, "google.ads.googleads.v5.errors.PolicyFindingErrorEnum.PolicyFindingError" optional :enum_error, :enum, 70, "google.ads.googleads.v5.errors.EnumErrorEnum.EnumError" optional :keyword_plan_error, :enum, 71, "google.ads.googleads.v5.errors.KeywordPlanErrorEnum.KeywordPlanError" optional :keyword_plan_campaign_error, :enum, 72, "google.ads.googleads.v5.errors.KeywordPlanCampaignErrorEnum.KeywordPlanCampaignError" optional :keyword_plan_campaign_keyword_error, :enum, 132, "google.ads.googleads.v5.errors.KeywordPlanCampaignKeywordErrorEnum.KeywordPlanCampaignKeywordError" optional :keyword_plan_ad_group_error, :enum, 74, "google.ads.googleads.v5.errors.KeywordPlanAdGroupErrorEnum.KeywordPlanAdGroupError" optional :keyword_plan_ad_group_keyword_error, :enum, 133, "google.ads.googleads.v5.errors.KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError" optional :keyword_plan_idea_error, :enum, 76, "google.ads.googleads.v5.errors.KeywordPlanIdeaErrorEnum.KeywordPlanIdeaError" optional :account_budget_proposal_error, :enum, 77, "google.ads.googleads.v5.errors.AccountBudgetProposalErrorEnum.AccountBudgetProposalError" optional :user_list_error, :enum, 78, "google.ads.googleads.v5.errors.UserListErrorEnum.UserListError" optional :change_status_error, :enum, 79, "google.ads.googleads.v5.errors.ChangeStatusErrorEnum.ChangeStatusError" optional :feed_error, :enum, 80, "google.ads.googleads.v5.errors.FeedErrorEnum.FeedError" optional :geo_target_constant_suggestion_error, :enum, 81, "google.ads.googleads.v5.errors.GeoTargetConstantSuggestionErrorEnum.GeoTargetConstantSuggestionError" optional :campaign_draft_error, :enum, 82, "google.ads.googleads.v5.errors.CampaignDraftErrorEnum.CampaignDraftError" optional :feed_item_error, :enum, 83, "google.ads.googleads.v5.errors.FeedItemErrorEnum.FeedItemError" optional :label_error, :enum, 84, "google.ads.googleads.v5.errors.LabelErrorEnum.LabelError" optional :billing_setup_error, :enum, 87, "google.ads.googleads.v5.errors.BillingSetupErrorEnum.BillingSetupError" optional :customer_client_link_error, :enum, 88, "google.ads.googleads.v5.errors.CustomerClientLinkErrorEnum.CustomerClientLinkError" optional :customer_manager_link_error, :enum, 91, "google.ads.googleads.v5.errors.CustomerManagerLinkErrorEnum.CustomerManagerLinkError" optional :feed_mapping_error, :enum, 92, "google.ads.googleads.v5.errors.FeedMappingErrorEnum.FeedMappingError" optional :customer_feed_error, :enum, 93, "google.ads.googleads.v5.errors.CustomerFeedErrorEnum.CustomerFeedError" optional :ad_group_feed_error, :enum, 94, "google.ads.googleads.v5.errors.AdGroupFeedErrorEnum.AdGroupFeedError" optional :campaign_feed_error, :enum, 96, "google.ads.googleads.v5.errors.CampaignFeedErrorEnum.CampaignFeedError" optional :custom_interest_error, :enum, 97, "google.ads.googleads.v5.errors.CustomInterestErrorEnum.CustomInterestError" optional :campaign_experiment_error, :enum, 98, "google.ads.googleads.v5.errors.CampaignExperimentErrorEnum.CampaignExperimentError" optional :extension_feed_item_error, :enum, 100, "google.ads.googleads.v5.errors.ExtensionFeedItemErrorEnum.ExtensionFeedItemError" optional :ad_parameter_error, :enum, 101, "google.ads.googleads.v5.errors.AdParameterErrorEnum.AdParameterError" optional :feed_item_validation_error, :enum, 102, "google.ads.googleads.v5.errors.FeedItemValidationErrorEnum.FeedItemValidationError" optional :extension_setting_error, :enum, 103, "google.ads.googleads.v5.errors.ExtensionSettingErrorEnum.ExtensionSettingError" optional :feed_item_target_error, :enum, 104, "google.ads.googleads.v5.errors.FeedItemTargetErrorEnum.FeedItemTargetError" optional :policy_violation_error, :enum, 105, "google.ads.googleads.v5.errors.PolicyViolationErrorEnum.PolicyViolationError" optional :partial_failure_error, :enum, 112, "google.ads.googleads.v5.errors.PartialFailureErrorEnum.PartialFailureError" optional :policy_validation_parameter_error, :enum, 114, "google.ads.googleads.v5.errors.PolicyValidationParameterErrorEnum.PolicyValidationParameterError" optional :size_limit_error, :enum, 118, "google.ads.googleads.v5.errors.SizeLimitErrorEnum.SizeLimitError" optional :offline_user_data_job_error, :enum, 119, "google.ads.googleads.v5.errors.OfflineUserDataJobErrorEnum.OfflineUserDataJobError" optional :not_allowlisted_error, :enum, 137, "google.ads.googleads.v5.errors.NotAllowlistedErrorEnum.NotAllowlistedError" optional :manager_link_error, :enum, 121, "google.ads.googleads.v5.errors.ManagerLinkErrorEnum.ManagerLinkError" optional :currency_code_error, :enum, 122, "google.ads.googleads.v5.errors.CurrencyCodeErrorEnum.CurrencyCodeError" optional :access_invitation_error, :enum, 124, "google.ads.googleads.v5.errors.AccessInvitationErrorEnum.AccessInvitationError" optional :reach_plan_error, :enum, 125, "google.ads.googleads.v5.errors.ReachPlanErrorEnum.ReachPlanError" optional :invoice_error, :enum, 126, "google.ads.googleads.v5.errors.InvoiceErrorEnum.InvoiceError" optional :payments_account_error, :enum, 127, "google.ads.googleads.v5.errors.PaymentsAccountErrorEnum.PaymentsAccountError" optional :time_zone_error, :enum, 128, "google.ads.googleads.v5.errors.TimeZoneErrorEnum.TimeZoneError" optional :asset_link_error, :enum, 129, "google.ads.googleads.v5.errors.AssetLinkErrorEnum.AssetLinkError" optional :user_data_error, :enum, 130, "google.ads.googleads.v5.errors.UserDataErrorEnum.UserDataError" optional :batch_job_error, :enum, 131, "google.ads.googleads.v5.errors.BatchJobErrorEnum.BatchJobError" optional :account_link_error, :enum, 134, "google.ads.googleads.v5.errors.AccountLinkErrorEnum.AccountLinkError" optional :third_party_app_analytics_link_error, :enum, 135, "google.ads.googleads.v5.errors.ThirdPartyAppAnalyticsLinkErrorEnum.ThirdPartyAppAnalyticsLinkError" end end add_message "google.ads.googleads.v5.errors.ErrorLocation" do repeated :field_path_elements, :message, 2, "google.ads.googleads.v5.errors.ErrorLocation.FieldPathElement" end add_message "google.ads.googleads.v5.errors.ErrorLocation.FieldPathElement" do optional :field_name, :string, 1 optional :index, :message, 2, "google.protobuf.Int64Value" end add_message "google.ads.googleads.v5.errors.ErrorDetails" do optional :unpublished_error_code, :string, 1 optional :policy_violation_details, :message, 2, "google.ads.googleads.v5.errors.PolicyViolationDetails" optional :policy_finding_details, :message, 3, "google.ads.googleads.v5.errors.PolicyFindingDetails" optional :quota_error_details, :message, 4, "google.ads.googleads.v5.errors.QuotaErrorDetails" end add_message "google.ads.googleads.v5.errors.PolicyViolationDetails" do optional :external_policy_description, :string, 2 optional :key, :message, 4, "google.ads.googleads.v5.common.PolicyViolationKey" optional :external_policy_name, :string, 5 optional :is_exemptible, :bool, 6 end add_message "google.ads.googleads.v5.errors.PolicyFindingDetails" do repeated :policy_topic_entries, :message, 1, "google.ads.googleads.v5.common.PolicyTopicEntry" end add_message "google.ads.googleads.v5.errors.QuotaErrorDetails" do optional :rate_scope, :enum, 1, "google.ads.googleads.v5.errors.QuotaErrorDetails.QuotaRateScope" optional :rate_name, :string, 2 optional :retry_delay, :message, 3, "google.protobuf.Duration" end add_enum "google.ads.googleads.v5.errors.QuotaErrorDetails.QuotaRateScope" do value :UNSPECIFIED, 0 value :UNKNOWN, 1 value :ACCOUNT, 2 value :DEVELOPER, 3 end end end module Google module Ads module GoogleAds module V5 module Errors GoogleAdsFailure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v5.errors.GoogleAdsFailure").msgclass GoogleAdsError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v5.errors.GoogleAdsError").msgclass ErrorCode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v5.errors.ErrorCode").msgclass ErrorLocation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v5.errors.ErrorLocation").msgclass ErrorLocation::FieldPathElement = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v5.errors.ErrorLocation.FieldPathElement").msgclass ErrorDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v5.errors.ErrorDetails").msgclass PolicyViolationDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v5.errors.PolicyViolationDetails").msgclass PolicyFindingDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v5.errors.PolicyFindingDetails").msgclass QuotaErrorDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v5.errors.QuotaErrorDetails").msgclass QuotaErrorDetails::QuotaRateScope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v5.errors.QuotaErrorDetails.QuotaRateScope").enummodule end end end end end