# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v9/common/asset_types.proto require 'google/ads/google_ads/v9/common/criteria_pb' require 'google/ads/google_ads/v9/common/feed_common_pb' require 'google/ads/google_ads/v9/enums/call_conversion_reporting_state_pb' require 'google/ads/google_ads/v9/enums/call_to_action_type_pb' require 'google/ads/google_ads/v9/enums/lead_form_call_to_action_type_pb' require 'google/ads/google_ads/v9/enums/lead_form_desired_intent_pb' require 'google/ads/google_ads/v9/enums/lead_form_field_user_input_type_pb' require 'google/ads/google_ads/v9/enums/lead_form_post_submit_call_to_action_type_pb' require 'google/ads/google_ads/v9/enums/mime_type_pb' require 'google/ads/google_ads/v9/enums/mobile_app_vendor_pb' require 'google/ads/google_ads/v9/enums/price_extension_price_qualifier_pb' require 'google/ads/google_ads/v9/enums/price_extension_price_unit_pb' require 'google/ads/google_ads/v9/enums/price_extension_type_pb' require 'google/ads/google_ads/v9/enums/promotion_extension_discount_modifier_pb' require 'google/ads/google_ads/v9/enums/promotion_extension_occasion_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/api/annotations_pb' require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/ads/googleads/v9/common/asset_types.proto", :syntax => :proto3) do add_message "google.ads.googleads.v9.common.YoutubeVideoAsset" do proto3_optional :youtube_video_id, :string, 2 optional :youtube_video_title, :string, 3 end add_message "google.ads.googleads.v9.common.MediaBundleAsset" do proto3_optional :data, :bytes, 2 end add_message "google.ads.googleads.v9.common.ImageAsset" do proto3_optional :data, :bytes, 5 proto3_optional :file_size, :int64, 6 optional :mime_type, :enum, 3, "google.ads.googleads.v9.enums.MimeTypeEnum.MimeType" optional :full_size, :message, 4, "google.ads.googleads.v9.common.ImageDimension" end add_message "google.ads.googleads.v9.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.v9.common.TextAsset" do proto3_optional :text, :string, 2 end add_message "google.ads.googleads.v9.common.LeadFormAsset" do optional :business_name, :string, 10 optional :call_to_action_type, :enum, 17, "google.ads.googleads.v9.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.v9.common.LeadFormField" repeated :delivery_methods, :message, 9, "google.ads.googleads.v9.common.LeadFormDeliveryMethod" optional :post_submit_call_to_action_type, :enum, 19, "google.ads.googleads.v9.enums.LeadFormPostSubmitCallToActionTypeEnum.LeadFormPostSubmitCallToActionType" proto3_optional :background_image_asset, :string, 20 optional :desired_intent, :enum, 21, "google.ads.googleads.v9.enums.LeadFormDesiredIntentEnum.LeadFormDesiredIntent" proto3_optional :custom_disclosure, :string, 22 end add_message "google.ads.googleads.v9.common.LeadFormField" do optional :input_type, :enum, 1, "google.ads.googleads.v9.enums.LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType" oneof :answers do optional :single_choice_answers, :message, 2, "google.ads.googleads.v9.common.LeadFormSingleChoiceAnswers" end end add_message "google.ads.googleads.v9.common.LeadFormSingleChoiceAnswers" do repeated :answers, :string, 1 end add_message "google.ads.googleads.v9.common.LeadFormDeliveryMethod" do oneof :delivery_details do optional :webhook, :message, 1, "google.ads.googleads.v9.common.WebhookDelivery" end end add_message "google.ads.googleads.v9.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.v9.common.BookOnGoogleAsset" do end add_message "google.ads.googleads.v9.common.PromotionAsset" do optional :promotion_target, :string, 1 optional :discount_modifier, :enum, 2, "google.ads.googleads.v9.enums.PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifier" optional :redemption_start_date, :string, 7 optional :redemption_end_date, :string, 8 optional :occasion, :enum, 9, "google.ads.googleads.v9.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.v9.common.AdScheduleInfo" oneof :discount_type do optional :percent_off, :int64, 3 optional :money_amount_off, :message, 4, "google.ads.googleads.v9.common.Money" end oneof :promotion_trigger do optional :promotion_code, :string, 5 optional :orders_over_amount, :message, 6, "google.ads.googleads.v9.common.Money" end end add_message "google.ads.googleads.v9.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.v9.common.AdScheduleInfo" end add_message "google.ads.googleads.v9.common.StructuredSnippetAsset" do optional :header, :string, 1 repeated :values, :string, 2 end add_message "google.ads.googleads.v9.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.v9.common.AdScheduleInfo" end add_message "google.ads.googleads.v9.common.PageFeedAsset" do optional :page_url, :string, 1 repeated :labels, :string, 2 end add_message "google.ads.googleads.v9.common.DynamicEducationAsset" do optional :program_id, :string, 1 optional :location_id, :string, 2 optional :program_name, :string, 3 optional :subject, :string, 4 optional :program_description, :string, 5 optional :school_name, :string, 6 optional :address, :string, 7 repeated :contextual_keywords, :string, 8 optional :android_app_link, :string, 9 repeated :similar_program_ids, :string, 10 optional :ios_app_link, :string, 11 optional :ios_app_store_id, :int64, 12 optional :thumbnail_image_url, :string, 13 optional :image_url, :string, 14 end add_message "google.ads.googleads.v9.common.MobileAppAsset" do optional :app_id, :string, 1 optional :app_store, :enum, 2, "google.ads.googleads.v9.enums.MobileAppVendorEnum.MobileAppVendor" optional :link_text, :string, 3 optional :start_date, :string, 4 optional :end_date, :string, 5 end add_message "google.ads.googleads.v9.common.HotelCalloutAsset" do optional :text, :string, 1 optional :language_code, :string, 2 end add_message "google.ads.googleads.v9.common.CallAsset" do optional :country_code, :string, 1 optional :phone_number, :string, 2 optional :call_conversion_reporting_state, :enum, 3, "google.ads.googleads.v9.enums.CallConversionReportingStateEnum.CallConversionReportingState" optional :call_conversion_action, :string, 4 repeated :ad_schedule_targets, :message, 5, "google.ads.googleads.v9.common.AdScheduleInfo" end add_message "google.ads.googleads.v9.common.PriceAsset" do optional :type, :enum, 1, "google.ads.googleads.v9.enums.PriceExtensionTypeEnum.PriceExtensionType" optional :price_qualifier, :enum, 2, "google.ads.googleads.v9.enums.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier" optional :language_code, :string, 3 repeated :price_offerings, :message, 4, "google.ads.googleads.v9.common.PriceOffering" end add_message "google.ads.googleads.v9.common.PriceOffering" do optional :header, :string, 1 optional :description, :string, 2 optional :price, :message, 3, "google.ads.googleads.v9.common.Money" optional :unit, :enum, 4, "google.ads.googleads.v9.enums.PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit" optional :final_url, :string, 5 optional :final_mobile_url, :string, 6 end add_message "google.ads.googleads.v9.common.CallToActionAsset" do optional :call_to_action, :enum, 1, "google.ads.googleads.v9.enums.CallToActionTypeEnum.CallToActionType" end end end module Google module Ads module GoogleAds module V9 module Common YoutubeVideoAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v9.common.YoutubeVideoAsset").msgclass MediaBundleAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v9.common.MediaBundleAsset").msgclass ImageAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v9.common.ImageAsset").msgclass ImageDimension = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v9.common.ImageDimension").msgclass TextAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v9.common.TextAsset").msgclass LeadFormAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v9.common.LeadFormAsset").msgclass LeadFormField = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v9.common.LeadFormField").msgclass LeadFormSingleChoiceAnswers = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v9.common.LeadFormSingleChoiceAnswers").msgclass LeadFormDeliveryMethod = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v9.common.LeadFormDeliveryMethod").msgclass WebhookDelivery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v9.common.WebhookDelivery").msgclass BookOnGoogleAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v9.common.BookOnGoogleAsset").msgclass PromotionAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v9.common.PromotionAsset").msgclass CalloutAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v9.common.CalloutAsset").msgclass StructuredSnippetAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v9.common.StructuredSnippetAsset").msgclass SitelinkAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v9.common.SitelinkAsset").msgclass PageFeedAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v9.common.PageFeedAsset").msgclass DynamicEducationAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v9.common.DynamicEducationAsset").msgclass MobileAppAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v9.common.MobileAppAsset").msgclass HotelCalloutAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v9.common.HotelCalloutAsset").msgclass CallAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v9.common.CallAsset").msgclass PriceAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v9.common.PriceAsset").msgclass PriceOffering = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v9.common.PriceOffering").msgclass CallToActionAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v9.common.CallToActionAsset").msgclass end end end end end