# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/google_ads/v0/common/frequency_cap.proto

require 'google/protobuf'

require 'google/ads/google_ads/v0/enums/frequency_cap_event_type_pb'
require 'google/ads/google_ads/v0/enums/frequency_cap_level_pb'
require 'google/ads/google_ads/v0/enums/frequency_cap_time_unit_pb'
require 'google/protobuf/wrappers_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_message "google.ads.googleads.v0.common.FrequencyCapEntry" do
    optional :key, :message, 1, "google.ads.googleads.v0.common.FrequencyCapKey"
    optional :cap, :message, 2, "google.protobuf.Int32Value"
  end
  add_message "google.ads.googleads.v0.common.FrequencyCapKey" do
    optional :level, :enum, 1, "google.ads.googleads.v0.enums.FrequencyCapLevelEnum.FrequencyCapLevel"
    optional :event_type, :enum, 3, "google.ads.googleads.v0.enums.FrequencyCapEventTypeEnum.FrequencyCapEventType"
    optional :time_unit, :enum, 2, "google.ads.googleads.v0.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit"
    optional :time_length, :message, 4, "google.protobuf.Int32Value"
  end
end

module Google
  module Ads
    module GoogleAds
      module V0
        module Common
          FrequencyCapEntry = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.common.FrequencyCapEntry").msgclass
          FrequencyCapKey = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.common.FrequencyCapKey").msgclass
        end
      end
    end
  end
end
