# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v0/errors/errors.proto require 'google/protobuf' require 'google/ads/googleads/v0/common/policy_pb' require 'google/ads/googleads/v0/common/value_pb' require 'google/ads/googleads/v0/errors/ad_customizer_error_pb' require 'google/ads/googleads/v0/errors/ad_error_pb' require 'google/ads/googleads/v0/errors/ad_group_ad_error_pb' require 'google/ads/googleads/v0/errors/ad_group_bid_modifier_error_pb' require 'google/ads/googleads/v0/errors/ad_group_criterion_error_pb' require 'google/ads/googleads/v0/errors/ad_group_error_pb' require 'google/ads/googleads/v0/errors/ad_sharing_error_pb' require 'google/ads/googleads/v0/errors/adx_error_pb' require 'google/ads/googleads/v0/errors/authentication_error_pb' require 'google/ads/googleads/v0/errors/authorization_error_pb' require 'google/ads/googleads/v0/errors/bidding_error_pb' require 'google/ads/googleads/v0/errors/bidding_strategy_error_pb' require 'google/ads/googleads/v0/errors/campaign_budget_error_pb' require 'google/ads/googleads/v0/errors/campaign_criterion_error_pb' require 'google/ads/googleads/v0/errors/campaign_error_pb' require 'google/ads/googleads/v0/errors/campaign_group_error_pb' require 'google/ads/googleads/v0/errors/campaign_shared_set_error_pb' require 'google/ads/googleads/v0/errors/collection_size_error_pb' require 'google/ads/googleads/v0/errors/context_error_pb' require 'google/ads/googleads/v0/errors/criterion_error_pb' require 'google/ads/googleads/v0/errors/database_error_pb' require 'google/ads/googleads/v0/errors/date_error_pb' require 'google/ads/googleads/v0/errors/date_range_error_pb' require 'google/ads/googleads/v0/errors/distinct_error_pb' require 'google/ads/googleads/v0/errors/enum_error_pb' require 'google/ads/googleads/v0/errors/feed_attribute_reference_error_pb' require 'google/ads/googleads/v0/errors/field_error_pb' require 'google/ads/googleads/v0/errors/field_mask_error_pb' require 'google/ads/googleads/v0/errors/function_error_pb' require 'google/ads/googleads/v0/errors/function_parsing_error_pb' require 'google/ads/googleads/v0/errors/header_error_pb' require 'google/ads/googleads/v0/errors/id_error_pb' require 'google/ads/googleads/v0/errors/image_error_pb' require 'google/ads/googleads/v0/errors/internal_error_pb' require 'google/ads/googleads/v0/errors/list_operation_error_pb' require 'google/ads/googleads/v0/errors/media_bundle_error_pb' require 'google/ads/googleads/v0/errors/media_error_pb' require 'google/ads/googleads/v0/errors/multiplier_error_pb' require 'google/ads/googleads/v0/errors/mutate_error_pb' require 'google/ads/googleads/v0/errors/new_resource_creation_error_pb' require 'google/ads/googleads/v0/errors/not_empty_error_pb' require 'google/ads/googleads/v0/errors/null_error_pb' require 'google/ads/googleads/v0/errors/operation_access_denied_error_pb' require 'google/ads/googleads/v0/errors/operator_error_pb' require 'google/ads/googleads/v0/errors/policy_finding_error_pb' require 'google/ads/googleads/v0/errors/query_error_pb' require 'google/ads/googleads/v0/errors/quota_error_pb' require 'google/ads/googleads/v0/errors/range_error_pb' require 'google/ads/googleads/v0/errors/recommendation_error_pb' require 'google/ads/googleads/v0/errors/region_code_error_pb' require 'google/ads/googleads/v0/errors/request_error_pb' require 'google/ads/googleads/v0/errors/resource_access_denied_error_pb' require 'google/ads/googleads/v0/errors/resource_count_limit_exceeded_error_pb' require 'google/ads/googleads/v0/errors/setting_error_pb' require 'google/ads/googleads/v0/errors/shared_criterion_error_pb' require 'google/ads/googleads/v0/errors/shared_set_error_pb' require 'google/ads/googleads/v0/errors/string_format_error_pb' require 'google/ads/googleads/v0/errors/string_length_error_pb' require 'google/ads/googleads/v0/errors/url_field_error_pb' require 'google/protobuf/wrappers_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_message "google.ads.googleads.v0.errors.GoogleAdsFailure" do repeated :errors, :message, 1, "google.ads.googleads.v0.errors.GoogleAdsError" end add_message "google.ads.googleads.v0.errors.GoogleAdsError" do optional :error_code, :message, 1, "google.ads.googleads.v0.errors.ErrorCode" optional :message, :string, 2 optional :trigger, :message, 3, "google.ads.googleads.v0.common.Value" optional :location, :message, 4, "google.ads.googleads.v0.errors.ErrorLocation" optional :details, :message, 5, "google.ads.googleads.v0.errors.ErrorDetails" end add_message "google.ads.googleads.v0.errors.ErrorCode" do oneof :error_code do optional :request_error, :enum, 1, "google.ads.googleads.v0.errors.RequestErrorEnum.RequestError" optional :bidding_strategy_error, :enum, 2, "google.ads.googleads.v0.errors.BiddingStrategyErrorEnum.BiddingStrategyError" optional :url_field_error, :enum, 3, "google.ads.googleads.v0.errors.UrlFieldErrorEnum.UrlFieldError" optional :list_operation_error, :enum, 4, "google.ads.googleads.v0.errors.ListOperationErrorEnum.ListOperationError" optional :query_error, :enum, 5, "google.ads.googleads.v0.errors.QueryErrorEnum.QueryError" optional :mutate_error, :enum, 7, "google.ads.googleads.v0.errors.MutateErrorEnum.MutateError" optional :field_mask_error, :enum, 8, "google.ads.googleads.v0.errors.FieldMaskErrorEnum.FieldMaskError" optional :authorization_error, :enum, 9, "google.ads.googleads.v0.errors.AuthorizationErrorEnum.AuthorizationError" optional :internal_error, :enum, 10, "google.ads.googleads.v0.errors.InternalErrorEnum.InternalError" optional :quota_error, :enum, 11, "google.ads.googleads.v0.errors.QuotaErrorEnum.QuotaError" optional :ad_error, :enum, 12, "google.ads.googleads.v0.errors.AdErrorEnum.AdError" optional :ad_group_error, :enum, 13, "google.ads.googleads.v0.errors.AdGroupErrorEnum.AdGroupError" optional :campaign_budget_error, :enum, 14, "google.ads.googleads.v0.errors.CampaignBudgetErrorEnum.CampaignBudgetError" optional :campaign_error, :enum, 15, "google.ads.googleads.v0.errors.CampaignErrorEnum.CampaignError" optional :authentication_error, :enum, 17, "google.ads.googleads.v0.errors.AuthenticationErrorEnum.AuthenticationError" optional :ad_group_criterion_error, :enum, 18, "google.ads.googleads.v0.errors.AdGroupCriterionErrorEnum.AdGroupCriterionError" optional :ad_customizer_error, :enum, 19, "google.ads.googleads.v0.errors.AdCustomizerErrorEnum.AdCustomizerError" optional :ad_group_ad_error, :enum, 21, "google.ads.googleads.v0.errors.AdGroupAdErrorEnum.AdGroupAdError" optional :ad_sharing_error, :enum, 24, "google.ads.googleads.v0.errors.AdSharingErrorEnum.AdSharingError" optional :adx_error, :enum, 25, "google.ads.googleads.v0.errors.AdxErrorEnum.AdxError" optional :bidding_error, :enum, 26, "google.ads.googleads.v0.errors.BiddingErrorEnum.BiddingError" optional :campaign_criterion_error, :enum, 29, "google.ads.googleads.v0.errors.CampaignCriterionErrorEnum.CampaignCriterionError" optional :collection_size_error, :enum, 31, "google.ads.googleads.v0.errors.CollectionSizeErrorEnum.CollectionSizeError" optional :criterion_error, :enum, 32, "google.ads.googleads.v0.errors.CriterionErrorEnum.CriterionError" optional :date_error, :enum, 33, "google.ads.googleads.v0.errors.DateErrorEnum.DateError" optional :date_range_error, :enum, 34, "google.ads.googleads.v0.errors.DateRangeErrorEnum.DateRangeError" optional :distinct_error, :enum, 35, "google.ads.googleads.v0.errors.DistinctErrorEnum.DistinctError" optional :feed_attribute_reference_error, :enum, 36, "google.ads.googleads.v0.errors.FeedAttributeReferenceErrorEnum.FeedAttributeReferenceError" optional :function_error, :enum, 37, "google.ads.googleads.v0.errors.FunctionErrorEnum.FunctionError" optional :function_parsing_error, :enum, 38, "google.ads.googleads.v0.errors.FunctionParsingErrorEnum.FunctionParsingError" optional :id_error, :enum, 39, "google.ads.googleads.v0.errors.IdErrorEnum.IdError" optional :image_error, :enum, 40, "google.ads.googleads.v0.errors.ImageErrorEnum.ImageError" optional :media_bundle_error, :enum, 42, "google.ads.googleads.v0.errors.MediaBundleErrorEnum.MediaBundleError" optional :media_error, :enum, 43, "google.ads.googleads.v0.errors.MediaErrorEnum.MediaError" optional :multiplier_error, :enum, 44, "google.ads.googleads.v0.errors.MultiplierErrorEnum.MultiplierError" optional :new_resource_creation_error, :enum, 45, "google.ads.googleads.v0.errors.NewResourceCreationErrorEnum.NewResourceCreationError" optional :not_empty_error, :enum, 46, "google.ads.googleads.v0.errors.NotEmptyErrorEnum.NotEmptyError" optional :null_error, :enum, 47, "google.ads.googleads.v0.errors.NullErrorEnum.NullError" optional :operator_error, :enum, 48, "google.ads.googleads.v0.errors.OperatorErrorEnum.OperatorError" optional :range_error, :enum, 49, "google.ads.googleads.v0.errors.RangeErrorEnum.RangeError" optional :recommendation_error, :enum, 58, "google.ads.googleads.v0.errors.RecommendationErrorEnum.RecommendationError" optional :region_code_error, :enum, 51, "google.ads.googleads.v0.errors.RegionCodeErrorEnum.RegionCodeError" optional :setting_error, :enum, 52, "google.ads.googleads.v0.errors.SettingErrorEnum.SettingError" optional :string_format_error, :enum, 53, "google.ads.googleads.v0.errors.StringFormatErrorEnum.StringFormatError" optional :string_length_error, :enum, 54, "google.ads.googleads.v0.errors.StringLengthErrorEnum.StringLengthError" optional :operation_access_denied_error, :enum, 55, "google.ads.googleads.v0.errors.OperationAccessDeniedErrorEnum.OperationAccessDeniedError" optional :resource_access_denied_error, :enum, 56, "google.ads.googleads.v0.errors.ResourceAccessDeniedErrorEnum.ResourceAccessDeniedError" optional :resource_count_limit_exceeded_error, :enum, 57, "google.ads.googleads.v0.errors.ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError" optional :ad_group_bid_modifier_error, :enum, 59, "google.ads.googleads.v0.errors.AdGroupBidModifierErrorEnum.AdGroupBidModifierError" optional :context_error, :enum, 60, "google.ads.googleads.v0.errors.ContextErrorEnum.ContextError" optional :field_error, :enum, 61, "google.ads.googleads.v0.errors.FieldErrorEnum.FieldError" optional :shared_set_error, :enum, 62, "google.ads.googleads.v0.errors.SharedSetErrorEnum.SharedSetError" optional :shared_criterion_error, :enum, 63, "google.ads.googleads.v0.errors.SharedCriterionErrorEnum.SharedCriterionError" optional :campaign_shared_set_error, :enum, 64, "google.ads.googleads.v0.errors.CampaignSharedSetErrorEnum.CampaignSharedSetError" optional :header_error, :enum, 66, "google.ads.googleads.v0.errors.HeaderErrorEnum.HeaderError" optional :database_error, :enum, 67, "google.ads.googleads.v0.errors.DatabaseErrorEnum.DatabaseError" optional :policy_finding_error, :enum, 68, "google.ads.googleads.v0.errors.PolicyFindingErrorEnum.PolicyFindingError" optional :campaign_group_error, :enum, 69, "google.ads.googleads.v0.errors.CampaignGroupErrorEnum.CampaignGroupError" optional :enum_error, :enum, 70, "google.ads.googleads.v0.errors.EnumErrorEnum.EnumError" end end add_message "google.ads.googleads.v0.errors.ErrorLocation" do optional :operation_index, :message, 1, "google.protobuf.Int64Value" repeated :field_path_elements, :message, 2, "google.ads.googleads.v0.errors.ErrorLocation.FieldPathElement" end add_message "google.ads.googleads.v0.errors.ErrorLocation.FieldPathElement" do optional :field_name, :string, 1 optional :index, :message, 2, "google.protobuf.Int64Value" end add_message "google.ads.googleads.v0.errors.ErrorDetails" do optional :unpublished_error_code, :string, 1 optional :policy_violation_details, :message, 2, "google.ads.googleads.v0.errors.PolicyViolationDetails" optional :policy_finding_details, :message, 3, "google.ads.googleads.v0.errors.PolicyFindingDetails" end add_message "google.ads.googleads.v0.errors.PolicyViolationDetails" do optional :external_policy_description, :string, 2 optional :key, :message, 4, "google.ads.googleads.v0.common.PolicyViolationKey" optional :external_policy_name, :string, 5 optional :is_exemptible, :bool, 6 end add_message "google.ads.googleads.v0.errors.PolicyFindingDetails" do repeated :policy_topic_entries, :message, 1, "google.ads.googleads.v0.common.PolicyTopicEntry" end end module Google module Ads module Googleads module V0 module Errors GoogleAdsFailure = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.errors.GoogleAdsFailure").msgclass GoogleAdsError = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.errors.GoogleAdsError").msgclass ErrorCode = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.errors.ErrorCode").msgclass ErrorLocation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.errors.ErrorLocation").msgclass ErrorLocation::FieldPathElement = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.errors.ErrorLocation.FieldPathElement").msgclass ErrorDetails = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.errors.ErrorDetails").msgclass PolicyViolationDetails = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.errors.PolicyViolationDetails").msgclass PolicyFindingDetails = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.errors.PolicyFindingDetails").msgclass end end end end end