# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads/v20/errors/asset_group_error.proto

require 'google/protobuf'


descriptor_data = "\n7google/ads/googleads/v20/errors/asset_group_error.proto\x12\x1fgoogle.ads.googleads.v20.errors\"\x9d\x05\n\x13\x41ssetGroupErrorEnum\"\x85\x05\n\x0f\x41ssetGroupError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x12\n\x0e\x44UPLICATE_NAME\x10\x02\x12,\n(CANNOT_ADD_ASSET_GROUP_FOR_CAMPAIGN_TYPE\x10\x03\x12\x1d\n\x19NOT_ENOUGH_HEADLINE_ASSET\x10\x04\x12\"\n\x1eNOT_ENOUGH_LONG_HEADLINE_ASSET\x10\x05\x12 \n\x1cNOT_ENOUGH_DESCRIPTION_ASSET\x10\x06\x12\"\n\x1eNOT_ENOUGH_BUSINESS_NAME_ASSET\x10\x07\x12$\n NOT_ENOUGH_MARKETING_IMAGE_ASSET\x10\x08\x12+\n\'NOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSET\x10\t\x12\x19\n\x15NOT_ENOUGH_LOGO_ASSET\x10\n\x12<\n8FINAL_URL_SHOPPING_MERCHANT_HOME_PAGE_URL_DOMAINS_DIFFER\x10\x0b\x12$\n PATH1_REQUIRED_WHEN_PATH2_IS_SET\x10\x0c\x12\x1e\n\x1aSHORT_DESCRIPTION_REQUIRED\x10\r\x12\x16\n\x12\x46INAL_URL_REQUIRED\x10\x0e\x12*\n&FINAL_URL_CONTAINS_INVALID_DOMAIN_NAME\x10\x0f\x12\x1f\n\x1b\x41\x44_CUSTOMIZER_NOT_SUPPORTED\x10\x10\x12\x32\n.CANNOT_MUTATE_ASSET_GROUP_FOR_REMOVED_CAMPAIGN\x10\x11\x42\xf4\x01\n#com.google.ads.googleads.v20.errorsB\x14\x41ssetGroupErrorProtoP\x01ZEgoogle.golang.org/genproto/googleapis/ads/googleads/v20/errors;errors\xa2\x02\x03GAA\xaa\x02\x1fGoogle.Ads.GoogleAds.V20.Errors\xca\x02\x1fGoogle\\Ads\\GoogleAds\\V20\\Errors\xea\x02#Google::Ads::GoogleAds::V20::Errorsb\x06proto3"

pool = Google::Protobuf::DescriptorPool.generated_pool

begin
  pool.add_serialized_file(descriptor_data)
rescue TypeError
  # Compatibility code: will be removed in the next major version.
  require 'google/protobuf/descriptor_pb'
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
  parsed.clear_dependency
  serialized = parsed.class.encode(parsed)
  file = pool.add_serialized_file(serialized)
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
  imports = [
  ]
  imports.each do |type_name, expected_filename|
    import_file = pool.lookup(type_name).file_descriptor
    if import_file.name != expected_filename
      warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
    end
  end
  warn "Each proto file must use a consistent fully-qualified name."
  warn "This will become an error in the next major version."
end

module Google
  module Ads
    module GoogleAds
      module V20
        module Errors
          AssetGroupErrorEnum = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.errors.AssetGroupErrorEnum").msgclass
          AssetGroupErrorEnum::AssetGroupError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.errors.AssetGroupErrorEnum.AssetGroupError").enummodule
        end
      end
    end
  end
end
