# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads/v4/errors/ad_group_ad_error.proto

require 'google/protobuf'

require 'google/api/annotations_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("google/ads/googleads/v4/errors/ad_group_ad_error.proto", :syntax => :proto3) do
    add_message "google.ads.googleads.v4.errors.AdGroupAdErrorEnum" do
    end
    add_enum "google.ads.googleads.v4.errors.AdGroupAdErrorEnum.AdGroupAdError" do
      value :UNSPECIFIED, 0
      value :UNKNOWN, 1
      value :AD_GROUP_AD_LABEL_DOES_NOT_EXIST, 2
      value :AD_GROUP_AD_LABEL_ALREADY_EXISTS, 3
      value :AD_NOT_UNDER_ADGROUP, 4
      value :CANNOT_OPERATE_ON_REMOVED_ADGROUPAD, 5
      value :CANNOT_CREATE_DEPRECATED_ADS, 6
      value :CANNOT_CREATE_TEXT_ADS, 7
      value :EMPTY_FIELD, 8
      value :RESOURCE_REFERENCED_IN_MULTIPLE_OPS, 9
      value :AD_TYPE_CANNOT_BE_PAUSED, 10
      value :AD_TYPE_CANNOT_BE_REMOVED, 11
    end
  end
end

module Google
  module Ads
    module GoogleAds
      module V4
        module Errors
          AdGroupAdErrorEnum = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v4.errors.AdGroupAdErrorEnum").msgclass
          AdGroupAdErrorEnum::AdGroupAdError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v4.errors.AdGroupAdErrorEnum.AdGroupAdError").enummodule
        end
      end
    end
  end
end
