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

require 'google/protobuf'

require 'google/ads/google_ads/v20/common/asset_policy_pb'
require 'google/ads/google_ads/v20/enums/asset_performance_label_pb'
require 'google/ads/google_ads/v20/enums/served_asset_field_type_pb'


descriptor_data = "\n.google/ads/googleads/v20/common/ad_asset.proto\x12\x1fgoogle.ads.googleads.v20.common\x1a\x32google/ads/googleads/v20/common/asset_policy.proto\x1a<google/ads/googleads/v20/enums/asset_performance_label.proto\x1a<google/ads/googleads/v20/enums/served_asset_field_type.proto\"\xd4\x02\n\x0b\x41\x64TextAsset\x12\x11\n\x04text\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x63\n\x0cpinned_field\x18\x02 \x01(\x0e\x32M.google.ads.googleads.v20.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType\x12p\n\x17\x61sset_performance_label\x18\x05 \x01(\x0e\x32O.google.ads.googleads.v20.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel\x12R\n\x13policy_summary_info\x18\x06 \x01(\x0b\x32\x35.google.ads.googleads.v20.common.AdAssetPolicySummaryB\x07\n\x05_text\",\n\x0c\x41\x64ImageAsset\x12\x12\n\x05\x61sset\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x08\n\x06_asset\"\x99\x01\n\x0c\x41\x64VideoAsset\x12\x12\n\x05\x61sset\x18\x02 \x01(\tH\x00\x88\x01\x01\x12S\n\x13\x61\x64_video_asset_info\x18\x04 \x01(\x0b\x32\x31.google.ads.googleads.v20.common.AdVideoAssetInfoH\x01\x88\x01\x01\x42\x08\n\x06_assetB\x16\n\x14_ad_video_asset_info\"\xb1\x01\n\x10\x41\x64VideoAssetInfo\x12t\n$ad_video_asset_inventory_preferences\x18\x01 \x01(\x0b\x32\x41.google.ads.googleads.v20.common.AdVideoAssetInventoryPreferencesH\x00\x88\x01\x01\x42\'\n%_ad_video_asset_inventory_preferences\"\xcc\x01\n AdVideoAssetInventoryPreferences\x12\x1f\n\x12in_feed_preference\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12!\n\x14in_stream_preference\x18\x02 \x01(\x08H\x01\x88\x01\x01\x12\x1e\n\x11shorts_preference\x18\x03 \x01(\x08H\x02\x88\x01\x01\x42\x15\n\x13_in_feed_preferenceB\x17\n\x15_in_stream_preferenceB\x14\n\x12_shorts_preference\"2\n\x12\x41\x64MediaBundleAsset\x12\x12\n\x05\x61sset\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x08\n\x06_asset\"<\n\x1c\x41\x64\x44\x65mandGenCarouselCardAsset\x12\x12\n\x05\x61sset\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x08\n\x06_asset\"3\n\x13\x41\x64\x43\x61llToActionAsset\x12\x12\n\x05\x61sset\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x08\n\x06_asset\"2\n\x12\x41\x64\x41ppDeepLinkAsset\x12\x12\n\x05\x61sset\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x08\n\x06_assetB\xec\x01\n#com.google.ads.googleads.v20.commonB\x0c\x41\x64\x41ssetProtoP\x01ZEgoogle.golang.org/genproto/googleapis/ads/googleads/v20/common;common\xa2\x02\x03GAA\xaa\x02\x1fGoogle.Ads.GoogleAds.V20.Common\xca\x02\x1fGoogle\\Ads\\GoogleAds\\V20\\Common\xea\x02#Google::Ads::GoogleAds::V20::Commonb\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 = [
    ["google.ads.googleads.v20.common.AdAssetPolicySummary", "google/ads/googleads/v20/common/asset_policy.proto"],
  ]
  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 Common
          AdTextAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.AdTextAsset").msgclass
          AdImageAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.AdImageAsset").msgclass
          AdVideoAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.AdVideoAsset").msgclass
          AdVideoAssetInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.AdVideoAssetInfo").msgclass
          AdVideoAssetInventoryPreferences = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.AdVideoAssetInventoryPreferences").msgclass
          AdMediaBundleAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.AdMediaBundleAsset").msgclass
          AdDemandGenCarouselCardAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.AdDemandGenCarouselCardAsset").msgclass
          AdCallToActionAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.AdCallToActionAsset").msgclass
          AdAppDeepLinkAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v20.common.AdAppDeepLinkAsset").msgclass
        end
      end
    end
  end
end
