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

require 'google/protobuf'


descriptor_data = "\n8google/ads/googleads/v21/errors/media_upload_error.proto\x12\x1fgoogle.ads.googleads.v21.errors\"\xfe\x08\n\x14MediaUploadErrorEnum\"\xe5\x08\n\x10MediaUploadError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x10\n\x0c\x46ILE_TOO_BIG\x10\x02\x12\x15\n\x11UNPARSEABLE_IMAGE\x10\x03\x12\x1e\n\x1a\x41NIMATED_IMAGE_NOT_ALLOWED\x10\x04\x12\x16\n\x12\x46ORMAT_NOT_ALLOWED\x10\x05\x12\x1c\n\x18\x45XTERNAL_URL_NOT_ALLOWED\x10\x06\x12\x19\n\x15INVALID_URL_REFERENCE\x10\x07\x12&\n\"MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY\x10\x08\x12\x1a\n\x16\x41NIMATED_VISUAL_EFFECT\x10\t\x12\x16\n\x12\x41NIMATION_TOO_LONG\x10\n\x12\x1c\n\x18\x41SPECT_RATIO_NOT_ALLOWED\x10\x0b\x12%\n!AUDIO_NOT_ALLOWED_IN_MEDIA_BUNDLE\x10\x0c\x12\x19\n\x15\x43MYK_JPEG_NOT_ALLOWED\x10\r\x12\x15\n\x11\x46LASH_NOT_ALLOWED\x10\x0e\x12\x17\n\x13\x46RAME_RATE_TOO_HIGH\x10\x0f\x12.\n*GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED\x10\x10\x12\x1e\n\x1aIMAGE_CONSTRAINTS_VIOLATED\x10\x11\x12\x18\n\x14INVALID_MEDIA_BUNDLE\x10\x12\x12\x1e\n\x1aINVALID_MEDIA_BUNDLE_ENTRY\x10\x13\x12\x15\n\x11INVALID_MIME_TYPE\x10\x14\x12\x10\n\x0cINVALID_PATH\x10\x15\x12\x12\n\x0eLAYOUT_PROBLEM\x10\x16\x12\x11\n\rMALFORMED_URL\x10\x17\x12\x1c\n\x18MEDIA_BUNDLE_NOT_ALLOWED\x10\x18\x12/\n+MEDIA_BUNDLE_NOT_COMPATIBLE_TO_PRODUCT_TYPE\x10\x19\x12\x31\n-MEDIA_BUNDLE_REJECTED_BY_MULTIPLE_ASSET_SPECS\x10\x1a\x12\"\n\x1eTOO_MANY_FILES_IN_MEDIA_BUNDLE\x10\x1b\x12/\n+UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT\x10\x1c\x12\x1d\n\x19UNSUPPORTED_HTML5_FEATURE\x10\x1d\x12)\n%URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT\x10\x1e\x12\x1c\n\x18VIDEO_FILE_NAME_TOO_LONG\x10\x1f\x12\'\n#VIDEO_MULTIPLE_FILES_WITH_SAME_NAME\x10 \x12%\n!VIDEO_NOT_ALLOWED_IN_MEDIA_BUNDLE\x10!\x12(\n$CANNOT_UPLOAD_MEDIA_TYPE_THROUGH_API\x10\"\x12\x1a\n\x16\x44IMENSIONS_NOT_ALLOWED\x10#B\xf5\x01\n#com.google.ads.googleads.v21.errorsB\x15MediaUploadErrorProtoP\x01ZEgoogle.golang.org/genproto/googleapis/ads/googleads/v21/errors;errors\xa2\x02\x03GAA\xaa\x02\x1fGoogle.Ads.GoogleAds.V21.Errors\xca\x02\x1fGoogle\\Ads\\GoogleAds\\V21\\Errors\xea\x02#Google::Ads::GoogleAds::V21::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 V21
        module Errors
          MediaUploadErrorEnum = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.errors.MediaUploadErrorEnum").msgclass
          MediaUploadErrorEnum::MediaUploadError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.errors.MediaUploadErrorEnum.MediaUploadError").enummodule
        end
      end
    end
  end
end
