# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v8/common/asset_types.proto require 'google/protobuf' require 'google/ads/google_ads/v8/common/criteria_pb' require 'google/ads/google_ads/v8/common/feed_common_pb' require 'google/ads/google_ads/v8/enums/lead_form_call_to_action_type_pb' require 'google/ads/google_ads/v8/enums/lead_form_desired_intent_pb' require 'google/ads/google_ads/v8/enums/lead_form_field_user_input_type_pb' require 'google/ads/google_ads/v8/enums/lead_form_post_submit_call_to_action_type_pb' require 'google/ads/google_ads/v8/enums/mime_type_pb' require 'google/ads/google_ads/v8/enums/promotion_extension_discount_modifier_pb' require 'google/ads/google_ads/v8/enums/promotion_extension_occasion_pb' require 'google/api/field_behavior_pb' require 'google/api/annotations_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/ads/googleads/v8/common/asset_types.proto", :syntax => :proto3) do add_message "google.ads.googleads.v8.common.YoutubeVideoAsset" do proto3_optional :youtube_video_id, :string, 2 optional :youtube_video_title, :string, 3 end add_message "google.ads.googleads.v8.common.MediaBundleAsset" do proto3_optional :data, :bytes, 2 end add_message "google.ads.googleads.v8.common.ImageAsset" do proto3_optional :data, :bytes, 5 proto3_optional :file_size, :int64, 6 optional :mime_type, :enum, 3, "google.ads.googleads.v8.enums.MimeTypeEnum.MimeType" optional :full_size, :message, 4, "google.ads.googleads.v8.common.ImageDimension" end add_message "google.ads.googleads.v8.common.ImageDimension" do proto3_optional :height_pixels, :int64, 4 proto3_optional :width_pixels, :int64, 5 proto3_optional :url, :string, 6 end add_message "google.ads.googleads.v8.common.TextAsset" do proto3_optional :text, :string, 2 end add_message "google.ads.googleads.v8.common.LeadFormAsset" do optional :business_name, :string, 10 optional :call_to_action_type, :enum, 17, "google.ads.googleads.v8.enums.LeadFormCallToActionTypeEnum.LeadFormCallToActionType" optional :call_to_action_description, :string, 18 optional :headline, :string, 12 optional :description, :string, 13 optional :privacy_policy_url, :string, 14 proto3_optional :post_submit_headline, :string, 15 proto3_optional :post_submit_description, :string, 16 repeated :fields, :message, 8, "google.ads.googleads.v8.common.LeadFormField" repeated :delivery_methods, :message, 9, "google.ads.googleads.v8.common.LeadFormDeliveryMethod" optional :post_submit_call_to_action_type, :enum, 19, "google.ads.googleads.v8.enums.LeadFormPostSubmitCallToActionTypeEnum.LeadFormPostSubmitCallToActionType" proto3_optional :background_image_asset, :string, 20 optional :desired_intent, :enum, 21, "google.ads.googleads.v8.enums.LeadFormDesiredIntentEnum.LeadFormDesiredIntent" proto3_optional :custom_disclosure, :string, 22 end add_message "google.ads.googleads.v8.common.LeadFormField" do optional :input_type, :enum, 1, "google.ads.googleads.v8.enums.LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType" oneof :answers do optional :single_choice_answers, :message, 2, "google.ads.googleads.v8.common.LeadFormSingleChoiceAnswers" end end add_message "google.ads.googleads.v8.common.LeadFormSingleChoiceAnswers" do repeated :answers, :string, 1 end add_message "google.ads.googleads.v8.common.LeadFormDeliveryMethod" do oneof :delivery_details do optional :webhook, :message, 1, "google.ads.googleads.v8.common.WebhookDelivery" end end add_message "google.ads.googleads.v8.common.WebhookDelivery" do proto3_optional :advertiser_webhook_url, :string, 4 proto3_optional :google_secret, :string, 5 proto3_optional :payload_schema_version, :int64, 6 end add_message "google.ads.googleads.v8.common.BookOnGoogleAsset" do end add_message "google.ads.googleads.v8.common.PromotionAsset" do optional :promotion_target, :string, 1 optional :discount_modifier, :enum, 2, "google.ads.googleads.v8.enums.PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifier" optional :redemption_start_date, :string, 7 optional :redemption_end_date, :string, 8 optional :occasion, :enum, 9, "google.ads.googleads.v8.enums.PromotionExtensionOccasionEnum.PromotionExtensionOccasion" optional :language_code, :string, 10 optional :start_date, :string, 11 optional :end_date, :string, 12 repeated :ad_schedule_targets, :message, 13, "google.ads.googleads.v8.common.AdScheduleInfo" oneof :discount_type do optional :percent_off, :int64, 3 optional :money_amount_off, :message, 4, "google.ads.googleads.v8.common.Money" end oneof :promotion_trigger do optional :promotion_code, :string, 5 optional :orders_over_amount, :message, 6, "google.ads.googleads.v8.common.Money" end end add_message "google.ads.googleads.v8.common.CalloutAsset" do optional :callout_text, :string, 1 optional :start_date, :string, 2 optional :end_date, :string, 3 repeated :ad_schedule_targets, :message, 4, "google.ads.googleads.v8.common.AdScheduleInfo" end add_message "google.ads.googleads.v8.common.StructuredSnippetAsset" do optional :header, :string, 1 repeated :values, :string, 2 end add_message "google.ads.googleads.v8.common.SitelinkAsset" do optional :link_text, :string, 1 optional :description1, :string, 2 optional :description2, :string, 3 optional :start_date, :string, 4 optional :end_date, :string, 5 repeated :ad_schedule_targets, :message, 6, "google.ads.googleads.v8.common.AdScheduleInfo" end end end module Google module Ads module GoogleAds module V8 module Common YoutubeVideoAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v8.common.YoutubeVideoAsset").msgclass MediaBundleAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v8.common.MediaBundleAsset").msgclass ImageAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v8.common.ImageAsset").msgclass ImageDimension = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v8.common.ImageDimension").msgclass TextAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v8.common.TextAsset").msgclass LeadFormAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v8.common.LeadFormAsset").msgclass LeadFormField = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v8.common.LeadFormField").msgclass LeadFormSingleChoiceAnswers = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v8.common.LeadFormSingleChoiceAnswers").msgclass LeadFormDeliveryMethod = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v8.common.LeadFormDeliveryMethod").msgclass WebhookDelivery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v8.common.WebhookDelivery").msgclass BookOnGoogleAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v8.common.BookOnGoogleAsset").msgclass PromotionAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v8.common.PromotionAsset").msgclass CalloutAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v8.common.CalloutAsset").msgclass StructuredSnippetAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v8.common.StructuredSnippetAsset").msgclass SitelinkAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v8.common.SitelinkAsset").msgclass end end end end end