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

require 'google/protobuf'


descriptor_data = "\n6google/ads/googleads/v19/errors/asset_link_error.proto\x12\x1fgoogle.ads.googleads.v19.errors\"\xbd\x08\n\x12\x41ssetLinkErrorEnum\"\xa6\x08\n\x0e\x41ssetLinkError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x17\n\x13PINNING_UNSUPPORTED\x10\x02\x12\x1a\n\x16UNSUPPORTED_FIELD_TYPE\x10\x03\x12+\n\'FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE\x10\x04\x12.\n*FIELD_TYPE_INCOMPATIBLE_WITH_CAMPAIGN_TYPE\x10\x05\x12)\n%INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE\x10\x06\x12.\n*IMAGE_NOT_WITHIN_SPECIFIED_DIMENSION_RANGE\x10\x07\x12\x18\n\x14INVALID_PINNED_FIELD\x10\x08\x12*\n&MEDIA_BUNDLE_ASSET_FILE_SIZE_TOO_LARGE\x10\t\x12:\n6NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION\x10\n\x12\x32\n.NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK\x10\x0b\x12H\nDNOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK_FOR_VALID_COMBINATION\x10\x0c\x12\x19\n\x15YOUTUBE_VIDEO_REMOVED\x10\r\x12\x1a\n\x16YOUTUBE_VIDEO_TOO_LONG\x10\x0e\x12\x1b\n\x17YOUTUBE_VIDEO_TOO_SHORT\x10\x0f\x12\x1e\n\x1a\x45XCLUDED_PARENT_FIELD_TYPE\x10\x10\x12\x12\n\x0eINVALID_STATUS\x10\x11\x12&\n\"YOUTUBE_VIDEO_DURATION_NOT_DEFINED\x10\x12\x12-\n)CANNOT_CREATE_AUTOMATICALLY_CREATED_LINKS\x10\x13\x12.\n*CANNOT_LINK_TO_AUTOMATICALLY_CREATED_ASSET\x10\x14\x12#\n\x1f\x43\x41NNOT_MODIFY_ASSET_LINK_SOURCE\x10\x15\x12\x39\n5CANNOT_LINK_LOCATION_LEAD_FORM_WITHOUT_LOCATION_ASSET\x10\x16\x12\x19\n\x15\x43USTOMER_NOT_VERIFIED\x10\x17\x12\x1e\n\x1aUNSUPPORTED_CALL_TO_ACTION\x10\x18\x12\x30\n,BRAND_ASSETS_NOT_LINKED_AT_ASSET_GROUP_LEVEL\x10\x19\x12-\n)BRAND_ASSETS_NOT_LINKED_AT_CAMPAIGN_LEVEL\x10\x1a\x42\xf3\x01\n#com.google.ads.googleads.v19.errorsB\x13\x41ssetLinkErrorProtoP\x01ZEgoogle.golang.org/genproto/googleapis/ads/googleads/v19/errors;errors\xa2\x02\x03GAA\xaa\x02\x1fGoogle.Ads.GoogleAds.V19.Errors\xca\x02\x1fGoogle\\Ads\\GoogleAds\\V19\\Errors\xea\x02#Google::Ads::GoogleAds::V19::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 V19
        module Errors
          AssetLinkErrorEnum = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v19.errors.AssetLinkErrorEnum").msgclass
          AssetLinkErrorEnum::AssetLinkError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v19.errors.AssetLinkErrorEnum.AssetLinkError").enummodule
        end
      end
    end
  end
end
