# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v12/common/ad_type_infos.proto require 'google/protobuf' require 'google/ads/google_ads/v12/common/ad_asset_pb' require 'google/ads/google_ads/v12/enums/call_conversion_reporting_state_pb' require 'google/ads/google_ads/v12/enums/display_ad_format_setting_pb' require 'google/ads/google_ads/v12/enums/display_upload_product_type_pb' require 'google/ads/google_ads/v12/enums/legacy_app_install_ad_app_store_pb' require 'google/ads/google_ads/v12/enums/mime_type_pb' require 'google/ads/google_ads/v12/enums/video_thumbnail_pb' require 'google/api/field_behavior_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/ads/googleads/v12/common/ad_type_infos.proto", :syntax => :proto3) do add_message "google.ads.googleads.v12.common.TextAdInfo" do proto3_optional :headline, :string, 4 proto3_optional :description1, :string, 5 proto3_optional :description2, :string, 6 end add_message "google.ads.googleads.v12.common.ExpandedTextAdInfo" do proto3_optional :headline_part1, :string, 8 proto3_optional :headline_part2, :string, 9 proto3_optional :headline_part3, :string, 10 proto3_optional :description, :string, 11 proto3_optional :description2, :string, 12 proto3_optional :path1, :string, 13 proto3_optional :path2, :string, 14 end add_message "google.ads.googleads.v12.common.ExpandedDynamicSearchAdInfo" do proto3_optional :description, :string, 3 proto3_optional :description2, :string, 4 end add_message "google.ads.googleads.v12.common.HotelAdInfo" do end add_message "google.ads.googleads.v12.common.ShoppingSmartAdInfo" do end add_message "google.ads.googleads.v12.common.ShoppingProductAdInfo" do end add_message "google.ads.googleads.v12.common.ShoppingComparisonListingAdInfo" do proto3_optional :headline, :string, 2 end add_message "google.ads.googleads.v12.common.ImageAdInfo" do proto3_optional :pixel_width, :int64, 15 proto3_optional :pixel_height, :int64, 16 proto3_optional :image_url, :string, 17 proto3_optional :preview_pixel_width, :int64, 18 proto3_optional :preview_pixel_height, :int64, 19 proto3_optional :preview_image_url, :string, 20 optional :mime_type, :enum, 10, "google.ads.googleads.v12.enums.MimeTypeEnum.MimeType" proto3_optional :name, :string, 21 oneof :image do optional :media_file, :string, 12 optional :data, :bytes, 13 optional :ad_id_to_copy_image_from, :int64, 14 end end add_message "google.ads.googleads.v12.common.VideoBumperInStreamAdInfo" do optional :companion_banner, :message, 3, "google.ads.googleads.v12.common.AdImageAsset" end add_message "google.ads.googleads.v12.common.VideoNonSkippableInStreamAdInfo" do optional :companion_banner, :message, 5, "google.ads.googleads.v12.common.AdImageAsset" optional :action_button_label, :string, 3 optional :action_headline, :string, 4 end add_message "google.ads.googleads.v12.common.VideoTrueViewInStreamAdInfo" do optional :action_button_label, :string, 4 optional :action_headline, :string, 5 optional :companion_banner, :message, 7, "google.ads.googleads.v12.common.AdImageAsset" end add_message "google.ads.googleads.v12.common.VideoOutstreamAdInfo" do optional :headline, :string, 3 optional :description, :string, 4 end add_message "google.ads.googleads.v12.common.InFeedVideoAdInfo" do optional :headline, :string, 1 optional :description1, :string, 2 optional :description2, :string, 3 optional :thumbnail, :enum, 4, "google.ads.googleads.v12.enums.VideoThumbnailEnum.VideoThumbnail" end add_message "google.ads.googleads.v12.common.VideoAdInfo" do optional :video, :message, 8, "google.ads.googleads.v12.common.AdVideoAsset" oneof :format do optional :in_stream, :message, 2, "google.ads.googleads.v12.common.VideoTrueViewInStreamAdInfo" optional :bumper, :message, 3, "google.ads.googleads.v12.common.VideoBumperInStreamAdInfo" optional :out_stream, :message, 4, "google.ads.googleads.v12.common.VideoOutstreamAdInfo" optional :non_skippable, :message, 5, "google.ads.googleads.v12.common.VideoNonSkippableInStreamAdInfo" optional :in_feed, :message, 9, "google.ads.googleads.v12.common.InFeedVideoAdInfo" end end add_message "google.ads.googleads.v12.common.VideoResponsiveAdInfo" do repeated :headlines, :message, 1, "google.ads.googleads.v12.common.AdTextAsset" repeated :long_headlines, :message, 2, "google.ads.googleads.v12.common.AdTextAsset" repeated :descriptions, :message, 3, "google.ads.googleads.v12.common.AdTextAsset" repeated :call_to_actions, :message, 4, "google.ads.googleads.v12.common.AdTextAsset" repeated :videos, :message, 5, "google.ads.googleads.v12.common.AdVideoAsset" repeated :companion_banners, :message, 6, "google.ads.googleads.v12.common.AdImageAsset" optional :breadcrumb1, :string, 7 optional :breadcrumb2, :string, 8 end add_message "google.ads.googleads.v12.common.ResponsiveSearchAdInfo" do repeated :headlines, :message, 1, "google.ads.googleads.v12.common.AdTextAsset" repeated :descriptions, :message, 2, "google.ads.googleads.v12.common.AdTextAsset" proto3_optional :path1, :string, 5 proto3_optional :path2, :string, 6 end add_message "google.ads.googleads.v12.common.LegacyResponsiveDisplayAdInfo" do proto3_optional :short_headline, :string, 16 proto3_optional :long_headline, :string, 17 proto3_optional :description, :string, 18 proto3_optional :business_name, :string, 19 proto3_optional :allow_flexible_color, :bool, 20 proto3_optional :accent_color, :string, 21 proto3_optional :main_color, :string, 22 proto3_optional :call_to_action_text, :string, 23 proto3_optional :logo_image, :string, 24 proto3_optional :square_logo_image, :string, 25 proto3_optional :marketing_image, :string, 26 proto3_optional :square_marketing_image, :string, 27 optional :format_setting, :enum, 13, "google.ads.googleads.v12.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting" proto3_optional :price_prefix, :string, 28 proto3_optional :promo_text, :string, 29 end add_message "google.ads.googleads.v12.common.AppAdInfo" do optional :mandatory_ad_text, :message, 1, "google.ads.googleads.v12.common.AdTextAsset" repeated :headlines, :message, 2, "google.ads.googleads.v12.common.AdTextAsset" repeated :descriptions, :message, 3, "google.ads.googleads.v12.common.AdTextAsset" repeated :images, :message, 4, "google.ads.googleads.v12.common.AdImageAsset" repeated :youtube_videos, :message, 5, "google.ads.googleads.v12.common.AdVideoAsset" repeated :html5_media_bundles, :message, 6, "google.ads.googleads.v12.common.AdMediaBundleAsset" end add_message "google.ads.googleads.v12.common.AppEngagementAdInfo" do repeated :headlines, :message, 1, "google.ads.googleads.v12.common.AdTextAsset" repeated :descriptions, :message, 2, "google.ads.googleads.v12.common.AdTextAsset" repeated :images, :message, 3, "google.ads.googleads.v12.common.AdImageAsset" repeated :videos, :message, 4, "google.ads.googleads.v12.common.AdVideoAsset" end add_message "google.ads.googleads.v12.common.AppPreRegistrationAdInfo" do repeated :headlines, :message, 1, "google.ads.googleads.v12.common.AdTextAsset" repeated :descriptions, :message, 2, "google.ads.googleads.v12.common.AdTextAsset" repeated :images, :message, 3, "google.ads.googleads.v12.common.AdImageAsset" repeated :youtube_videos, :message, 4, "google.ads.googleads.v12.common.AdVideoAsset" end add_message "google.ads.googleads.v12.common.LegacyAppInstallAdInfo" do proto3_optional :app_id, :string, 6 optional :app_store, :enum, 2, "google.ads.googleads.v12.enums.LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore" proto3_optional :headline, :string, 7 proto3_optional :description1, :string, 8 proto3_optional :description2, :string, 9 end add_message "google.ads.googleads.v12.common.ResponsiveDisplayAdInfo" do repeated :marketing_images, :message, 1, "google.ads.googleads.v12.common.AdImageAsset" repeated :square_marketing_images, :message, 2, "google.ads.googleads.v12.common.AdImageAsset" repeated :logo_images, :message, 3, "google.ads.googleads.v12.common.AdImageAsset" repeated :square_logo_images, :message, 4, "google.ads.googleads.v12.common.AdImageAsset" repeated :headlines, :message, 5, "google.ads.googleads.v12.common.AdTextAsset" optional :long_headline, :message, 6, "google.ads.googleads.v12.common.AdTextAsset" repeated :descriptions, :message, 7, "google.ads.googleads.v12.common.AdTextAsset" repeated :youtube_videos, :message, 8, "google.ads.googleads.v12.common.AdVideoAsset" proto3_optional :business_name, :string, 17 proto3_optional :main_color, :string, 18 proto3_optional :accent_color, :string, 19 proto3_optional :allow_flexible_color, :bool, 20 proto3_optional :call_to_action_text, :string, 21 proto3_optional :price_prefix, :string, 22 proto3_optional :promo_text, :string, 23 optional :format_setting, :enum, 16, "google.ads.googleads.v12.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting" optional :control_spec, :message, 24, "google.ads.googleads.v12.common.ResponsiveDisplayAdControlSpec" end add_message "google.ads.googleads.v12.common.LocalAdInfo" do repeated :headlines, :message, 1, "google.ads.googleads.v12.common.AdTextAsset" repeated :descriptions, :message, 2, "google.ads.googleads.v12.common.AdTextAsset" repeated :call_to_actions, :message, 3, "google.ads.googleads.v12.common.AdTextAsset" repeated :marketing_images, :message, 4, "google.ads.googleads.v12.common.AdImageAsset" repeated :logo_images, :message, 5, "google.ads.googleads.v12.common.AdImageAsset" repeated :videos, :message, 6, "google.ads.googleads.v12.common.AdVideoAsset" proto3_optional :path1, :string, 9 proto3_optional :path2, :string, 10 end add_message "google.ads.googleads.v12.common.DisplayUploadAdInfo" do optional :display_upload_product_type, :enum, 1, "google.ads.googleads.v12.enums.DisplayUploadProductTypeEnum.DisplayUploadProductType" oneof :media_asset do optional :media_bundle, :message, 2, "google.ads.googleads.v12.common.AdMediaBundleAsset" end end add_message "google.ads.googleads.v12.common.ResponsiveDisplayAdControlSpec" do optional :enable_asset_enhancements, :bool, 1 optional :enable_autogen_video, :bool, 2 end add_message "google.ads.googleads.v12.common.SmartCampaignAdInfo" do repeated :headlines, :message, 1, "google.ads.googleads.v12.common.AdTextAsset" repeated :descriptions, :message, 2, "google.ads.googleads.v12.common.AdTextAsset" end add_message "google.ads.googleads.v12.common.CallAdInfo" do optional :country_code, :string, 1 optional :phone_number, :string, 2 optional :business_name, :string, 3 optional :headline1, :string, 11 optional :headline2, :string, 12 optional :description1, :string, 4 optional :description2, :string, 5 optional :call_tracked, :bool, 6 optional :disable_call_conversion, :bool, 7 optional :phone_number_verification_url, :string, 8 optional :conversion_action, :string, 9 optional :conversion_reporting_state, :enum, 10, "google.ads.googleads.v12.enums.CallConversionReportingStateEnum.CallConversionReportingState" optional :path1, :string, 13 optional :path2, :string, 14 end add_message "google.ads.googleads.v12.common.DiscoveryMultiAssetAdInfo" do repeated :marketing_images, :message, 1, "google.ads.googleads.v12.common.AdImageAsset" repeated :square_marketing_images, :message, 2, "google.ads.googleads.v12.common.AdImageAsset" repeated :portrait_marketing_images, :message, 3, "google.ads.googleads.v12.common.AdImageAsset" repeated :logo_images, :message, 4, "google.ads.googleads.v12.common.AdImageAsset" repeated :headlines, :message, 5, "google.ads.googleads.v12.common.AdTextAsset" repeated :descriptions, :message, 6, "google.ads.googleads.v12.common.AdTextAsset" proto3_optional :business_name, :string, 7 proto3_optional :call_to_action_text, :string, 8 proto3_optional :lead_form_only, :bool, 9 end add_message "google.ads.googleads.v12.common.DiscoveryCarouselAdInfo" do optional :business_name, :string, 1 optional :logo_image, :message, 2, "google.ads.googleads.v12.common.AdImageAsset" optional :headline, :message, 3, "google.ads.googleads.v12.common.AdTextAsset" optional :description, :message, 4, "google.ads.googleads.v12.common.AdTextAsset" optional :call_to_action_text, :string, 5 repeated :carousel_cards, :message, 6, "google.ads.googleads.v12.common.AdDiscoveryCarouselCardAsset" end end end module Google module Ads module GoogleAds module V12 module Common TextAdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.TextAdInfo").msgclass ExpandedTextAdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.ExpandedTextAdInfo").msgclass ExpandedDynamicSearchAdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.ExpandedDynamicSearchAdInfo").msgclass HotelAdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.HotelAdInfo").msgclass ShoppingSmartAdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.ShoppingSmartAdInfo").msgclass ShoppingProductAdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.ShoppingProductAdInfo").msgclass ShoppingComparisonListingAdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.ShoppingComparisonListingAdInfo").msgclass ImageAdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.ImageAdInfo").msgclass VideoBumperInStreamAdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.VideoBumperInStreamAdInfo").msgclass VideoNonSkippableInStreamAdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.VideoNonSkippableInStreamAdInfo").msgclass VideoTrueViewInStreamAdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.VideoTrueViewInStreamAdInfo").msgclass VideoOutstreamAdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.VideoOutstreamAdInfo").msgclass InFeedVideoAdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.InFeedVideoAdInfo").msgclass VideoAdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.VideoAdInfo").msgclass VideoResponsiveAdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.VideoResponsiveAdInfo").msgclass ResponsiveSearchAdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.ResponsiveSearchAdInfo").msgclass LegacyResponsiveDisplayAdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.LegacyResponsiveDisplayAdInfo").msgclass AppAdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.AppAdInfo").msgclass AppEngagementAdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.AppEngagementAdInfo").msgclass AppPreRegistrationAdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.AppPreRegistrationAdInfo").msgclass LegacyAppInstallAdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.LegacyAppInstallAdInfo").msgclass ResponsiveDisplayAdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.ResponsiveDisplayAdInfo").msgclass LocalAdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.LocalAdInfo").msgclass DisplayUploadAdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.DisplayUploadAdInfo").msgclass ResponsiveDisplayAdControlSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.ResponsiveDisplayAdControlSpec").msgclass SmartCampaignAdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.SmartCampaignAdInfo").msgclass CallAdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.CallAdInfo").msgclass DiscoveryMultiAssetAdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.DiscoveryMultiAssetAdInfo").msgclass DiscoveryCarouselAdInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v12.common.DiscoveryCarouselAdInfo").msgclass end end end end end