# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/google_ads/v2/resources/media_file.proto require 'google/protobuf' require 'google/ads/google_ads/v2/enums/media_type_pb' require 'google/ads/google_ads/v2/enums/mime_type_pb' require 'google/protobuf/wrappers_pb' require 'google/api/annotations_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_message "google.ads.googleads.v2.resources.MediaFile" do optional :resource_name, :string, 1 optional :id, :message, 2, "google.protobuf.Int64Value" optional :type, :enum, 5, "google.ads.googleads.v2.enums.MediaTypeEnum.MediaType" optional :mime_type, :enum, 6, "google.ads.googleads.v2.enums.MimeTypeEnum.MimeType" optional :source_url, :message, 7, "google.protobuf.StringValue" optional :name, :message, 8, "google.protobuf.StringValue" optional :file_size, :message, 9, "google.protobuf.Int64Value" oneof :mediatype do optional :image, :message, 3, "google.ads.googleads.v2.resources.MediaImage" optional :media_bundle, :message, 4, "google.ads.googleads.v2.resources.MediaBundle" optional :audio, :message, 10, "google.ads.googleads.v2.resources.MediaAudio" optional :video, :message, 11, "google.ads.googleads.v2.resources.MediaVideo" end end add_message "google.ads.googleads.v2.resources.MediaImage" do optional :data, :message, 1, "google.protobuf.BytesValue" end add_message "google.ads.googleads.v2.resources.MediaBundle" do optional :data, :message, 1, "google.protobuf.BytesValue" end add_message "google.ads.googleads.v2.resources.MediaAudio" do optional :ad_duration_millis, :message, 1, "google.protobuf.Int64Value" end add_message "google.ads.googleads.v2.resources.MediaVideo" do optional :ad_duration_millis, :message, 1, "google.protobuf.Int64Value" optional :youtube_video_id, :message, 2, "google.protobuf.StringValue" optional :advertising_id_code, :message, 3, "google.protobuf.StringValue" optional :isci_code, :message, 4, "google.protobuf.StringValue" end end module Google::Ads::GoogleAds::V2::Resources MediaFile = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v2.resources.MediaFile").msgclass MediaImage = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v2.resources.MediaImage").msgclass MediaBundle = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v2.resources.MediaBundle").msgclass MediaAudio = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v2.resources.MediaAudio").msgclass MediaVideo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v2.resources.MediaVideo").msgclass end