# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v3/resources/media_file.proto require 'google/protobuf' require 'google/ads/google_ads/v3/enums/media_type_pb' require 'google/ads/google_ads/v3/enums/mime_type_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/protobuf/wrappers_pb' require 'google/api/annotations_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/ads/googleads/v3/resources/media_file.proto", :syntax => :proto3) do add_message "google.ads.googleads.v3.resources.MediaFile" do optional :resource_name, :string, 1 optional :id, :message, 2, "google.protobuf.Int64Value" optional :type, :enum, 5, "google.ads.googleads.v3.enums.MediaTypeEnum.MediaType" optional :mime_type, :enum, 6, "google.ads.googleads.v3.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.v3.resources.MediaImage" optional :media_bundle, :message, 4, "google.ads.googleads.v3.resources.MediaBundle" optional :audio, :message, 10, "google.ads.googleads.v3.resources.MediaAudio" optional :video, :message, 11, "google.ads.googleads.v3.resources.MediaVideo" end end add_message "google.ads.googleads.v3.resources.MediaImage" do optional :data, :message, 1, "google.protobuf.BytesValue" end add_message "google.ads.googleads.v3.resources.MediaBundle" do optional :data, :message, 1, "google.protobuf.BytesValue" end add_message "google.ads.googleads.v3.resources.MediaAudio" do optional :ad_duration_millis, :message, 1, "google.protobuf.Int64Value" end add_message "google.ads.googleads.v3.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 end module Google module Ads module GoogleAds module V3 module Resources MediaFile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.resources.MediaFile").msgclass MediaImage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.resources.MediaImage").msgclass MediaBundle = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.resources.MediaBundle").msgclass MediaAudio = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.resources.MediaAudio").msgclass MediaVideo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.resources.MediaVideo").msgclass end end end end end